Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions plex-api-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ info:

## Authentication

- **X-Plex-Token**: Pass via the `X-Plex-Token` header on every request. It may also be passed as a query parameter (`?X-Plex-Token=...`) on all endpoints.
- **X-Plex-Token**: Pass via the `X-Plex-Token` header on every request.
Comment thread
coderabbitai[bot] marked this conversation as resolved.
- **X-Plex-Client-Identifier**: Mandatory for OAuth PIN flow (`/pins`) and JWT device registration. Must be a unique, persistent identifier for the client application.
- **OAuth PIN Flow**: `POST /pins` → user visits `https://plex.tv/link` → `GET /pins/{pinId}` → obtain `authToken`.

Expand Down Expand Up @@ -16352,7 +16352,7 @@ paths:
schema:
type: string
'401':
description: Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
description: Unauthorized - Returned if the X-Plex-Token is missing from the header.
content:
application/json:
schema:
Expand Down Expand Up @@ -18954,7 +18954,7 @@ paths:
message: X-Plex-Client-Identifier is missing
status: 400
'401':
description: Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
description: Unauthorized - Returned if the X-Plex-Token is missing from the header.
content:
application/json:
schema:
Expand Down Expand Up @@ -19342,7 +19342,7 @@ paths:
message: X-Plex-Client-Identifier is missing
status: 400
'401':
description: Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
description: Unauthorized - Returned if the X-Plex-Token is missing from the header.
content:
application/json:
schema:
Expand Down Expand Up @@ -19769,7 +19769,7 @@ paths:
message: X-Plex-Client-Identifier is missing
status: 400
'401':
description: Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
description: Unauthorized - Returned if the X-Plex-Token is missing from the header.
content:
application/json:
schema:
Expand Down
Loading