1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-12 08:00:27 +01:00

add TweetResultByRestId

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-08-22 10:57:32 +09:00
parent a865bbaa09
commit dc4d5a90f6
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
2 changed files with 64 additions and 2 deletions

View file

@ -20,6 +20,22 @@ paths:
tags:
- "tweet"
/graphql/{pathQueryId}/TweetResultByRestId:
get:
operationId: getTweetResultByRestId
description: get TweetResultByRestId
responses:
"200":
description: Successful operation
content:
application/json:
schema:
oneOf:
- $ref: "#/components/schemas/TweetResultByRestIdResponse"
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
# tags:
# - "tweet"
/graphql/{pathQueryId}/Favoriters:
get:
operationId: getFavoriters
@ -68,6 +84,20 @@ components:
threaded_conversation_with_injections_v2:
$ref: "./../schemas/timeline.yaml#/components/schemas/Timeline"
TweetResultByRestIdResponse:
required:
- "data"
properties:
data:
$ref: "#/components/schemas/TweetResultByRestIdData"
TweetResultByRestIdData:
required:
- "tweetResult"
properties:
tweetResult:
$ref: "./../schemas/content.yaml#/components/schemas/ItemResult"
TweetFavoritersResponse:
required:
- "data"