Skip to content

Commit 1ae304d

Browse files
committed
content-repo: add authentication to GET requests
This is to make clients authenticate their media requests even though the spec doesn't require it yet.
1 parent dd6d219 commit 1ae304d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

data/api/client-server/content-repo.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,8 @@ paths:
286286
get:
287287
summary: Download content from the content repository.
288288
operationId: getContent
289+
security:
290+
- accessToken: []
289291
parameters:
290292
- in: path
291293
name: serverName
@@ -414,6 +416,8 @@ paths:
414416
the previous endpoint) but replace the target file name with the one
415417
provided by the caller.
416418
operationId: getContentOverrideName
419+
security:
420+
- accessToken: []
417421
parameters:
418422
- in: path
419423
name: serverName
@@ -550,6 +554,8 @@ paths:
550554
Download a thumbnail of content from the content repository.
551555
See the [Thumbnails](/client-server-api/#thumbnails) section for more information.
552556
operationId: getContentThumbnail
557+
security:
558+
- accessToken: []
553559
parameters:
554560
- in: path
555561
name: serverName

0 commit comments

Comments
 (0)