diff options
author | Chocobozzz <me@florianbigard.com> | 2019-01-09 14:10:25 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-01-09 14:10:25 +0100 |
commit | 1fd12c7cfa636d046d9f77293ad1d958763f67da (patch) | |
tree | 0e566404243faf4023cbeb38cb45fb4d7d32ae77 /support/doc | |
parent | 8f6e554bd6a790ca31deed0a5d3ebd5a05071002 (diff) | |
download | PeerTube-1fd12c7cfa636d046d9f77293ad1d958763f67da.tar.gz PeerTube-1fd12c7cfa636d046d9f77293ad1d958763f67da.tar.zst PeerTube-1fd12c7cfa636d046d9f77293ad1d958763f67da.zip |
Fix video tags update/upload in openapi
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/api/openapi.yaml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index feab909dd..535dfdd4c 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -23,7 +23,7 @@ info: | |||
23 | 23 | ||
24 | # Authentication | 24 | # Authentication |
25 | When you sign up for an account, you are given the possibility to generate | 25 | When you sign up for an account, you are given the possibility to generate |
26 | sessions, and authenticate using this session token. One session token can | 26 | sessions, and authenticate using this session token. One session token can |
27 | currently be used at a time. | 27 | currently be used at a time. |
28 | 28 | ||
29 | # Errors | 29 | # Errors |
@@ -61,7 +61,7 @@ tags: | |||
61 | description: > | 61 | description: > |
62 | Managing servers which the instance interacts with is crucial to the | 62 | Managing servers which the instance interacts with is crucial to the |
63 | concept of federation in PeerTube and external video indexation. The PeerTube | 63 | concept of federation in PeerTube and external video indexation. The PeerTube |
64 | server then deals with inter-server ActivityPub operations and propagates | 64 | server then deals with inter-server ActivityPub operations and propagates |
65 | information across its social graph by posting activities to actors' inbox | 65 | information across its social graph by posting activities to actors' inbox |
66 | endpoints. | 66 | endpoints. |
67 | - name: Video Abuse | 67 | - name: Video Abuse |
@@ -843,7 +843,9 @@ paths: | |||
843 | type: string | 843 | type: string |
844 | tags: | 844 | tags: |
845 | description: Video tags | 845 | description: Video tags |
846 | type: string | 846 | type: array |
847 | items: | ||
848 | type: string | ||
847 | commentsEnabled: | 849 | commentsEnabled: |
848 | description: Enable or disable comments for this video | 850 | description: Enable or disable comments for this video |
849 | type: string | 851 | type: string |
@@ -1050,7 +1052,9 @@ paths: | |||
1050 | type: string | 1052 | type: string |
1051 | tags: | 1053 | tags: |
1052 | description: Video tags | 1054 | description: Video tags |
1053 | type: string | 1055 | type: array |
1056 | items: | ||
1057 | type: string | ||
1054 | commentsEnabled: | 1058 | commentsEnabled: |
1055 | description: Enable or disable comments for this video | 1059 | description: Enable or disable comments for this video |
1056 | type: string | 1060 | type: string |