mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
119 lines
4.3 KiB
YAML
119 lines
4.3 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: []
|
|
requestBody:
|
|
content:
|
|
application/x-www-form-urlencoded:
|
|
schema:
|
|
default: '{"include_profile_interstitial_type": 1, "include_blocking":
|
|
1, "include_blocked_by": 1, "include_followed_by": 1, "include_want_retweets":
|
|
1, "include_mute_edge": 1, "include_can_dm": 1, "include_can_media_tag":
|
|
1, "include_ext_has_nft_avatar": 1, "include_ext_is_blue_verified":
|
|
1, "include_ext_verified_type": 1, "include_ext_profile_image_shape":
|
|
1, "skip_status": 1, "user_id": 44196397}'
|
|
example: '{"include_profile_interstitial_type": 1, "include_blocking":
|
|
1, "include_blocked_by": 1, "include_followed_by": 1, "include_want_retweets":
|
|
1, "include_mute_edge": 1, "include_can_dm": 1, "include_can_media_tag":
|
|
1, "include_ext_has_nft_avatar": 1, "include_ext_is_blue_verified":
|
|
1, "include_ext_verified_type": 1, "include_ext_profile_image_shape":
|
|
1, "skip_status": 1, "user_id": 44196397}'
|
|
type: object
|
|
description: body
|
|
required: true
|
|
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: []
|
|
requestBody:
|
|
content:
|
|
application/x-www-form-urlencoded:
|
|
schema:
|
|
default: '{"include_profile_interstitial_type": 1, "include_blocking":
|
|
1, "include_blocked_by": 1, "include_followed_by": 1, "include_want_retweets":
|
|
1, "include_mute_edge": 1, "include_can_dm": 1, "include_can_media_tag":
|
|
1, "include_ext_has_nft_avatar": 1, "include_ext_is_blue_verified":
|
|
1, "include_ext_verified_type": 1, "include_ext_profile_image_shape":
|
|
1, "skip_status": 1, "user_id": 44196397}'
|
|
example: '{"include_profile_interstitial_type": 1, "include_blocking":
|
|
1, "include_blocked_by": 1, "include_followed_by": 1, "include_want_retweets":
|
|
1, "include_mute_edge": 1, "include_can_dm": 1, "include_can_media_tag":
|
|
1, "include_ext_has_nft_avatar": 1, "include_ext_is_blue_verified":
|
|
1, "include_ext_verified_type": 1, "include_ext_profile_image_shape":
|
|
1, "skip_status": 1, "user_id": 44196397}'
|
|
type: object
|
|
description: body
|
|
required: true
|
|
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
|