Closed johnhebron closed 5 months ago
Hey John!
Great catch!
With this new data found search should probably be broken out into its own endpoint, and the type should be a query parameter.
If you want to take a stab at it you can refer to the similar section/refresh endpoint.
Or I can take a crack at it later tonight.
Cheers 🎉
@LukeHagar I took a first stab and created pms/paths/library-content-search.yaml
.
I copied the query content from the pms/paths/library-content.yaml
file since it seems they use all the same filters, which are all optional.
I'm still learning the API, so i'm not 100% on this stuff, so please 👀 for me, if you can.
Thank you!
Playing around with
/library/sections/:sectionId
and in the returned Directory it shows the different type searches. I've updated the client to accept all four that I'm aware of.search?type=1
: Search only (type=1) movies.search?type=2
: Search only (type=2) shows.search?type=3
: Search only (type=3) seasons.search?type=4
: Search only (type=4) episodes.Response Directory: