mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 12:37:46 +00:00
2.1 KiB
2.1 KiB
GetServerResourcesResponse
Example Usage
import { GetServerResourcesResponse } from "@lukehagar/plexjs/sdk/models/operations";
let value: GetServerResourcesResponse = {
contentType: "<value>",
statusCode: 568434,
rawResponse: new Response('{"message": "hello world"}', {
headers: { "Content-Type": "application/json" },
}),
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
contentType |
string | ✔️ | HTTP response content type for this operation |
statusCode |
number | ✔️ | HTTP response status code for this operation |
rawResponse |
Response | ✔️ | Raw HTTP response; suitable for custom response parsing |
plexDevices |
operations.PlexDevice[] | ➖ | List of Plex Devices. This includes Plex hosted servers and clients |