This API implements a backend for a web application
API documentation: http://127.0.0.1:8000/redoc/
This API implements serialization and deserialization of data in models such as:
- Category
- Genre
- Title
- Review
- Comment
- User
There are some examples of requests:
-
Model Title
- GET request: /api/v1/titles/
{ "count": 0, "next": "string", "previous": "string", "results": [ { "id": 0, "name": "string", "year": 0, "rating": 0, "description": "string", "genre": [ { "name": "string", "slug": "^-$" } ], "category": { "name": "string", "slug": "^-$" } } ] }
- GET request: /api/v1/titles/
-
JWT token
-
POST request: /api/v1/auth/token/
- Request samples
{ "username": "^w\\Z", "confirmation_code": "string" }
- Response samples
{ "token": "string" }
-
- Vladimir Rusakov
- Evgeny Kudryashov
- Evgeny Cherednichenko