Watch Progress
Watch progress save/list/clear and history
Authorization
bearerAuth Pass an API token obtained from POST /api/v1/auth/login or POST /api/v1/api-tokens. Tokens have the prefix mlml_.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/api/v1/progress" \ -H "Content-Type: application/json" \ -d '{ "media_file_id": "string", "position_seconds": 0, "duration_seconds": 0 }'Authorization
bearerAuth Pass an API token obtained from POST /api/v1/auth/login or POST /api/v1/api-tokens. Tokens have the prefix mlml_.
In: header
Response Body
application/json
curl -X DELETE "https://example.com/api/v1/progress"{ "deleted": 0}Authorization
bearerAuth Pass an API token obtained from POST /api/v1/auth/login or POST /api/v1/api-tokens. Tokens have the prefix mlml_.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/v1/progress/batch-delete" \ -H "Content-Type: application/json" \ -d '{ "ids": [ "string" ] }'{ "deleted": 0}Authorization
bearerAuth Pass an API token obtained from POST /api/v1/auth/login or POST /api/v1/api-tokens. Tokens have the prefix mlml_.
In: header
Path Parameters
Response Body
application/json
curl -X GET "https://example.com/api/v1/progress/file/string"{ "id": "string", "media_file_id": "string", "episode_id": 0, "position_seconds": 0, "duration_seconds": 0, "completed": true, "updated_at": "string"}Authorization
bearerAuth Pass an API token obtained from POST /api/v1/auth/login or POST /api/v1/api-tokens. Tokens have the prefix mlml_.
In: header
Query Parameters
Cursor: last_watched_at of the last item from the previous page
date-timevalue <= 10040"all"Value in
- "all"
- "in_progress"
- "completed"
Case-insensitive LIKE match against anime title or title_zh
Response Body
application/json
curl -X GET "https://example.com/api/v1/progress/history"{ "items": [ { "id": "string", "media_file_id": "string", "episode_id": 0, "position_seconds": 0, "duration_seconds": 0, "completed": true, "updated_at": "string" } ], "next_before": "2019-08-24T14:15:22Z"}Authorization
bearerAuth Pass an API token obtained from POST /api/v1/auth/login or POST /api/v1/api-tokens. Tokens have the prefix mlml_.
In: header
Response Body
application/json
curl -X GET "https://example.com/api/v1/progress/recent"[ { "id": "string", "media_file_id": "string", "episode_id": 0, "position_seconds": 0, "duration_seconds": 0, "completed": true, "updated_at": "string" }]Authorization
bearerAuth Pass an API token obtained from POST /api/v1/auth/login or POST /api/v1/api-tokens. Tokens have the prefix mlml_.
In: header
Path Parameters
Response Body
application/json
curl -X DELETE "https://example.com/api/v1/progress/string"{ "deleted": 0}