components: schemas: ProfileResponse: properties: data: $ref: '#/components/schemas/ProfileResponseData' required: - data ProfileResponseData: properties: user_result_by_screen_name: $ref: '#/components/schemas/UserResultByScreenName' required: - user_result_by_screen_name UserResultByScreenName: properties: id: pattern: ^[0-9a-zA-Z]+$ type: string result: $ref: '#/components/schemas/UserResultByScreenNameResult' required: - id - result UserResultByScreenNameLegacy: properties: blocked_by: type: boolean blocking: type: boolean followed_by: type: boolean following: type: boolean name: type: string protected: type: boolean screen_name: type: string UserResultByScreenNameResult: properties: __typename: $ref: ./../schemas/typename.yaml#/components/schemas/TypeName id: pattern: ^[0-9a-zA-Z=]+$ type: string legacy: $ref: '#/components/schemas/UserResultByScreenNameLegacy' profilemodules: type: object rest_id: pattern: ^[0-9]+$ type: string required: - __typename - id - legacy - profilemodules - rest_id info: title: Twitter OpenAPI version: 0.0.1 openapi: 3.0.3 paths: /graphql/{pathQueryId}/ProfileSpotlightsQuery: get: description: get user by screen name operationId: getProfileSpotlightsQuery parameters: - in: header name: user-agent required: true schema: default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 description: UserAgent, some APIs may be rejected if changed. type: string - in: header name: authorization required: true schema: default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA description: It is a constant value and does not need to be changed. type: string - in: header name: x-twitter-active-user required: true schema: default: 'yes' description: Unknown what this value means. type: string - in: header name: x-twitter-client-language required: true schema: default: en description: language code. type: string - in: path name: pathQueryId required: true schema: default: 9zwVLJ48lmVUk8u_Gh9DmA example: 9zwVLJ48lmVUk8u_Gh9DmA type: string - in: query name: queryId required: true schema: default: '"9zwVLJ48lmVUk8u_Gh9DmA"' example: '"9zwVLJ48lmVUk8u_Gh9DmA"' type: string - in: query name: variables required: true schema: default: '{"screen_name": "elonmusk"}' example: '{"screen_name": "elonmusk"}' type: string - in: query name: features required: true schema: default: '{}' example: '{}' type: string responses: '200': content: application/json: schema: $ref: '#/components/schemas/ProfileResponse' description: Successful operation headers: x-connection-hash: schema: type: string x-rate-limit-limit: schema: type: integer x-rate-limit-remaining: schema: type: integer x-rate-limit-reset: schema: type: integer x-response-time: schema: type: integer x-tfe-preserve-body: schema: type: boolean x-transaction-id: schema: type: string x-twitter-response-tags: schema: type: string