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

Merge pull request #34 from fa0311/dev

add TweetResultByRestId
This commit is contained in:
ふぁ 2023-08-22 11:01:38 +09:00 committed by GitHub
commit 591bddfa47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 353 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"