openapi: 3.0.3 info: title: Trakt Calendars People API description: 'The Trakt API is a RESTful API for integrating TV show and movie tracking features into applications. It exposes Trakt''s media database, user watch history, lists, watchlists, ratings, comments, scrobbling, and recommendations. Authentication is OAuth 2.0 (Authorization Code and Device flows). This OpenAPI is a representative sampling of the full Trakt API v2 surface, covering authentication, movies, shows, episodes, seasons, people, search, users, sync, scrobble, checkin, lists, calendars, recommendations, comments, notes, and reference data. The canonical contract is the ts-rest router published at github.com/trakt/trakt-api. ' version: '2.0' contact: name: Trakt API Support url: https://forums.trakt.tv license: name: MIT url: https://opensource.org/licenses/MIT servers: - url: https://api.trakt.tv description: Production - url: https://api-staging.trakt.tv description: Staging security: - bearerAuth: [] tags: - name: People description: Person metadata, filmography, lists. paths: /people/{id}: get: tags: - People operationId: getPerson summary: Get A Single Person description: Returns a single person's details. parameters: - name: id in: path required: true schema: type: string - $ref: '#/components/parameters/Extended' responses: '200': description: Person details. content: application/json: schema: $ref: '#/components/schemas/Person' /people/{id}/movies: get: tags: - People operationId: getPersonMovies summary: Get Movies For A Person description: Returns all movies where this person is in the cast or crew. parameters: - name: id in: path required: true schema: type: string responses: '200': description: Person filmography for movies. /people/{id}/shows: get: tags: - People operationId: getPersonShows summary: Get Shows For A Person description: Returns all shows where this person is in the cast or crew. parameters: - name: id in: path required: true schema: type: string responses: '200': description: Person filmography for shows. components: schemas: Ids: type: object properties: trakt: type: integer slug: type: string imdb: type: string tmdb: type: integer tvdb: type: integer Person: type: object properties: name: type: string ids: $ref: '#/components/schemas/Ids' biography: type: string birthday: type: string format: date nullable: true death: type: string format: date nullable: true birthplace: type: string nullable: true homepage: type: string format: uri nullable: true parameters: Extended: name: extended in: query schema: type: string enum: - full - metadata - noseasons - images - episodes - guest_stars - vip description: Request extra fields in the response. securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: JWT description: OAuth 2.0 access token from /oauth/token or /oauth/device/token. Send via Authorization header and required headers trakt-api-version (2) and trakt-api-key (client_id).