Add "Detect a PeerTube instance" doc

This commit is contained in:
Chocobozzz 2024-02-29 08:22:26 +01:00
parent b00180744c
commit 4af8f5a581
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,13 @@
# REST API quick start
## Detect a PeerTube instance
There are several ways to know if a website uses the PeerTube software:
* The server exposes NodeInfo information: https://peertube2.cpy.re/nodeinfo/2.0.json
* The server sends a `x-powered-by: PeerTube` header response to API requests
* HTML pages include a `<meta property="og:platform" content="PeerTube">` tag
## Authentication
### Get client