Server
Media
Butler
Plex
Library
- GETGet Hash Value
- GETGet Recently Added
- GETGet All Libraries
- GETGet library details
- DELDelete library section
- GETGet library items
- GETGet all media of library
- GETRefresh Metadata Of The Library
- GETSearch library
- GETGet Genres of library media
- GETGet Countries of library media
- GETGet Actors of library media
- GETSearch All Libraries
- GETGet Media Metadata
- GETGet Items Children
- GETGet Top Watched Content
- GETGet On Deck
Watchlist
Playlists
Authentication
Sessions
Server
Get Devices
Get Devices
GET
/
devices
using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components;
var sdk = new PlexAPI(accessToken: "<YOUR_API_KEY_HERE>");
var res = await sdk.Server.GetDevicesAsync();
// handle response
{
"MediaContainer": {
"size": 151,
"identifier": "com.plexapp.system.devices",
"Device": [
{
"id": 1,
"name": "iPhone",
"platform": "iOS",
"clientIdentifier": "<string>",
"createdAt": 1654131230
}
]
}
}
Authorizations
Plex Authentication Token
Response
200
application/json
Devices
Example:
151
Example:
"com.plexapp.system.devices"
using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components;
var sdk = new PlexAPI(accessToken: "<YOUR_API_KEY_HERE>");
var res = await sdk.Server.GetDevicesAsync();
// handle response
{
"MediaContainer": {
"size": 151,
"identifier": "com.plexapp.system.devices",
"Device": [
{
"id": 1,
"name": "iPhone",
"platform": "iOS",
"clientIdentifier": "<string>",
"createdAt": 1654131230
}
]
}
}