Commit Graph

86 Commits

Author SHA1 Message Date
JasonLandbridge
926db1fd1a feat: add new YAML schemas for media search results and related properties 2025-06-08 16:56:39 +02:00
JasonLandbridge
5b9a57a61b refactor: remove required fields from YAML schemas for improved clarity 2025-06-08 15:08:05 +02:00
JasonLandbridge
8c1ba403db split out media data 2025-06-08 12:08:45 +02:00
JasonLandbridge
687a36687b refactor: update includeGuids parameter and restructure MediaContainer properties in YAML files 2025-06-03 13:54:12 +02:00
JasonLandbridge
315ef8fd2f replaced guids with a ref 2025-06-03 13:54:12 +02:00
JasonLandbridge
7fbcc08ebc fix unit tests 2025-06-03 13:31:39 +02:00
JasonLandbridge
e45219378d refactor: update descriptions for identifiers in YAML files to clarify uniqueness across Plex servers 2025-06-03 13:05:15 +02:00
JasonLandbridge
f6a944deca moved to correct folder 2025-06-03 13:05:15 +02:00
JasonLandbridge
0b0cd0ad30 make the ratingkeys work with multiple at once 2025-06-03 13:05:15 +02:00
JasonLandbridge
5facd6ab55 correction 2025-04-30 22:41:01 +02:00
JasonLandbridge
ff31ecfdeb cleaned up Get media meta data 2025-04-30 22:33:55 +02:00
JasonLandbridge
79ffb56f4b added new test 2025-04-30 22:33:55 +02:00
JasonLandbridge
dd769b1287 cleaned up Get media meta data 2025-04-30 22:33:55 +02:00
Chance Zibolski
2a8acd985f Set x-speakeasy-unknown-values for non-boolean enums
Speakeasy generates "closed enums" by default, which doesn't work well
for forward compatibility, meaning that when Plex updates their API and
the response types include a new type of value, it can result in errors
when unmarshaling the response in one of the generated SDKs.

To resolve this, they support using "open enums" by specifying the
x-speakeasy-unknown-values on the schema for an enum.

For details see https://www.speakeasy.com/docs/customize/data-model/enums#open-vs-closed-enums

I've only does this for non-boolean enums, ie: enums where the values
aren't generally 0 or 1 for the purposes of true/false.

I also did this for non-model schemas (paths) too. This allows
users of the SDK to manually provide a value for an unsupported enum in
their request parameters. This is useful when the SDK hasn't been
updated to support a new value available for filtering for example.

Fixes https://github.com/LukeHagar/plex-api-spec/issues/95

Signed-off-by: Chance Zibolski <chance.zibolski@gmail.com>
2025-04-18 15:29:38 -07:00
JasonLandbridge
462b30f914 cleaned up Get All Libraries endpoint 2025-04-05 12:34:40 +02:00
Ben Jones
1a2eeccb56 feat: add endpoints for fetching and uploading posters/artwork 2025-04-02 21:26:32 +01:00
JasonLandbridge
3e91772f69 cleaned up Get Recently Added 2025-03-08 11:10:56 +01:00
JasonLandbridge
c675101918 removed non-existent endpoint 2025-03-08 11:10:56 +01:00
JasonLandbridge
457d3aa023 added test and fixes for get-library-all
corrected get-media-meta-data response
2025-02-09 09:59:57 +01:00
JasonLandbridge
18f1330458 fix lint issues 2025-02-06 23:43:04 +01:00
JasonLandbridge
1247092041 fix lint issues 2025-02-06 23:39:37 +01:00
JasonLandbridge
d627cff7bb added some unit tests 2025-02-06 23:30:53 +01:00
JasonLandbridge
b126cde00c corrected get-media-meta-data response 2025-02-06 22:48:23 +01:00
JasonLandbridge
8a2b5f8047 added library-actors 2025-02-06 13:45:41 +01:00
JasonLandbridge
401efaf340 made unit testing xml compatible 2025-02-05 12:53:53 +01:00
JasonLandbridge
aea7a4bf90 feat:
added https://plex.tv/api/users
2025-02-05 11:46:49 +01:00
JasonLandbridge
6de2df3732 added parameters 2025-02-04 11:55:04 +01:00
JasonLandbridge
f3234f47c5 added genres 2025-02-04 11:50:23 +01:00
JasonLandbridge
c8478ecdc0 added country endpoint by library endpoint 2025-02-04 10:54:25 +01:00
Jason Landbridge
790b5b887c Merge pull request #74 from FoxxMD/GH-72/originalTitle 2024-12-21 10:23:11 +01:00
JasonLandbridge
259ed39fe6 Revert "fix: remove duplicate imports that will lead to failed js builds"
This reverts commit 5756869660.
2024-12-19 21:54:08 +01:00
Matt Foxx
6a441e4fd4 Fix typo in originalTitle description
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-12-17 10:53:03 -05:00
FoxxMD
88d7bd8e1f fix: Add missing originalTitle to session response mediaContainer 2024-12-17 10:46:47 -05:00
JasonLandbridge
5756869660 fix: remove duplicate imports that will lead to failed js builds 2024-12-16 23:13:01 +01:00
Jason Landbridge
b0ac41c810 Update get-meta-data-by-rating-key.yaml
slight description corrections
2024-11-18 15:06:49 +01:00
Dylan Staley
865920d677 fix: add index and parentIndex 2024-11-17 16:58:45 -08:00
Dylan Staley
b78614f058 fix: Add descriptions 2024-11-17 13:39:07 -08:00
Dylan Staley
34cecb0679 fix: Add additional titles to item metadata 2024-11-17 11:12:00 -08:00
Dylan Staley
59cfacf9b9 fix: add support for albums and tracks 2024-11-16 13:28:18 -08:00
michael
8a7655fe5b fix: incorrect casing for timespan 2024-11-12 14:35:09 +00:00
JasonLandbridge
f518339058 minor fixes 2024-10-03 14:14:55 +02:00
JasonLandbridge
18374e4b11 added a new search all libraries endpoint with tests 2024-10-02 11:04:02 +02:00
Luke Hagar
1fd0400e3f reverted examples 2024-10-02 00:34:05 +00:00
Luke Hagar
873aeb8fe5 added retries, cleaned openapi illegal section, adjusted workflows, added lint override, testing full ref spec. 2024-10-01 21:42:45 +00:00
Luke Hagar
eadd8625bf cleaning, formatting, rules 2024-10-01 16:28:59 +00:00
JasonLandbridge
b37368b8b8 fixed missing plex id and missing feature options 2024-09-28 22:40:23 +02:00
JasonLandbridge
4a2450b25e removed the / from the url, this caused incorrect urls in the SDK's 2024-09-26 23:37:48 +02:00
Luke Hagar
15d6654a1c adding plex headers 2024-09-26 02:17:44 +00:00
Luke Hagar
c4a0e77284 populating headers for login 2024-09-25 17:02:31 +00:00
JasonLandbridge
c9049375ac build fixes 2024-09-25 09:34:51 +02:00