ApiTokenDto

A Coscine API token used for Bearer authentication against the Coscine Web API. Derived from the Coscine Web API OpenAPI description (ApiTokenDto).

EducationHigher EducationUniversityResearch DataOpen AccessGermany

Properties

Name Type Description
id string The unique identifier of the API token.
name string The name associated with the API token.
creationDate string The date when the API token was created.
expiryDate string The expiry date of the API token.
token stringnull The actual token value used for authentication.
owner object The owner of the API token (UserMinimalDto).
View JSON Schema on GitHub

JSON Schema

rwth-aachen-university-apitoken-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://coscine.rwth-aachen.de/schemas/apitoken.schema.json",
  "title": "ApiTokenDto",
  "description": "A Coscine API token used for Bearer authentication against the Coscine Web API. Derived from the Coscine Web API OpenAPI description (ApiTokenDto).",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "The unique identifier of the API token."
    },
    "name": {
      "type": "string",
      "description": "The name associated with the API token."
    },
    "creationDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date when the API token was created."
    },
    "expiryDate": {
      "type": "string",
      "format": "date-time",
      "description": "The expiry date of the API token."
    },
    "token": {
      "type": ["string", "null"],
      "description": "The actual token value used for authentication."
    },
    "owner": {
      "type": "object",
      "description": "The owner of the API token (UserMinimalDto)."
    }
  }
}