diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-31 15:57:32 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-08-01 09:11:04 +0200 |
commit | bfbd912886eba17b4aa9a40dcef2fddc685d85bf (patch) | |
tree | 85e0f22980210a8ccd0888eb5e1790b152074677 /support/doc/api | |
parent | 85394ba22a07bde1dfccebf3f591a5d6dbe9df56 (diff) | |
download | PeerTube-bfbd912886eba17b4aa9a40dcef2fddc685d85bf.tar.gz PeerTube-bfbd912886eba17b4aa9a40dcef2fddc685d85bf.tar.zst PeerTube-bfbd912886eba17b4aa9a40dcef2fddc685d85bf.zip |
Fix broken playlist api
Diffstat (limited to 'support/doc/api')
-rw-r--r-- | support/doc/api/openapi.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index a6f61b3b2..39fa3cef5 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -1922,6 +1922,9 @@ components: | |||
1922 | type: number | 1922 | type: number |
1923 | stopTimestamp: | 1923 | stopTimestamp: |
1924 | type: number | 1924 | type: number |
1925 | video: | ||
1926 | nullable: true | ||
1927 | $ref: '#/components/schemas/Video' | ||
1925 | VideoFile: | 1928 | VideoFile: |
1926 | properties: | 1929 | properties: |
1927 | magnetUri: | 1930 | magnetUri: |
@@ -2029,9 +2032,6 @@ components: | |||
2029 | properties: | 2032 | properties: |
2030 | currentTime: | 2033 | currentTime: |
2031 | type: number | 2034 | type: number |
2032 | playlistElement: | ||
2033 | nullable: true | ||
2034 | $ref: '#/components/schemas/PlaylistElement' | ||
2035 | VideoDetails: | 2035 | VideoDetails: |
2036 | allOf: | 2036 | allOf: |
2037 | - $ref: '#/components/schemas/Video' | 2037 | - $ref: '#/components/schemas/Video' |