mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
25 lines
3.6 KiB
Markdown
25 lines
3.6 KiB
Markdown
# Services
|
|
|
|
## Example Usage
|
|
|
|
```typescript
|
|
import { GetTokenDetailsStatus, Services } from "@lukehagar/plexjs/sdk/models/operations";
|
|
|
|
let value: Services = {
|
|
identifier: "metadata-dev",
|
|
endpoint: "https://epg.provider.plex.tv",
|
|
token: "DjoMtqFAGRL1uVtCyF1dKIorTbShJeqv",
|
|
secret: "<value>",
|
|
status: GetTokenDetailsStatus.Online,
|
|
};
|
|
```
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description | Example |
|
|
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
|
|
| `identifier` | *string* | :heavy_check_mark: | N/A | metadata-dev |
|
|
| `endpoint` | *string* | :heavy_check_mark: | N/A | https://epg.provider.plex.tv |
|
|
| `token` | *string* | :heavy_check_mark: | N/A | DjoMtqFAGRL1uVtCyF1dKIorTbShJeqv |
|
|
| `secret` | *string* | :heavy_check_mark: | N/A | |
|
|
| `status` | [operations.GetTokenDetailsStatus](../../../sdk/models/operations/gettokendetailsstatus.md) | :heavy_check_mark: | N/A | online | |