aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rw-r--r--support/doc/api/openapi.yaml14
-rw-r--r--support/openapi/go/README.mustache2
-rw-r--r--support/openapi/python/README.mustache2
3 files changed, 9 insertions, 9 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index a36ae0c7e..0bf168044 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -46,7 +46,7 @@ info:
46 46
47 { 47 {
48 "detail": "Video not found", 48 "detail": "Video not found",
49 "docs": "https://docs.joinpeertube.org/api/rest-reference.html#operation/getVideo", 49 "docs": "https://docs.joinpeertube.org/api-rest-reference.html#operation/getVideo",
50 "status": 404, 50 "status": 404,
51 "title": "Not Found", 51 "title": "Not Found",
52 "type": "about:blank" 52 "type": "about:blank"
@@ -63,10 +63,10 @@ info:
63 63
64 { 64 {
65 "detail": "Cannot get this video regarding follow constraints", 65 "detail": "Cannot get this video regarding follow constraints",
66 "docs": "https://docs.joinpeertube.org/api/rest-reference.html#operation/getVideo", 66 "docs": "https://docs.joinpeertube.org/api-rest-reference.html#operation/getVideo",
67 "status": 403, 67 "status": 403,
68 "title": "Forbidden", 68 "title": "Forbidden",
69 "type": "https://docs.joinpeertube.org/api/rest-reference.html#section/Errors/does_not_respect_follow_constraints" 69 "type": "https://docs.joinpeertube.org/api-rest-reference.html#section/Errors/does_not_respect_follow_constraints"
70 } 70 }
71 ``` 71 ```
72 72
@@ -84,7 +84,7 @@ info:
84 84
85 { 85 {
86 "detail": "Incorrect request parameters: id", 86 "detail": "Incorrect request parameters: id",
87 "docs": "https://docs.joinpeertube.org/api/rest-reference.html#operation/getVideo", 87 "docs": "https://docs.joinpeertube.org/api-rest-reference.html#operation/getVideo",
88 "instance": "/api/v1/videos/9c9de5e8-0a1e-484a-b099-e80766180", 88 "instance": "/api/v1/videos/9c9de5e8-0a1e-484a-b099-e80766180",
89 "invalid-params": { 89 "invalid-params": {
90 "id": { 90 "id": {
@@ -149,7 +149,7 @@ info:
149 149
150 In addition, all routes serving ActivityPub are CORS-enabled for all origins. 150 In addition, all routes serving ActivityPub are CORS-enabled for all origins.
151externalDocs: 151externalDocs:
152 url: https://docs.joinpeertube.org/api/rest-reference.html 152 url: https://docs.joinpeertube.org/api-rest-reference.html
153tags: 153tags:
154 - name: Register 154 - name: Register
155 description: | 155 description: |
@@ -6000,7 +6000,7 @@ components:
6000 required: false 6000 required: false
6001 schema: 6001 schema:
6002 $ref: '#/components/schemas/VideoPlaylistTypeSet' 6002 $ref: '#/components/schemas/VideoPlaylistTypeSet'
6003 6003
6004 securitySchemes: 6004 securitySchemes:
6005 OAuth2: 6005 OAuth2:
6006 description: | 6006 description: |
@@ -6190,7 +6190,7 @@ components:
6190 - 2 6190 - 2
6191 - 3 6191 - 3
6192 description: 'The live latency mode (Default = `1`, High latency = `2`, Small Latency = `3`)' 6192 description: 'The live latency mode (Default = `1`, High latency = `2`, Small Latency = `3`)'
6193 6193
6194 LiveVideoReplaySettings: 6194 LiveVideoReplaySettings:
6195 type: object 6195 type: object
6196 properties: 6196 properties:
diff --git a/support/openapi/go/README.mustache b/support/openapi/go/README.mustache
index d58657b5b..d0fc0fa33 100644
--- a/support/openapi/go/README.mustache
+++ b/support/openapi/go/README.mustache
@@ -1,6 +1,6 @@
1# Go API client for {{appName}} 1# Go API client for {{appName}}
2 2
3This Python package is automatically generated from [PeerTube's REST API](https://docs.joinpeertube.org/api/rest-reference.html), 3This Python package is automatically generated from [PeerTube's REST API](https://docs.joinpeertube.org/api-rest-reference.html),
4using the [OpenAPI Generator](https://openapi-generator.tech) project: 4using the [OpenAPI Generator](https://openapi-generator.tech) project:
5 5
6- API version: {{appVersion}} 6- API version: {{appVersion}}
diff --git a/support/openapi/python/README.mustache b/support/openapi/python/README.mustache
index de41970e8..93dcd5ab6 100644
--- a/support/openapi/python/README.mustache
+++ b/support/openapi/python/README.mustache
@@ -1,6 +1,6 @@
1# Python API client for {{appName}} 1# Python API client for {{appName}}
2 2
3This Python package is automatically generated from [PeerTube's REST API](https://docs.joinpeertube.org/api/rest-reference.html), 3This Python package is automatically generated from [PeerTube's REST API](https://docs.joinpeertube.org/api-rest-reference.html),
4using the [OpenAPI Generator](https://openapi-generator.tech) project: 4using the [OpenAPI Generator](https://openapi-generator.tech) project:
5 5
6- API version: {{appVersion}} 6- API version: {{appVersion}}