How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

University of Gothenburg Searching API

Searching is the main way to get data from Karp. If a query string is given, an actual search will be done, otherwise allentries in the resource will be returned.- Use [`/query`](#tag/Searching/operation/query_query__resources__get) to be given all the matching entries- Use [`/query/stats`](#tag/Searching/operation/query_stats_query_stats__resources__get) to only be given the count of matches in each given resource### Query language#### Search stringsIn the examples below, `` can be either:- any characters except `"`, `|`, `(` or `)`- any characters, enclosed in double quotes, but any `"` inside the quotes must be escaped with `\`, for example: `equals|field|"A "good" example"`In addition to these rules, characters that are part of the URI syntax, such as `?` and `&` needs to be encoded. For example, the whole query can beencoded using Javascript's `encodeURIComponent`.#### Query operators- `contains||` Find all entries where the field contains . More premissive than equals.- `endswith||` Find all entries where the field ends with - `equals||` Find all entries where equals . Stricter than contains- `exists|` Find all entries that has the field .- `freetext|` Search in all fields for and similar values.- `gt||` Find all entries where is greater than .- `gte||` Find all entries where is greater than or equals .- `lt||` Find all entries where is less than .- `lte||` Find all entries where is less than or equals .- `missing|` Search for all entries that doesn't have the field .- `regexp||` Find all entries where the field matches the regex .- `startswith||` Find all entries where starts with .#### Logical OperatorsThe logical operators can be used both at top-level and lower-levels.- `not(||||...)` Find all entries that doesn't match the expression .- `and(||||...)` Find all entries that matches AND .- `or(||||...)` Find all entries that matches OR .#### Sub-queries - searching in collections of objectsUsed for fields with setting `collection: true` and that contain other fields (collection of objects). Boolean queriessuch as: `and(equals|my_field.x|1||equals|my_field.y|3)` will find entries where objects in `my_field` match `equals|x|1` or `equals|y|3`, or both. To find entries where an individual object in `my_field` matches a boolean query, wrap the query with the sub-query notation: `my_field(and(equals|x|1||equals|y|3))`.- `(expression)` Do `` on objects inside ``. `` must be a collection. #### Regular expressionsAlways matches complete tokens.#### Examples- `not(missing|pos)`- `and(freergxp|str.*ng||regexp|pos|str.*ng)`- `and(missing|pos||equals|wf||or|blomma|äpple`- `and(equals|wf|sitta||not||equals|wf|satt`

University of Gothenburg Searching API is one of 33 APIs that University of Gothenburg publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Searching. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, and 2 JSON Schemas.

This API exposes 3 operations across 3 paths, and defines 7 schemas. It is described by OpenAPI 3.2.0, at version 7.0.0.

Requests are made against a single base URL, /karp/v7.

3 operations 3 paths 7 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
7.0.0
Base URL
https://ws.spraakbanken.gu.se/ws/korp/v8
Authentication
API Key, HTTP Bearer
Resource Areas
1

Authentication & Security 2

University of Gothenburg Searching API declares 2 security schemes for authenticating requests. An API key is passed in the query as api_key (APIKeyQuery). It accepts HTTP bearer tokens (HTTPBearer).

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 GET. Each is listed below with its method, path, parameters, and response codes.

Searching 3

Searching is the main way to get data from Karp.

GET
/query/entries/{resource_id}/{entry_ids}
Get Entries By Id
Get_entries_by_id_query_entries__resource_id___entry_ids__get 3 params → 200422
GET
/query/stats/{resources}
Get statistics for search
query_stats_query_stats__resources__get 3 params → 200422
GET
/query/{resources}
Search
query_query__resources__get 9 params → 200422

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are EntryDto (8 properties), ValidationError (3 properties), QueryResponse (3 properties), EntriesByIdResponse (2 properties). Each schema is shown below with its type and property counts.

QueryStatsResponse
object
2 properties 2 required
EntryDto
object
8 properties 7 required
HTTPValidationError
object
1 property
QueryResponse
object
3 properties 3 required
HighlightParam
string
EntriesByIdResponse
object
2 properties 2 required
ValidationError
object
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

university-of-gothenburg-searching-api-openapi.yml Raw ↑

Other APIs University of Gothenburg publishes across the network.

GUPEA DSpace 8 REST API
Shibboleth Identity Provider — SAML 2.0 Metadata
Microsoft AD FS Identity Provider (SWAMID entity)
DataCite DOI Registration (client SND.SPRKB, via the Swedish National Data Service)
Crossref Membership (members 36737 and 51378)
Quality of Government (QoG) Open Data
Microsoft 365 / Entra ID Tenancy (medarbetarportalen.gu.se)
University of Gothenburg Analysis API
University of Gothenburg Cache management API
University of Gothenburg Cleanup API
University of Gothenburg Concordance API
University of Gothenburg Config API
Where this information came from

This is an independent, third-party profile of University of Gothenburg Searching API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.