1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-12 08:00:27 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-05-05 21:11:19 +09:00
parent ca1fbb7815
commit cce687ba15
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
9 changed files with 268 additions and 95 deletions

View file

@ -16,7 +16,7 @@ paths:
schema:
$ref: "#/components/schemas/FollowResponse"
tags:
- "userList"
- "user-list"
/graphql/{{queryId}}/Followers:
get:
@ -30,7 +30,7 @@ paths:
schema:
$ref: "#/components/schemas/FollowResponse"
tags:
- "userList"
- "user-list"
components:
schemas:

View file

@ -0,0 +1,25 @@
openapi: 3.0.3
info:
title: Twitter OpenAPI
version: 0.0.1
paths:
/1.1/friends/following/list.json:
get:
operationId: getFriendsFollowingList
description: get friends following list
responses:
"200":
description: Successful operation
tags:
- "v1.1-get"
/1.1/search/typeahead.json:
get:
operationId: getSearchTypeahead
description: get search typeahead
responses:
"200":
description: Successful operation
tags:
- "v1.1-get"

View file

@ -0,0 +1,25 @@
openapi: 3.0.3
info:
title: Twitter OpenAPI
version: 0.0.1
paths:
/1.1/friendships/create.json:
post:
operationId: postCreateFriendships
description: post create friendships
responses:
"200":
description: Successful operation
tags:
- "v1.1-post"
/1.1/friendships/destroy.json:
post:
operationId: postDestroyFriendships
description: post destroy friendships
responses:
"200":
description: Successful operation
tags:
- "v1.1-post"

View file

@ -4,12 +4,12 @@ info:
version: 0.0.1
paths:
/1.1/friendships/create.json:
post:
operationId: postCreateFriendships
description: post create friendships
/2/search/adaptive.json:
get:
operationId: getSearchAdaptive
description: get search adaptive
responses:
"200":
description: Successful operation
tags:
- "v1.1"
- "v2.0-get"