mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
242 lines
5.7 KiB
YAML
242 lines
5.7 KiB
YAML
info:
|
|
title: Twitter OpenAPI
|
|
version: 0.0.1
|
|
openapi: 3.0.3
|
|
paths:
|
|
/1.1/friends/following/list.json:
|
|
get:
|
|
description: get friends following list
|
|
operationId: getFriendsFollowingList
|
|
parameters:
|
|
- in: query
|
|
name: include_profile_interstitial_type
|
|
required: true
|
|
schema:
|
|
default: '1'
|
|
example: '1'
|
|
type: string
|
|
- in: query
|
|
name: include_blocking
|
|
required: true
|
|
schema:
|
|
default: '1'
|
|
example: '1'
|
|
type: string
|
|
- in: query
|
|
name: include_blocked_by
|
|
required: true
|
|
schema:
|
|
default: '1'
|
|
example: '1'
|
|
type: string
|
|
- in: query
|
|
name: include_followed_by
|
|
required: true
|
|
schema:
|
|
default: '1'
|
|
example: '1'
|
|
type: string
|
|
- in: query
|
|
name: include_want_retweets
|
|
required: true
|
|
schema:
|
|
default: '1'
|
|
example: '1'
|
|
type: string
|
|
- in: query
|
|
name: include_mute_edge
|
|
required: true
|
|
schema:
|
|
default: '1'
|
|
example: '1'
|
|
type: string
|
|
- in: query
|
|
name: include_can_dm
|
|
required: true
|
|
schema:
|
|
default: '1'
|
|
example: '1'
|
|
type: string
|
|
- in: query
|
|
name: include_can_media_tag
|
|
required: true
|
|
schema:
|
|
default: '1'
|
|
example: '1'
|
|
type: string
|
|
- in: query
|
|
name: include_ext_has_nft_avatar
|
|
required: true
|
|
schema:
|
|
default: '1'
|
|
example: '1'
|
|
type: string
|
|
- in: query
|
|
name: include_ext_is_blue_verified
|
|
required: true
|
|
schema:
|
|
default: '1'
|
|
example: '1'
|
|
type: string
|
|
- in: query
|
|
name: include_ext_verified_type
|
|
required: true
|
|
schema:
|
|
default: '1'
|
|
example: '1'
|
|
type: string
|
|
- in: query
|
|
name: include_ext_profile_image_shape
|
|
required: true
|
|
schema:
|
|
default: '1'
|
|
example: '1'
|
|
type: string
|
|
- in: query
|
|
name: skip_status
|
|
required: true
|
|
schema:
|
|
default: '1'
|
|
example: '1'
|
|
type: string
|
|
- in: query
|
|
name: cursor
|
|
required: true
|
|
schema:
|
|
default: '-1'
|
|
example: '-1'
|
|
type: string
|
|
- in: query
|
|
name: user_id
|
|
required: true
|
|
schema:
|
|
default: '"17152334"'
|
|
example: '"17152334"'
|
|
type: string
|
|
- in: query
|
|
name: count
|
|
required: true
|
|
schema:
|
|
default: '3'
|
|
example: '3'
|
|
type: string
|
|
- in: query
|
|
name: with_total_count
|
|
required: true
|
|
schema:
|
|
default: 'true'
|
|
example: 'true'
|
|
type: string
|
|
responses:
|
|
'200':
|
|
description: Successful operation
|
|
headers:
|
|
status:
|
|
schema:
|
|
type: string
|
|
x-access-level:
|
|
schema:
|
|
type: string
|
|
x-client-event-enabled:
|
|
schema:
|
|
type: boolean
|
|
x-connection-hash:
|
|
schema:
|
|
type: string
|
|
x-content-type-options:
|
|
schema:
|
|
type: string
|
|
x-response-time:
|
|
schema:
|
|
type: integer
|
|
x-transaction:
|
|
schema:
|
|
type: string
|
|
x-transaction-id:
|
|
schema:
|
|
type: string
|
|
x-twitter-response-tags:
|
|
schema:
|
|
type: string
|
|
tags:
|
|
- v1.1-get
|
|
/1.1/search/typeahead.json:
|
|
get:
|
|
description: get search typeahead
|
|
operationId: getSearchTypeahead
|
|
parameters:
|
|
- in: query
|
|
name: include_ext_is_blue_verified
|
|
required: true
|
|
schema:
|
|
default: '1'
|
|
example: '1'
|
|
type: string
|
|
- in: query
|
|
name: include_ext_verified_type
|
|
required: true
|
|
schema:
|
|
default: '1'
|
|
example: '1'
|
|
type: string
|
|
- in: query
|
|
name: include_ext_profile_image_shape
|
|
required: true
|
|
schema:
|
|
default: '1'
|
|
example: '1'
|
|
type: string
|
|
- in: query
|
|
name: q
|
|
required: true
|
|
schema:
|
|
default: '"test"'
|
|
example: '"test"'
|
|
type: string
|
|
- in: query
|
|
name: src
|
|
required: true
|
|
schema:
|
|
default: '"search_box"'
|
|
example: '"search_box"'
|
|
type: string
|
|
- in: query
|
|
name: result_type
|
|
required: true
|
|
schema:
|
|
default: '"events,users,topics"'
|
|
example: '"events,users,topics"'
|
|
type: string
|
|
responses:
|
|
'200':
|
|
description: Successful operation
|
|
headers:
|
|
status:
|
|
schema:
|
|
type: string
|
|
x-access-level:
|
|
schema:
|
|
type: string
|
|
x-client-event-enabled:
|
|
schema:
|
|
type: boolean
|
|
x-connection-hash:
|
|
schema:
|
|
type: string
|
|
x-content-type-options:
|
|
schema:
|
|
type: string
|
|
x-response-time:
|
|
schema:
|
|
type: integer
|
|
x-transaction:
|
|
schema:
|
|
type: string
|
|
x-transaction-id:
|
|
schema:
|
|
type: string
|
|
x-twitter-response-tags:
|
|
schema:
|
|
type: string
|
|
tags:
|
|
- v1.1-get
|