This group is used by operations but is not declared in the specification’s tag list, so it has no description of its own.

1 operation
GET /version

Get version

No authentication GetVersion

Example request

cURL

curl -X GET "$PLAS_BASE_URL/version" \
  -H 'Accept: application/json'

JavaScript

const response = await fetch(`${process.env.PLAS_BASE_URL}/version`, {
  method: "GET",
  headers: {
    "Accept": "application/json",
  },
});
const data = await response.json();

Python

import os
import requests

response = requests.get(
    f"{os.environ['PLAS_BASE_URL']}/version",
    headers={
        "Accept": "application/json",
    },
)
data = response.json()
The host and token are environment variables: PLAS_BASE_URL the provider’s base URL.

Responses

200 Success GetVersionResponseBody
Generated from the schema

Example

{
  "version": "0.6.3"
}

Schema

GetVersionResponseBody

  • versionstringrequiredpattern ^\d+.\d+.\d+$

    This is recommended (by the vendor) version of the Open Library API, that is supported by the vendor.