mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-07 12:37:45 +00:00
50 lines
2.3 KiB
Markdown
50 lines
2.3 KiB
Markdown
# GetUsersResponseBody
|
|
|
|
Successful response with media container data in XML
|
|
|
|
## Example Usage
|
|
|
|
```typescript
|
|
import { GetUsersResponseBody } from "@lukehagar/plexjs/sdk/models/operations";
|
|
|
|
let value: GetUsersResponseBody = {
|
|
mediaContainer: {
|
|
friendlyName: "myPlex",
|
|
identifier: "com.plexapp.plugins.myplex",
|
|
machineIdentifier: "3dff4c4da3b1229a649aa574a9e2b419a684a20e",
|
|
totalSize: 30,
|
|
size: 30,
|
|
user: [
|
|
{
|
|
id: 22526914,
|
|
title: "Plex User",
|
|
username: "zgfuc7krcqfimrmb9lsl5j",
|
|
email: "zgfuc7krcqfimrmb9lsl5j@protonmail.com",
|
|
recommendationsPlaylistId: "",
|
|
thumb: "https://plex.tv/users/3346028014e93acd/avatar?c=1731605021",
|
|
filterAll: "",
|
|
filterMovies: "",
|
|
filterMusic: "",
|
|
filterPhotos: "",
|
|
filterTelevision: "",
|
|
server: [
|
|
{
|
|
id: 907759180,
|
|
serverId: 9999999,
|
|
machineIdentifier: "fbb8aa6be6e0c997c6268bc2b4431c8807f70a3",
|
|
name: "ConnectedUserFlix",
|
|
lastSeenAt: 1556281940,
|
|
numLibraries: 16,
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
};
|
|
```
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
|
|
| `mediaContainer` | [operations.GetUsersMediaContainer](../../../sdk/models/operations/getusersmediacontainer.md) | :heavy_minus_sign: | Container holding user and server details. | |