mirror of
https://github.com/LukeHagar/plexcsharp.git
synced 2025-12-09 20:47:50 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.487.0
This commit is contained in:
@@ -434,14 +434,32 @@ actions:
|
||||
update:
|
||||
x-codeSamples:
|
||||
- lang: csharp
|
||||
label: key
|
||||
label: data
|
||||
source: |-
|
||||
using LukeHagar.PlexAPI.SDK;
|
||||
using LukeHagar.PlexAPI.SDK.Models.Components;
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
|
||||
var sdk = new PlexAPI(accessToken: "<YOUR_API_KEY_HERE>");
|
||||
|
||||
var res = await sdk.Library.GetMetaDataByRatingKeyAsync(ratingKey: 9518);
|
||||
GetMediaMetaDataRequest req = new GetMediaMetaDataRequest() {
|
||||
RatingKey = 9518,
|
||||
IncludeConcerts = true,
|
||||
IncludeExtras = true,
|
||||
IncludeOnDeck = true,
|
||||
IncludePopularLeaves = true,
|
||||
IncludePreferences = true,
|
||||
IncludeReviews = true,
|
||||
IncludeChapters = true,
|
||||
IncludeStations = true,
|
||||
IncludeExternalMedia = true,
|
||||
AsyncAugmentMetadata = true,
|
||||
AsyncCheckFiles = true,
|
||||
AsyncRefreshAnalysis = true,
|
||||
AsyncRefreshLocalMediaAgent = true,
|
||||
};
|
||||
|
||||
var res = await sdk.Library.GetMediaMetaDataAsync(req);
|
||||
|
||||
// handle response
|
||||
- target: $["paths"]["/library/metadata/{ratingKey}/banner"]["get"]
|
||||
@@ -648,6 +666,24 @@ actions:
|
||||
includeDetails: IncludeDetails.Zero
|
||||
);
|
||||
|
||||
// handle response
|
||||
- target: $["paths"]["/library/sections/{sectionKey}/actor"]["get"]
|
||||
update:
|
||||
x-codeSamples:
|
||||
- lang: csharp
|
||||
label: library
|
||||
source: |-
|
||||
using LukeHagar.PlexAPI.SDK;
|
||||
using LukeHagar.PlexAPI.SDK.Models.Components;
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
|
||||
var sdk = new PlexAPI(accessToken: "<YOUR_API_KEY_HERE>");
|
||||
|
||||
var res = await sdk.Library.GetActorsLibraryAsync(
|
||||
sectionKey: 9518,
|
||||
type: GetActorsLibraryQueryParamType.TvShow
|
||||
);
|
||||
|
||||
// handle response
|
||||
- target: $["paths"]["/library/sections/{sectionKey}/country"]["get"]
|
||||
update:
|
||||
@@ -657,10 +693,14 @@ actions:
|
||||
source: |-
|
||||
using LukeHagar.PlexAPI.SDK;
|
||||
using LukeHagar.PlexAPI.SDK.Models.Components;
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
|
||||
var sdk = new PlexAPI(accessToken: "<YOUR_API_KEY_HERE>");
|
||||
|
||||
var res = await sdk.Library.GetCountriesLibraryAsync(sectionKey: 9518);
|
||||
var res = await sdk.Library.GetCountriesLibraryAsync(
|
||||
sectionKey: 9518,
|
||||
type: GetCountriesLibraryQueryParamType.TvShow
|
||||
);
|
||||
|
||||
// handle response
|
||||
- target: $["paths"]["/library/sections/{sectionKey}/genre"]["get"]
|
||||
@@ -671,10 +711,14 @@ actions:
|
||||
source: |-
|
||||
using LukeHagar.PlexAPI.SDK;
|
||||
using LukeHagar.PlexAPI.SDK.Models.Components;
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
|
||||
var sdk = new PlexAPI(accessToken: "<YOUR_API_KEY_HERE>");
|
||||
|
||||
var res = await sdk.Library.GetGenresLibraryAsync(sectionKey: 9518);
|
||||
var res = await sdk.Library.GetGenresLibraryAsync(
|
||||
sectionKey: 9518,
|
||||
type: GetGenresLibraryQueryParamType.TvShow
|
||||
);
|
||||
|
||||
// handle response
|
||||
- target: $["paths"]["/library/sections/{sectionKey}/refresh"]["get"]
|
||||
|
||||
Reference in New Issue
Block a user