mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 12:37:46 +00:00
27 lines
2.0 KiB
Markdown
27 lines
2.0 KiB
Markdown
# ResponseBody
|
|
|
|
## Example Usage
|
|
|
|
```typescript
|
|
import { ResponseBody } from "@lukehagar/plexjs/sdk/models/operations";
|
|
|
|
let value: ResponseBody = {
|
|
identifier: "tv.plex.sonos",
|
|
baseURL: "https://sonos.plex.tv",
|
|
title: "Sonos",
|
|
linkURL: "https://sonos.plex.tv/link",
|
|
provides: "client,player",
|
|
token: "<value>",
|
|
};
|
|
```
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description | Example |
|
|
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
|
|
| `identifier` | *string* | :heavy_check_mark: | N/A | tv.plex.sonos |
|
|
| `baseURL` | *string* | :heavy_check_mark: | N/A | https://sonos.plex.tv |
|
|
| `title` | *string* | :heavy_check_mark: | N/A | Sonos |
|
|
| `linkURL` | *string* | :heavy_check_mark: | N/A | https://sonos.plex.tv/link |
|
|
| `provides` | *string* | :heavy_check_mark: | N/A | client,player |
|
|
| `token` | *string* | :heavy_check_mark: | The plex authtoken used to identify with | | |