Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add api base path in documentation

Chocobozzzea65a47623a5
diff --git a/support/doc/api/html/index.html b/support/doc/api/html/index.html
index 00cecb07a5..ae4020def7 100644
--- a/support/doc/api/html/index.html
+++ b/support/doc/api/html/index.html
@@ -264,8 +264,14 @@
</div>
<div class="doc-examples">
<section>
+ <h5>API Endpoint</h5>
+ <!-- <div class="hljs"> --><pre><code>https://peertube.example.com/api/v1</code></pre>
+ <!-- </div> -->
+ <h5>Schemes:
+ <span>https</span>
+ </h5>
<h5>Version:
- <span>0.0.15-alpha</span>
+ <span>1.0.0-alpha</span>
</h5>
</section>
</div>
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index bcb0c511e2..e8e5934202 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: