mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-12 08:00:27 +01:00
add
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
ca1fbb7815
commit
cce687ba15
9 changed files with 268 additions and 95 deletions
|
|
@ -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:
|
||||
|
|
|
|||
25
src/openapi/paths/v1.1-get.yaml
Normal file
25
src/openapi/paths/v1.1-get.yaml
Normal 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"
|
||||
25
src/openapi/paths/v1.1-post.yaml
Normal file
25
src/openapi/paths/v1.1-post.yaml
Normal 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"
|
||||
|
|
@ -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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue