-
-
Notifications
You must be signed in to change notification settings - Fork 36
REST API Docs
Ringo Hoffmann edited this page Oct 24, 2021
·
8 revisions
When enabled by config, shinpuru exposes a RESTful HTTP API which exposes all functionalities which are also available to the web frontend.
All requests to the API needs to be authenticated and authorized. To authenticate your requests, you need to generate an API token in shinpurus web interface.
To authenticate your requests, you need to add an Authorization
header to your request with the token as Bearer
value.
> GET /api/me HTTP/2.0
> Host: shnp.de
> Authorization: bearer eyJhbGciOiJIUzI1...
> Accept: */*
The endpoints for the V1 API can be found in this document.
Alternatively, you can find here a more interactive representation of the REST API documentation.