Skip to content

Commit

Permalink
content-repo: add authentication to GET requests
Browse files Browse the repository at this point in the history
This is to make clients authenticate their media requests even though
the spec doesn't require it yet.
  • Loading branch information
KitsuneRal committed Mar 21, 2024
1 parent dd6d219 commit 1ae304d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions data/api/client-server/content-repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ paths:
get:
summary: Download content from the content repository.
operationId: getContent
security:
- accessToken: []
parameters:
- in: path
name: serverName
Expand Down Expand Up @@ -414,6 +416,8 @@ paths:
the previous endpoint) but replace the target file name with the one
provided by the caller.
operationId: getContentOverrideName
security:
- accessToken: []
parameters:
- in: path
name: serverName
Expand Down Expand Up @@ -550,6 +554,8 @@ paths:
Download a thumbnail of content from the content repository.
See the [Thumbnails](/client-server-api/#thumbnails) section for more information.
operationId: getContentThumbnail
security:
- accessToken: []
parameters:
- in: path
name: serverName
Expand Down

0 comments on commit 1ae304d

Please sign in to comment.