Fixed entity API database query.

This commit is contained in:
DebaucheryLibrarian
2020-10-18 00:01:34 +02:00
parent ca22aedaaa
commit 2536405dba
2 changed files with 7 additions and 4 deletions

View File

@@ -88,7 +88,7 @@ To generate thumbnails for new logos and tag photos, install ImageMagick and run
* `--level`: Change log level to `silly`, `verbose`, `info`, `warn` or `error`.
### API
A GraphQL API is available at `/graphql`, and a REST API is available at the following endpoints:
A GraphQL API is available at `/graphql`, and a REST API is available at the following `GET` endpoints:
* `/api/scenes`: Fetch the latest releases. Supports search with `query` or `q` parameter;
* `/api/scenes/{ID}`: Fetch scene by ID.