mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
277 lines
6.5 KiB
YAML
277 lines
6.5 KiB
YAML
info:
|
|
title: Twitter OpenAPI
|
|
version: 0.0.1
|
|
openapi: 3.0.3
|
|
paths:
|
|
/1.1/friendships/create.json:
|
|
post:
|
|
description: post create friendships
|
|
operationId: postCreateFriendships
|
|
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: user_id
|
|
required: true
|
|
schema:
|
|
default: '44196397'
|
|
example: '44196397'
|
|
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-post
|
|
/1.1/friendships/destroy.json:
|
|
post:
|
|
description: post destroy friendships
|
|
operationId: postDestroyFriendships
|
|
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: user_id
|
|
required: true
|
|
schema:
|
|
default: '44196397'
|
|
example: '44196397'
|
|
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-post
|