Skip to content

Other APIs

Moritz Horn edited this page Dec 19, 2023 · 10 revisions

Database search

GOKb search supports content type negotiation. So for example, the following

https://gokb.org/gokb/search/index?qbe=g%3Atitles&format=json

can be used to get a list of titles via JSON. Each search template defines particular access points (See the HTML source at this stage - an explain page for each template could be developed if time/demand allows). Pagination is via the same parameters controlling the HTML page - basically add format=json to the end of the URL.

List Namepaces

Target: https://gokb.org/gokb/api/namespaces?

Returns a JSON response containing a list of all identifier namespaces currently specified in GOKb in the form:

{
  "code":"success",
  "result":[
    {"value":"issn","category":"isxn"},
    {"value":"eissn","category":"isxn"},
    {"value":"zdb","category":""},
    ...
  ],
  "message":""
}

List Curatory Groups

Target: https://gokb.org/gokb/api/groups?

Returns a JSON response containing a list of all curatory groups currently specified in GOKb in the form:

{
  "code":"success",
  "result": [
    {
      "id":  1234,
      "name": "CGName",
      "editStatus": "Approved",
      "status": "Current",
      "uuid": "..."
    },
    ...
  ],
  "message":""
}

Opensearch APIs

For updated documentation of OS APIs, see Opensearch API