X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fdoc%2Fapi%2Fquickstart.md;h=6777459698617359be5c9fcbc11416a1dfd73063;hb=0ae3ebb03edf8b6a6d74666f006d7373e393e40d;hp=00874a1c97a93f4762080be3412cbd28b2da036e;hpb=2a8c5d0af13f3ccb9a505e1fbc9d324b9d33ba1f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/support/doc/api/quickstart.md b/support/doc/api/quickstart.md index 00874a1c9..677745969 100644 --- a/support/doc/api/quickstart.md +++ b/support/doc/api/quickstart.md @@ -47,8 +47,18 @@ $ curl -H 'Authorization: Bearer 90286a0bdf0f7315d9d3fe8dabf9e1d2be9c97d0' https ``` -### List videos +## List videos ```bash $ curl https://peertube.example.com/api/v1/videos ``` + +## Libraries + +[Convenience libraries](https://framagit.org/framasoft/peertube/clients) are generated automatically from the [OpenAPI specification](https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/api/openapi.yaml) for the following languages: + +- [python](https://framagit.org/framasoft/peertube/clients/python) +- [go](https://framagit.org/framasoft/peertube/clients/go) +- [kotlin](https://framagit.org/framasoft/peertube/clients/kotlin) + +Other [languages supported by the OpenAPI generator](https://openapi-generator.tech/docs/generators/#client-generators) can be added to the generation, provided they make a common enough use case.