ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.405.8

This commit is contained in:
speakeasybot
2024-10-02 11:11:07 +00:00
parent a183f389bc
commit 92be5b3a91
128 changed files with 2727 additions and 1529 deletions

View File

@@ -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: