Download OpenAPI specification:
MamutTV API. Errors are returned as application/problem+json.
The Turnstile token goes either in the X-Turnstile-Token header or in the cf-turnstile-response body field
| X-Turnstile-Token | string |
| CF-Connecting-IP | string |
| X-Forwarded-For | string |
| cf-turnstile-response | string |
| email required | string <email> |
| password required | string |
{- "cf-turnstile-response": "string",
- "email": "user@example.com",
- "password": "string"
}{- "accessToken": "9018c41a-c414-471c-8b50-f5169f6e6f64",
- "refreshToken": "9018c41a-c414-471c-8b50-f5169f6e6f64"
}The Turnstile token goes either in the X-Turnstile-Token header or in the cf-turnstile-response body field
| X-Turnstile-Token | string |
| CF-Connecting-IP | string |
| X-Forwarded-For | string |
| cf-turnstile-response | string |
| email required | string <email> |
| name required | string |
| password required | string |
{- "cf-turnstile-response": "string",
- "email": "user@example.com",
- "name": "string",
- "password": "string"
}{- "message": "Conta criada com sucesso. Enviamos um link de verificacao para o seu e-mail."
}{- "address": {
- "address1": "Rua Moura",
- "address2": "Ap. 601",
- "city": "São José",
- "number": "270",
- "state": "SC",
- "zipCode": "88117250"
}, - "createdAt": "2024-01-03T18:17:52.838Z",
- "document": {
- "type": "CPF",
- "value": "40652029060"
}, - "email": "john@doe.com",
- "freeTrial": {
- "endsAt": "2024-01-10T18:17:52.838Z",
- "status": "active"
}, - "id": 1,
- "mainProfileId": 1,
- "name": "John",
- "phone": "+5548991148203",
- "profiles": [
- {
- "avatar": "string",
- "createdAt": "2024-01-03T18:17:52.838Z",
- "id": 1,
- "isKids": false,
- "name": "John Doe",
- "parentalControl": false,
- "updatedAt": "2024-01-03T18:17:52.838Z",
- "userId": 1
}
], - "status": "ACTIVE",
- "updatedAt": "2024-01-03T18:17:52.838Z"
}| accessToken required | string non-empty |
| refreshToken required | string non-empty |
{- "accessToken": "string",
- "refreshToken": "string"
}{- "accessToken": "9018c41a-c414-471c-8b50-f5169f6e6f64",
- "refreshToken": "9018c41a-c414-471c-8b50-f5169f6e6f64"
}{- "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
- "deviceCode": "9018c41a-c414-471c-8b50-f5169f6e6f64",
- "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
- "status": "approved",
- "userCode": "12345678"
}| subscriptionId | integer <int64> >= 1 |
| userCode required | string non-empty |
{- "subscriptionId": 1,
- "userCode": "string"
}{- "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
- "deviceCode": "9018c41a-c414-471c-8b50-f5169f6e6f64",
- "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
- "status": "approved",
- "userCode": "12345678"
}| email required | string <email> |
| password required | string |
{- "email": "user@example.com",
- "password": "string"
}{- "accessToken": "9018c41a-c414-471c-8b50-f5169f6e6f64",
- "refreshToken": "9018c41a-c414-471c-8b50-f5169f6e6f64",
- "requiresSubscriptionSelection": false
}| credential required | string non-empty |
{- "credential": "string"
}{- "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
- "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
- "requiresSubscriptionSelection": false
}| uniqueCode required | string non-empty |
{- "uniqueCode": "string"
}{- "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
- "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9"
}| CF-Connecting-IP | string |
| X-Forwarded-For | string |
| token required | string non-empty |
{- "token": "string"
}{- "message": "E-mail alterado com sucesso."
}| email required | string <email> |
{- "email": "user@example.com"
}{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| CF-Connecting-IP | string |
| X-Forwarded-For | string |
| token required | string non-empty |
{- "token": "string"
}{- "message": "Solicitacao cancelada. Sua conta segue com o e-mail atual."
}| CF-Connecting-IP | string |
| X-Forwarded-For | string |
| newEmail required | string <email> |
| password required | string |
{- "newEmail": "new@doe.com",
- "password": "string"
}{- "message": "Enviamos um link de confirmacao para o novo e-mail."
}| password required | string <= 72 characters |
{- "password": "string"
}{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}Partial update: only non-empty fields are applied, and the address is only applied when zipCode is present.
object (CommandAddressStruct) | |
object (CommandDocumentStruct) | |
| mainProfileId | integer <int64> >= 0 |
| name | string |
| phone | string |
| status | string |
{- "address": {
- "address1": "Rua Moura",
- "address2": "Ap. 601",
- "city": "São José",
- "number": "270",
- "state": "SC",
- "zipCode": "88117250"
}, - "document": {
- "type": "CPF",
- "value": "40652029060"
}, - "mainProfileId": 1,
- "name": "John",
- "phone": "+5548991148203",
- "status": "ACTIVE"
}{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| CF-Connecting-IP | string |
| X-Forwarded-For | string |
| actualPassword required | string |
| confirmNewPassword required | string <= 72 characters |
| newPassword required | string <= 72 characters |
{- "actualPassword": "string",
- "confirmNewPassword": "string",
- "newPassword": "string"
}{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}Always answers 202, whether or not the email is registered.
| email required | string <email> |
{- "email": "user@example.com"
}{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| CF-Connecting-IP | string |
| X-Forwarded-For | string |
| code required | string non-empty |
| newPassword required | string <= 72 characters |
{- "code": "string",
- "newPassword": "string"
}{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| profileId required | integer <int64> >= 1 |
{- "profileId": 1
}{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| file required | string |
| isKids | boolean |
| layout | string |
| name required | string |
{- "file": "images/avatar-1.png",
- "isKids": false,
- "layout": "elegant",
- "name": "Test"
}{- "avatar": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "isKids": true,
- "layout": "string",
- "name": "string",
- "parentalControl": true,
- "updatedAt": "2019-08-24T14:15:22Z",
- "userId": 0
}{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| id required | integer <int64> >= 0 |
{- "avatar": "string",
- "createdAt": "string",
- "id": 0,
- "isKids": false,
- "layout": "string",
- "name": "string",
- "parentalControl": {
- "active": true,
- "password": "string"
}, - "updatedAt": "string",
- "userId": 0
}| id required | integer <int64> >= 0 |
| file | string |
| isKids | boolean |
| layout | string |
| name | string |
object (CommandParentalControlStruct) |
{- "file": "images/avatar-1.png",
- "isKids": false,
- "layout": "elegant",
- "name": "Test",
- "parentalControl": {
- "active": true,
- "actualPassword": "1234",
- "change": true,
- "confirmPassword": "new.password",
- "password": "new.password"
}
}{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}{- "sessions": [
- {
- "city": "string",
- "country": "string",
- "deviceInfo": "string",
- "deviceName": "string",
- "id": 0,
- "ip": "string",
- "isMobile": true,
- "lastAccess": "2019-08-24T14:15:22Z",
- "lastActivity": "string",
- "loc": "string",
- "org": "string",
- "region": "string",
- "timezone": "string"
}
]
}| sessionId required | integer <int64> >= 0 |
{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| Authorization | string |
| CF-Connecting-IP | string |
| X-Forwarded-For | string |
| city | string |
| country | string |
| deviceInfo | string |
| deviceModel | string |
| deviceUuid | string |
| ip | string |
| isMobile | boolean |
| loc | string |
| macAddress | string |
| org | string |
| region | string |
| timezone | string |
{- "city": "string",
- "country": "string",
- "deviceInfo": "string",
- "deviceModel": "string",
- "deviceUuid": "string",
- "ip": "string",
- "isMobile": true,
- "loc": "string",
- "macAddress": "string",
- "org": "string",
- "region": "string",
- "timezone": "string"
}{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| subscriptionId | integer <int64> >= 0 |
{- "subscriptionId": 0
}{- "subscriptionId": 0
}{- "licenses": [
- {
- "bound": true,
- "city": "string",
- "country": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "deviceId": "string",
- "deviceInfo": "string",
- "id": 0,
- "ip": "string",
- "isMobile": true,
- "lastAccess": "2019-08-24T14:15:22Z",
- "loc": "string",
- "org": "string",
- "region": "string",
- "subscriptionId": 0,
- "timezone": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}{- "licenses": [
- {
- "bound": true,
- "city": "string",
- "country": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "deviceId": "string",
- "deviceInfo": "string",
- "id": 0,
- "ip": "string",
- "isMobile": true,
- "lastAccess": "2019-08-24T14:15:22Z",
- "loc": "string",
- "org": "string",
- "region": "string",
- "subscriptionId": 0,
- "timezone": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}| licenseId required | integer <int64> >= 0 |
{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| invitedEmail required | string <email> |
{- "invitedEmail": "user@example.com"
}{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| token required | string |
{- "token": "string"
}{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| id required | integer <int64> >= 0 |
{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| id required | integer <int64> >= 0 |
{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| licenseId required | integer <int64> >= 0 |
{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}{- "slots": [
- {
- "deviceName": "string",
- "licenseId": 0,
- "memberName": "string",
- "occupant": "string",
- "pendingInvite": {
- "expiresAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "invitedEmail": "string",
- "resendCount": 0
}
}
], - "subscriptionId": 0,
- "totalSlots": 0
}| licenseId required | integer <int64> >= 0 |
| name required | string [ 1 .. 50 ] characters |
{- "name": "string"
}{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}The subscription stays active until the end of the current billing period.
| subscriptionId required | integer <int64> >= 1 |
{- "subscriptionId": 1
}{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| screens_quantity required | integer <int64> |
| stripe_plan_id required | string non-empty |
{- "screens_quantity": 0,
- "stripe_plan_id": "string"
}{- "checkoutSession": {
- "id": "string",
- "status": "string",
- "url": "string"
}
}| payment_method_id required | string non-empty |
{- "payment_method_id": "string"
}{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| payment_method_id required | string non-empty |
{- "payment_method_id": "string"
}{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| id required | string non-empty |
{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| stripe_id required | string non-empty |
| screens_quantity required | integer <int64> >= 1 |
{- "plan": {
- "description": "string",
- "discount_percentage_applied": 0,
- "name": "string",
- "price": 0,
- "price_without_discount": 0,
- "screens_quantity": 0,
- "stripe_id": "string",
- "stripe_price_id": "string",
- "total_with_discount": 0,
- "years": "string"
}
}[- {
- "cancelAtPeriodEnd": true,
- "canceledAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "paymentStatus": "string",
- "planDetails": {
- "description": "string",
- "name": "string",
- "price": 0,
- "stripe_id": "string",
- "stripe_price_id": "string",
- "years": "string"
}, - "planExpiresAt": "2019-08-24T14:15:22Z",
- "screensQuantity": 0,
- "status": "string",
- "stripeCheckoutSessionId": "string",
- "stripeCustomerId": "string",
- "stripePlanId": "string",
- "stripeSubscriptionId": "string",
- "totalPaid": 0,
- "updatedAt": "2019-08-24T14:15:22Z",
- "userId": 0
}
]The plan change is prorated and invoiced immediately.
| planId required | string non-empty |
| subscriptionId required | integer <int64> >= 1 |
{- "planId": "string",
- "subscriptionId": 1
}{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}[- {
- "backupPlaylistId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "name": "string",
- "pin": "string",
- "protected": true,
- "providerBlocked": true,
- "providerID": "string",
- "providerLabel": "string",
- "providerStatus": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "userId": 0
}
]| CF-Connecting-IP | string |
| X-Forwarded-For | string |
| name | string |
| pin | string |
| protected | boolean |
| providerID | string |
| url required | string <uri> non-empty |
{- "name": "Test",
- "pin": "string",
- "protected": true,
- "providerID": "string",
}{- "createdAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "name": "string",
- "pin": "string",
- "protected": true,
- "providerID": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string",
- "userId": 0
}{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| id required | integer <int64> >= 0 |
| name required | string |
| pin | string |
| protected | boolean |
| providerID | string |
| url required | string |
{- "name": "string",
- "pin": "string",
- "protected": true,
- "providerID": "string",
- "url": "string"
}{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| description | string |
| name | string |
| playlistId | string |
| profileId | integer <int64> >= 0 |
| type | string Enum: "default" "favorites" "import" |
{- "description": "string",
- "name": "string",
- "playlistId": "string",
- "profileId": 0,
- "type": "default"
}{- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "id": 0,
- "name": "string",
- "playlistId": "string",
- "profileId": 0,
- "type": "string"
}| profileId required | integer <int64> >= 1 |
{- "favoritesLists": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "id": 0,
- "name": "string",
- "playlist_id": "string",
- "profile_id": 0,
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "user_id": 0
}
]
}| favoritesListId required | integer <int64> >= 0 |
| profileId required | integer <int64> >= 1 |
{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| playlistId required | integer <int64> >= 1 |
| profileId required | integer <int64> >= 1 |
| title required | string |
{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| contentId | string |
| playlistId required | integer <int64> >= 0 |
| profileId required | integer <int64> >= 1 |
| title required | string |
{- "contentId": "string",
- "playlistId": 0,
- "profileId": 1,
- "title": "string"
}{- "contentId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "playlistId": 0,
- "title": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}| playlistId required | integer <int64> >= 0 |
| profileId required | integer <int64> >= 1 |
{- "favoriteChannels": [
- {
- "contentId": "string",
- "id": 0,
- "title": "string"
}
], - "playlistId": 0
}| playlistId required | integer <int64> >= 1 |
| favoritesListId required | integer <int64> >= 1 |
| title required | string |
| profileId required | integer <int64> >= 1 |
{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| contentId | string |
| favoritesListId | integer <int64> >= 0 |
| kind | string |
| playlistId required | integer <int64> >= 0 |
| profileId required | integer <int64> >= 1 |
| title required | string |
| tmdbId | string |
{- "contentId": "string",
- "favoritesListId": 0,
- "kind": "string",
- "playlistId": 0,
- "profileId": 1,
- "title": "string",
- "tmdbId": "string"
}{- "contentId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "favoritesListId": 0,
- "id": 0,
- "kind": "string",
- "playlistId": 0,
- "title": "string",
- "tmdbId": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}| playlistId required | integer <int64> >= 0 |
| favoritesListId required | integer <int64> >= 0 |
| profileId required | integer <int64> >= 1 |
{- "favoriteMovies": [
- {
- "contentId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "favoritesListId": 0,
- "id": 0,
- "playlistId": 0,
- "title": "string",
- "tmdbId": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "playlistId": 0
}| profileId required | integer <int64> >= 1 |
| playlistId | integer <int64> >= 0 |
[- {
- "contentId": "external-123",
- "id": 1,
- "kind": "tv_series",
- "playlistId": 1,
- "rating": 5,
- "title": "Breaking Bad",
- "tmdbId": "1396",
- "userId": 1
}
]| contentId required | string |
| kind | string |
| playlistId required | integer <int64> >= 0 |
| profileId required | integer <int64> >= 1 |
| rating required | integer <int64> [ 1 .. 10 ] |
| title required | string |
| tmdbId required | string |
{- "contentId": "string",
- "kind": "string",
- "playlistId": 0,
- "profileId": 1,
- "rating": 1,
- "title": "string",
- "tmdbId": "string"
}{- "contentId": "external-123",
- "id": 1,
- "kind": "tv_series",
- "playlistId": 1,
- "profileId": 1,
- "rating": 5,
- "title": "Breaking Bad",
- "tmdbId": "1396",
- "userId": 1
}| id required | integer <int64> >= 0 |
| profileId required | integer <int64> >= 1 |
{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| id required | integer <int64> >= 0 |
| contentId required | string |
| kind | string |
| playlistId required | integer <int64> >= 0 |
| profileId required | integer <int64> >= 1 |
| rating required | integer <int64> [ 1 .. 10 ] |
| title required | string |
| tmdbId required | string |
{- "contentId": "string",
- "kind": "string",
- "playlistId": 0,
- "profileId": 1,
- "rating": 1,
- "title": "string",
- "tmdbId": "string"
}{- "contentId": "external-123",
- "id": 1,
- "kind": "tv_series",
- "playlistId": 1,
- "rating": 5,
- "title": "Breaking Bad",
- "tmdbId": "1396",
- "userId": 1
}| id required | integer <int64> >= 1 |
| playlist_id | integer <int64> >= 1 |
{- "histories": [
- {
- "accessed_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "kind": "string",
- "media_id": "string",
- "playlist_id": 0,
- "profile_id": 0,
- "tmdb_id": 0,
- "user_id": 0
}
]
}Returns 201 on the first access to the media item and 200 when an existing entry is refreshed.
| kind required | string [ 1 .. 50 ] characters |
| media_id required | string non-empty |
| playlist_id required | integer <int64> >= 1 |
| profile_id required | integer <int64> >= 1 |
| tmdb_id required | integer <int64> >= 1 |
{- "kind": "string",
- "media_id": "string",
- "playlist_id": 1,
- "profile_id": 1,
- "tmdb_id": 1
}{- "accessed_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "kind": "string",
- "media_id": "string",
- "playlist_id": 0,
- "profile_id": 0,
- "tmdb_id": 0,
- "user_id": 0
}Returns 201 with a Location header when the entry is created and 200 when an existing entry is updated.
| elapsedTimeMs required | integer <int64> >= 1 |
| episode | integer <int64> >= 0 |
| fullyElapsed | boolean |
| mediaId required | string [ 1 .. 255 ] characters |
| profileId required | integer <int64> >= 1 |
| season | integer <int64> >= 0 |
| sourceId | string <= 255 characters |
| totalTimeMs required | integer <int64> >= 1 |
{- "elapsedTimeMs": 1,
- "episode": 0,
- "fullyElapsed": true,
- "mediaId": "string",
- "profileId": 1,
- "season": 0,
- "sourceId": "string",
- "totalTimeMs": 1
}{- "contentTitle": "string",
- "elapsedTimeMs": 0,
- "episode": 0,
- "fullyElapsed": true,
- "haveNextEpisode": true,
- "id": 0,
- "identityKey": "string",
- "kind": "string",
- "mediaId": "string",
- "profileId": 0,
- "season": 0,
- "sourceId": "string",
- "tmdbId": 0,
- "totalTimeMs": 0
}Deletes every episode entry of the title. identity_key is opaque to the client: the list endpoint returns it, this one takes it back.
| profile_id required | integer <int64> >= 0 |
| identity_key required | string non-empty |
{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}Without query params, returns the most recent entry per title. With media_id, returns every episode of that media. With watched=true, only fully watched entries.
| profile_id required | integer <int64> >= 0 |
| page | integer <int64> >= 1 Default: 1 |
| pageSize | integer <int64> [ 1 .. 100 ] Default: 10 |
| media_id | string |
| watched | boolean |
{- "items": [
- {
- "backdropPath": "string",
- "elapsedTimeMs": 0,
- "episode": 0,
- "fullyElapsed": true,
- "haveNextEpisode": true,
- "id": 0,
- "identityKey": "string",
- "kind": "string",
- "logoPath": "string",
- "mediaId": "string",
- "posterPath": "string",
- "releaseDate": "string",
- "season": 0,
- "sourceId": "string",
- "title": "string",
- "tmdbId": 0,
- "totalTimeMs": 0,
- "updatedAt": "2019-08-24T14:15:22Z",
- "voteAverage": 0.1
}
], - "page": 0,
- "pageSize": 0,
- "profileId": 0
}| profile_id required | integer <int64> >= 0 |
| id required | integer <int64> >= 0 |
{- "detail": "Property foo is required but is missing.",
- "errors": [
- {
- "location": "string",
- "message": "string",
- "value": null
}
], - "status": 400,
- "title": "Bad Request",
}| profile_id required | integer <int64> >= 0 |
| id required | integer <int64> >= 0 |
{- "contentTitle": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "elapsedTimeMs": 0,
- "episode": 0,
- "fullyElapsed": true,
- "haveNextEpisode": true,
- "id": 0,
- "identityKey": "string",
- "kind": "string",
- "mediaId": "string",
- "profileId": 0,
- "season": 0,
- "sourceId": "string",
- "tmdbId": 0,
- "totalTimeMs": 0,
- "updatedAt": "2019-08-24T14:15:22Z"
}