mirror of
https://github.com/LukeHagar/plexcsharp.git
synced 2025-12-06 04:20:46 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.405.8
This commit is contained in:
@@ -804,6 +804,38 @@ actions:
|
||||
|
||||
var res = await sdk.Library.GetRecentlyAddedLibraryAsync(req);
|
||||
|
||||
// handle response
|
||||
- target: $["paths"]["/library/search"]["get"]
|
||||
update:
|
||||
x-codeSamples:
|
||||
- lang: csharp
|
||||
label: libraries
|
||||
source: |-
|
||||
using LukeHagar.PlexAPI.SDK;
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using System.Collections.Generic;
|
||||
using LukeHagar.PlexAPI.SDK.Models.Components;
|
||||
|
||||
var sdk = new PlexAPI(
|
||||
accessToken: "<YOUR_API_KEY_HERE>",
|
||||
clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
||||
clientName: "Plex for Roku",
|
||||
clientVersion: "2.4.1",
|
||||
platform: "Roku",
|
||||
deviceNickname: "Roku 3"
|
||||
);
|
||||
|
||||
GetSearchAllLibrariesRequest req = new GetSearchAllLibrariesRequest() {
|
||||
Query = "<value>",
|
||||
SearchTypes = new List<SearchTypes>() {
|
||||
LukeHagar.PlexAPI.SDK.Models.Requests.SearchTypes.People,
|
||||
},
|
||||
IncludeCollections = LukeHagar.PlexAPI.SDK.Models.Requests.QueryParamIncludeCollections.Enable,
|
||||
IncludeExternalMedia = LukeHagar.PlexAPI.SDK.Models.Requests.QueryParamIncludeExternalMedia.Enable,
|
||||
};
|
||||
|
||||
var res = await sdk.Library.GetSearchAllLibrariesAsync(req);
|
||||
|
||||
// handle response
|
||||
- target: $["paths"]["/library/sections"]["get"]
|
||||
update:
|
||||
|
||||
Reference in New Issue
Block a user