Skip to content

GregorSondermeier/books-n-films

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 

Repository files navigation

books-n-films documentation

ER diagram

ER diagram

REST API

Login

POST /api/auth/local

Payload:

{
  "identifier": "<email>",
  "password": "<password>"
}

Response:

{
  "jwt": "<jwt>",
  "user": "<User>"
}

For more Details see Strapi documentation.

Content

For detailed documentation about REST API possibilities see Strapi documentation.

There you will also find how to filter, populate and select fields, sort and paginate.

Note:
strapi-plugin-transformer is used to reduce the depth of API responses. There are no data and attributes fields in the REST API's responses.

Public APIs

/api/books
/api/book-seriess
/api/book-releases
/api/countries
/api/films
/api/film-seriess
/api/film-releases
/api/genres
/api/people
/api/ratings
/api/release-collections
/api/studios
/api/translation
/api/upload/files

Authenticated APIs

All the above, plus:

/api/my-books
/api/my-book-releases
/api/my-films
/api/my-film-releases
/api/my-positions