Skip to content

REST API Docs

Ringo Hoffmann edited this page Oct 24, 2021 · 8 revisions

REST API Docs

When enabled by config, shinpuru exposes a RESTful HTTP API which exposes all functionalities which are also available to the web frontend.

Authentication

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: */*

Endpoints

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.

Getting Started

Documentation

Self-Hosting

Clone this wiki locally