aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/api
diff options
context:
space:
mode:
Diffstat (limited to 'support/doc/api')
-rw-r--r--support/doc/api/html/index.html8
-rw-r--r--support/doc/api/openapi.yaml6
2 files changed, 12 insertions, 2 deletions
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 @@
264 </div> 264 </div>
265 <div class="doc-examples"> 265 <div class="doc-examples">
266 <section> 266 <section>
267 <h5>API Endpoint</h5>
268 <!-- <div class="hljs"> --><pre><code>https://peertube.example.com/api/v1</code></pre>
269 <!-- </div> -->
270 <h5>Schemes:
271 <span>https</span>
272 </h5>
267 <h5>Version: 273 <h5>Version:
268 <span>0.0.15-alpha</span> 274 <span>1.0.0-alpha</span>
269 </h5> 275 </h5>
270 </section> 276 </section>
271 </div> 277 </div>
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 @@
1swagger: '2.0' 1swagger: '2.0'
2info: 2info:
3 title: PeerTube 3 title: PeerTube
4 version: 0.0.15-alpha 4 version: 1.0.0-alpha
5 description: Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular. 5 description: Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.
6host: peertube.example.com
7basePath: '/api/v1'
8schemes:
9 - https
6paths: 10paths:
7 '/accounts/{id}': 11 '/accounts/{id}':
8 get: 12 get: