From 18c53ef9492fc7c304b77badce3a47df519db6e7 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 21 Apr 2023 15:03:36 +0200 Subject: Fix activitypub doc URL --- support/doc/api/openapi.yaml | 14 +++++++------- support/openapi/go/README.mustache | 2 +- support/openapi/python/README.mustache | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'support') 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: { "detail": "Video not found", - "docs": "https://docs.joinpeertube.org/api/rest-reference.html#operation/getVideo", + "docs": "https://docs.joinpeertube.org/api-rest-reference.html#operation/getVideo", "status": 404, "title": "Not Found", "type": "about:blank" @@ -63,10 +63,10 @@ info: { "detail": "Cannot get this video regarding follow constraints", - "docs": "https://docs.joinpeertube.org/api/rest-reference.html#operation/getVideo", + "docs": "https://docs.joinpeertube.org/api-rest-reference.html#operation/getVideo", "status": 403, "title": "Forbidden", - "type": "https://docs.joinpeertube.org/api/rest-reference.html#section/Errors/does_not_respect_follow_constraints" + "type": "https://docs.joinpeertube.org/api-rest-reference.html#section/Errors/does_not_respect_follow_constraints" } ``` @@ -84,7 +84,7 @@ info: { "detail": "Incorrect request parameters: id", - "docs": "https://docs.joinpeertube.org/api/rest-reference.html#operation/getVideo", + "docs": "https://docs.joinpeertube.org/api-rest-reference.html#operation/getVideo", "instance": "/api/v1/videos/9c9de5e8-0a1e-484a-b099-e80766180", "invalid-params": { "id": { @@ -149,7 +149,7 @@ info: In addition, all routes serving ActivityPub are CORS-enabled for all origins. externalDocs: - url: https://docs.joinpeertube.org/api/rest-reference.html + url: https://docs.joinpeertube.org/api-rest-reference.html tags: - name: Register description: | @@ -6000,7 +6000,7 @@ components: required: false schema: $ref: '#/components/schemas/VideoPlaylistTypeSet' - + securitySchemes: OAuth2: description: | @@ -6190,7 +6190,7 @@ components: - 2 - 3 description: 'The live latency mode (Default = `1`, High latency = `2`, Small Latency = `3`)' - + LiveVideoReplaySettings: type: object 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 @@ # Go API client for {{appName}} -This Python package is automatically generated from [PeerTube's REST API](https://docs.joinpeertube.org/api/rest-reference.html), +This Python package is automatically generated from [PeerTube's REST API](https://docs.joinpeertube.org/api-rest-reference.html), using the [OpenAPI Generator](https://openapi-generator.tech) project: - 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 @@ # Python API client for {{appName}} -This Python package is automatically generated from [PeerTube's REST API](https://docs.joinpeertube.org/api/rest-reference.html), +This Python package is automatically generated from [PeerTube's REST API](https://docs.joinpeertube.org/api-rest-reference.html), using the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: {{appVersion}} -- cgit v1.2.3