API specifications

Upload specification

Upload a specification to the registry.

put/v1/specs

Request

  • Base URL
    https://api.entur.io/api-spec-registry
  • Auth
    HTTP bearer

Query parameters

dryRunboolean

If true, the specification will not be stored, but all the validation logic will be performed.

Request body multipart/form-data

specunknown

Example request

{
  "metadata": {
    "repository": "api-spec-registry"
  }
}

Response

Uploaded specification contained changes from the current version

Changes

No recorded changes to this operation across all 1 revision of this API.