Add api base path in documentation
This commit is contained in:
parent
28e014c096
commit
ea65a47623
|
@ -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>
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue