Activities
Get Server Activities
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
Activities
Get Server Activities
Get Server Activities
GET
/
activities
using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components;
var sdk = new PlexAPI(accessToken: "<YOUR_API_KEY_HERE>");
var res = await sdk.Activities.GetServerActivitiesAsync();
// handle response
{
"MediaContainer": {
"size": 123,
"Activity": [
{
"uuid": "<string>",
"type": "<string>",
"cancellable": true,
"userID": 123,
"title": "<string>",
"subtitle": "<string>",
"progress": 123,
"Context": {
"librarySectionID": "<string>"
}
}
]
}
}
Authorizations
Plex Authentication Token
Response
200
application/json
The Server Activities
using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components;
var sdk = new PlexAPI(accessToken: "<YOUR_API_KEY_HERE>");
var res = await sdk.Activities.GetServerActivitiesAsync();
// handle response
{
"MediaContainer": {
"size": 123,
"Activity": [
{
"uuid": "<string>",
"type": "<string>",
"cancellable": true,
"userID": 123,
"title": "<string>",
"subtitle": "<string>",
"progress": 123,
"Context": {
"librarySectionID": "<string>"
}
}
]
}
}