mirror of
https://github.com/home-assistant/core.git
synced 2025-12-25 13:38:04 +00:00
* Add service to get requests * Add service to get requests * Add service to get requests * fix * Add tests
177 lines
5.2 KiB
JSON
177 lines
5.2 KiB
JSON
{
|
|
"pageInfo": {
|
|
"pages": 2,
|
|
"pageSize": 10,
|
|
"results": 14,
|
|
"page": 1
|
|
},
|
|
"results": [
|
|
{
|
|
"id": 16,
|
|
"status": 2,
|
|
"createdAt": "2024-12-29T10:04:16.000Z",
|
|
"updatedAt": "2024-12-29T10:04:16.000Z",
|
|
"type": "movie",
|
|
"is4k": false,
|
|
"serverId": 0,
|
|
"profileId": 7,
|
|
"rootFolder": "/media/movies",
|
|
"languageProfileId": null,
|
|
"tags": [],
|
|
"isAutoRequest": false,
|
|
"media": {
|
|
"downloadStatus": [],
|
|
"downloadStatus4k": [],
|
|
"id": 537,
|
|
"mediaType": "movie",
|
|
"tmdbId": 1156593,
|
|
"tvdbId": null,
|
|
"imdbId": null,
|
|
"status": 3,
|
|
"status4k": 1,
|
|
"createdAt": "2024-12-29T10:04:16.000Z",
|
|
"updatedAt": "2024-12-29T10:04:17.000Z",
|
|
"lastSeasonChange": "2024-12-29T10:04:16.000Z",
|
|
"mediaAddedAt": null,
|
|
"serviceId": 0,
|
|
"serviceId4k": null,
|
|
"externalServiceId": 423,
|
|
"externalServiceId4k": null,
|
|
"externalServiceSlug": "1156593",
|
|
"externalServiceSlug4k": null,
|
|
"ratingKey": null,
|
|
"ratingKey4k": null,
|
|
"serviceUrl": "http://192.168.0.1:7878/movie/1156593"
|
|
},
|
|
"seasons": [],
|
|
"modifiedBy": {
|
|
"permissions": 2,
|
|
"id": 1,
|
|
"email": "one@email.com",
|
|
"plexUsername": "somebody",
|
|
"username": null,
|
|
"recoveryLinkExpirationDate": null,
|
|
"userType": 1,
|
|
"plexId": 321321321,
|
|
"avatar": "https://plex.tv/users/aaaaa/avatar?c=aaaaa",
|
|
"movieQuotaLimit": null,
|
|
"movieQuotaDays": null,
|
|
"tvQuotaLimit": null,
|
|
"tvQuotaDays": null,
|
|
"createdAt": "2024-12-16T21:13:58.000Z",
|
|
"updatedAt": "2024-12-16T23:59:03.000Z",
|
|
"requestCount": 11,
|
|
"displayName": "somebody"
|
|
},
|
|
"requestedBy": {
|
|
"permissions": 2,
|
|
"id": 1,
|
|
"email": "one@email.com",
|
|
"plexUsername": "somebody",
|
|
"username": null,
|
|
"recoveryLinkExpirationDate": null,
|
|
"userType": 1,
|
|
"plexId": 321321321,
|
|
"avatar": "https://plex.tv/users/aaaaa/avatar?c=aaaaa",
|
|
"movieQuotaLimit": null,
|
|
"movieQuotaDays": null,
|
|
"tvQuotaLimit": null,
|
|
"tvQuotaDays": null,
|
|
"createdAt": "2024-12-16T21:13:58.000Z",
|
|
"updatedAt": "2024-12-16T23:59:03.000Z",
|
|
"requestCount": 11,
|
|
"displayName": "somebody"
|
|
},
|
|
"seasonCount": 0
|
|
},
|
|
{
|
|
"id": 14,
|
|
"status": 2,
|
|
"createdAt": "2024-12-26T14:37:30.000Z",
|
|
"updatedAt": "2024-12-26T14:37:30.000Z",
|
|
"type": "tv",
|
|
"is4k": false,
|
|
"serverId": 0,
|
|
"profileId": 7,
|
|
"rootFolder": "/media/tv",
|
|
"languageProfileId": 1,
|
|
"tags": [],
|
|
"isAutoRequest": false,
|
|
"media": {
|
|
"downloadStatus": [],
|
|
"downloadStatus4k": [],
|
|
"id": 535,
|
|
"mediaType": "tv",
|
|
"tmdbId": 249522,
|
|
"tvdbId": 447806,
|
|
"imdbId": null,
|
|
"status": 4,
|
|
"status4k": 1,
|
|
"createdAt": "2024-12-26T14:37:30.000Z",
|
|
"updatedAt": "2024-12-26T14:45:00.000Z",
|
|
"lastSeasonChange": "2024-12-26T14:37:30.000Z",
|
|
"mediaAddedAt": "2024-12-26T14:39:56.000Z",
|
|
"serviceId": 0,
|
|
"serviceId4k": null,
|
|
"externalServiceId": 144,
|
|
"externalServiceId4k": null,
|
|
"externalServiceSlug": "beast-games",
|
|
"externalServiceSlug4k": null,
|
|
"ratingKey": "10189",
|
|
"ratingKey4k": null,
|
|
"plexUrl": "https://app.plex.tv/desktop#!/server/aaaa/details?key=%2Flibrary%2Fmetadata%2F10189",
|
|
"iOSPlexUrl": "plex://preplay/?metadataKey=%2Flibrary%2Fmetadata%2F10189&server=aaaa",
|
|
"serviceUrl": "http://192.168.0.2:8989/series/beast-games"
|
|
},
|
|
"seasons": [
|
|
{
|
|
"id": 4,
|
|
"seasonNumber": 1,
|
|
"status": 2,
|
|
"createdAt": "2024-12-26T14:37:30.000Z",
|
|
"updatedAt": "2024-12-26T14:37:30.000Z"
|
|
}
|
|
],
|
|
"modifiedBy": {
|
|
"permissions": 2,
|
|
"id": 1,
|
|
"email": "one@email.com",
|
|
"plexUsername": "somebody",
|
|
"username": null,
|
|
"recoveryLinkExpirationDate": null,
|
|
"userType": 1,
|
|
"plexId": 321321321,
|
|
"avatar": "https://plex.tv/users/aaaaa/avatar?c=aaaaa",
|
|
"movieQuotaLimit": null,
|
|
"movieQuotaDays": null,
|
|
"tvQuotaLimit": null,
|
|
"tvQuotaDays": null,
|
|
"createdAt": "2024-12-16T21:13:58.000Z",
|
|
"updatedAt": "2024-12-16T23:59:03.000Z",
|
|
"requestCount": 11,
|
|
"displayName": "somebody"
|
|
},
|
|
"requestedBy": {
|
|
"permissions": 2,
|
|
"id": 1,
|
|
"email": "one@email.com",
|
|
"plexUsername": "somebody",
|
|
"username": null,
|
|
"recoveryLinkExpirationDate": null,
|
|
"userType": 1,
|
|
"plexId": 321321321,
|
|
"avatar": "https://plex.tv/users/aaaaa/avatar?c=aaaaa",
|
|
"movieQuotaLimit": null,
|
|
"movieQuotaDays": null,
|
|
"tvQuotaLimit": null,
|
|
"tvQuotaDays": null,
|
|
"createdAt": "2024-12-16T21:13:58.000Z",
|
|
"updatedAt": "2024-12-16T23:59:03.000Z",
|
|
"requestCount": 11,
|
|
"displayName": "somebody"
|
|
},
|
|
"seasonCount": 1
|
|
}
|
|
]
|
|
}
|