Skip to content

Commit

Permalink
add stubs of dts endpoints to OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
ingoboerner committed Apr 5, 2024
1 parent aaa719a commit 2211123
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ paths:
get:
summary: Collections
description: >-
Collections endpoint: Lists the collections available. Documentation see https://distributed-text-services.github.io/specifications/Collections-Endpoint.html.
Collections endpoint: Lists the collections available. Documentation see https://distributed-text-services.github.io/specifications/versions/1-alpha/#collection-endpoint.
operationId: get-dts-collections
tags: [DTS]
responses:
Expand All @@ -1022,6 +1022,36 @@ paths:
schema:
type: object

/dts/navigation:
get:
summary: Navigation
description: >-
Navigation endpoint: Documentation see https://distributed-text-services.github.io/specifications/versions/1-alpha/#navigation-endpoint.
operationId: get-dts-navigation
tags: [DTS]
responses:
'200':
description: Navigation.
content:
application/ld+json:
schema:
type: object

/dts/documents:
get:
summary: Documents
description: >-
Documents endpoint: Documentation see https://distributed-text-services.github.io/specifications/versions/1-alpha/#document-endpoint.
operationId: get-dts-navigation
tags: [DTS]
responses:
'200':
description: Documents.
content:
application/ld+json:
schema:
type: object

/wikidata/author/{id}:
get:
summary: List author information from Wikidata
Expand Down

0 comments on commit 2211123

Please sign in to comment.