Skip to content

Commit

Permalink
OpenAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
reinkrul committed Dec 11, 2023
1 parent 08ce1aa commit 1c64059
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/_static/discovery/v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,32 +18,32 @@ paths:
get:
summary: Retrieves the presentations of a discovery service.
description: |
An API provided by the discovery server to retrieve the presentations of a discovery service, starting at the given timestamp.
The client should provide the timestamp it was returned in the last response.
If no timestamp is given, it will return all presentations.
An API provided by the discovery server to retrieve the presentations of a discovery service, starting at the given tag.
The client should provide the tag it was returned in the last response.
If no tag is given, it will return all presentations.
error returns:
* 404 - unknown service ID
operationId: getPresentations
tags:
- discovery
parameters:
- name: timestamp
- name: tag
in: query
schema:
type: string
responses:
"200":
description: Presentations are returned, alongside the timestamp which should be provided at the next query.
description: Presentations are returned, alongside the tag which should be provided at the next query.
content:
application/json:
schema:
type: object
required:
- timestamp
- tag
- entries
properties:
timestamp:
tag:
type: string
entries:
type: array
Expand Down

0 comments on commit 1c64059

Please sign in to comment.