From ea65a47623a545ed8023347d752cdd5fe5700e5d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 7 Mar 2018 13:13:40 +0100 Subject: Add api base path in documentation --- support/doc/api/html/index.html | 8 +++++++- support/doc/api/openapi.yaml | 6 +++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'support/doc/api') diff --git a/support/doc/api/html/index.html b/support/doc/api/html/index.html index 00cecb07a..ae4020def 100644 --- a/support/doc/api/html/index.html +++ b/support/doc/api/html/index.html @@ -264,8 +264,14 @@
+
API Endpoint
+
https://peertube.example.com/api/v1
+ +
Schemes: + https +
Version: - 0.0.15-alpha + 1.0.0-alpha
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index bcb0c511e..e8e593420 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml @@ -1,8 +1,12 @@ swagger: '2.0' info: title: PeerTube - version: 0.0.15-alpha + version: 1.0.0-alpha description: Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular. +host: peertube.example.com +basePath: '/api/v1' +schemes: + - https paths: '/accounts/{id}': get: -- cgit v1.2.3