diff --git a/src/paths/authentication/resources.yaml b/src/paths/authentication/resources.yaml index 809f2bca..438e181f 100644 --- a/src/paths/authentication/resources.yaml +++ b/src/paths/authentication/resources.yaml @@ -16,7 +16,6 @@ get: - server://client-identifier - provider://provider-identifier required: true - responses: "200": description: Source Connection Information diff --git a/src/paths/authentication/token.yaml b/src/paths/authentication/token.yaml index 51f305a2..0898abe3 100644 --- a/src/paths/authentication/token.yaml +++ b/src/paths/authentication/token.yaml @@ -1,7 +1,7 @@ get: tags: - Authentication - summary: Get a Transient Token. + summary: Get a Transient Token description: | This endpoint provides the caller with a temporary token with the same access level as the caller's token. These tokens are valid for up to 48 hours and are destroyed if the server instance is restarted. operationId: getTransientToken diff --git a/src/paths/library/get-recently-added.yaml b/src/paths/library/get-recently-added.yaml index f53d2ced..5e08669e 100644 --- a/src/paths/library/get-recently-added.yaml +++ b/src/paths/library/get-recently-added.yaml @@ -6,7 +6,6 @@ get: This endpoint will return the recently added content. operationId: getRecentlyAdded parameters: - - $ref: "../../parameters/accept-application-json.yaml" - $ref: "../../parameters/container-start.yaml" - $ref: "../../parameters/container-size.yaml" responses: diff --git a/src/paths/pins/pins-id.yaml b/src/paths/pins/pins-id.yaml index b366d7c2..66055373 100644 --- a/src/paths/pins/pins-id.yaml +++ b/src/paths/pins/pins-id.yaml @@ -23,7 +23,7 @@ get: schema: $ref: ../../models/AuthPinContainer.yaml "400": - $ref: ../../responses/400-MissingIdentifier.yaml + $ref: ../../responses/400.yaml "404": description: Not Found or Expired content: diff --git a/src/paths/pins/pins.yaml b/src/paths/pins/pins.yaml index 126251d6..1209bcb6 100644 --- a/src/paths/pins/pins.yaml +++ b/src/paths/pins/pins.yaml @@ -28,4 +28,4 @@ post: schema: $ref: ../../models/AuthPinContainer.yaml "400": - $ref: ../../responses/400-MissingIdentifier.yaml + $ref: ../../responses/400.yaml diff --git a/src/paths/resources/get-server-resources.yaml b/src/paths/resources/get-server-resources.yaml index 529946b5..8bafefda 100644 --- a/src/paths/resources/get-server-resources.yaml +++ b/src/paths/resources/get-server-resources.yaml @@ -8,7 +8,6 @@ get: operationId: get-server-resources parameters: - $ref: "../../parameters/plex/x-plex-identifier.yaml" - - $ref: "../../parameters/plex/x-plex-token.yaml" - name: includeHttps in: query description: Include Https entries in the results @@ -26,7 +25,6 @@ get: description: Include IPv6 entries in the results schema: $ref: "../../models/common/PlexBoolean.yaml" - - $ref: "../../parameters/accept-application-json.yaml" responses: "200": description: List of Plex Devices. This includes Plex hosted servers and clients diff --git a/src/paths/user/get-user-data-by-token.yaml b/src/paths/user/get-user-data-by-token.yaml index 27623dba..6f14b506 100644 --- a/src/paths/user/get-user-data-by-token.yaml +++ b/src/paths/user/get-user-data-by-token.yaml @@ -3,12 +3,9 @@ get: - url: https://plex.tv/api/v2/ tags: - Authentication - summary: Get User Data By Token + summary: Get Token Details description: Get the User data from the provided X-Plex-Token - operationId: getUserDetails - parameters: - - $ref: "../../parameters/plex/x-plex-token.yaml" - - $ref: "../../parameters/accept-application-json.yaml" + operationId: getTokenDetails responses: "200": description: Logged in user details diff --git a/src/paths/users/post-sign-in.yaml b/src/paths/users/post-sign-in.yaml index 09704434..e4faec04 100644 --- a/src/paths/users/post-sign-in.yaml +++ b/src/paths/users/post-sign-in.yaml @@ -9,7 +9,6 @@ post: operationId: post-users-sign-in-data parameters: - $ref: "../../parameters/plex/x-plex-identifier.yaml" - - $ref: "../../parameters/accept-application-json.yaml" requestBody: content: application/x-www-form-urlencoded: diff --git a/src/responses/400-MissingIdentifier.yaml b/src/responses/400-MissingIdentifier.yaml deleted file mode 100644 index 30cde2ee..00000000 --- a/src/responses/400-MissingIdentifier.yaml +++ /dev/null @@ -1,21 +0,0 @@ -description: Bad Request response when the X-Plex-Client-Identifier is missing -content: - application/json: - schema: - type: object - properties: - errors: - type: array - items: - type: object - properties: - code: - type: integer - example: 1000 - message: - type: string - x-speakeasy-error-message: true - example: X-Plex-Client-Identifier is missing - status: - type: integer - example: 400 diff --git a/src/responses/400.yaml b/src/responses/400.yaml index 11158bc9..f72a8dda 100644 --- a/src/responses/400.yaml +++ b/src/responses/400.yaml @@ -2,6 +2,7 @@ description: Bad Request - A parameter was not specified, or was specified incor content: application/json: schema: + x-speakeasy-name-override: BadRequest type: object properties: errors: diff --git a/src/responses/401.yaml b/src/responses/401.yaml index 91e79eed..44a439ab 100644 --- a/src/responses/401.yaml +++ b/src/responses/401.yaml @@ -2,6 +2,7 @@ description: Unauthorized - Returned if the X-Plex-Token is missing from the hea content: application/json: schema: + x-speakeasy-name-override: Unauthorized type: object properties: errors: diff --git a/src/responses/408.yaml b/src/responses/408.yaml index 2adf45ae..1f29c5fe 100644 --- a/src/responses/408.yaml +++ b/src/responses/408.yaml @@ -2,6 +2,7 @@ description: Request Timeout content: application/json: schema: + x-speakeasy-name-override: RequestTimeout type: object properties: code: