mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
Normalized imports, regenerated
This commit is contained in:
49
docs/sdk/models/operations/getplaylistresponse.md
Normal file
49
docs/sdk/models/operations/getplaylistresponse.md
Normal file
@@ -0,0 +1,49 @@
|
||||
# GetPlaylistResponse
|
||||
|
||||
## Example Usage
|
||||
|
||||
```typescript
|
||||
import { GetPlaylistResponse } from "@lukehagar/plexjs/sdk/models/operations";
|
||||
|
||||
let value: GetPlaylistResponse = {
|
||||
contentType: "<value>",
|
||||
statusCode: 110375,
|
||||
rawResponse: new Response('{"message": "hello world"}', {
|
||||
headers: { "Content-Type": "application/json" },
|
||||
}),
|
||||
object: {
|
||||
mediaContainer: {
|
||||
size: 1,
|
||||
metadata: [
|
||||
{
|
||||
content:
|
||||
"library://x/directory/%2Flibrary%2Fsections%2F1%2Fall%3Ftype%3D1%26push%3D1%26title%3D2%26or%3D1%26title%3DSerenity%26pop%3D1",
|
||||
ratingKey: "95",
|
||||
key: "/playlists/95/items",
|
||||
guid: "com.plexapp.agents.none://87425529-380f-44b8-a689-9a0537e7ec91",
|
||||
type: "playlist",
|
||||
title: "Smart Movie Playlist",
|
||||
summary: "",
|
||||
smart: true,
|
||||
playlistType: "video",
|
||||
composite: "/playlists/95/composite/1705717387",
|
||||
icon: "playlist://image.smart",
|
||||
duration: 282000,
|
||||
leafCount: 2,
|
||||
addedAt: 1705716493,
|
||||
updatedAt: 1705717387,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
};
|
||||
```
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description |
|
||||
| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
|
||||
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
|
||||
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
|
||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
|
||||
| `object` | [operations.GetPlaylistResponseBody](../../../sdk/models/operations/getplaylistresponsebody.md) | :heavy_minus_sign: | The playlist |
|
||||
Reference in New Issue
Block a user