1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 23:50:26 +01:00

add bookmarks

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-04-18 18:07:32 +09:00
parent 4864d6126a
commit abbcbe8b86
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
5 changed files with 173 additions and 0 deletions

View file

@ -63,6 +63,8 @@ tags:
description: tweet
- name: user
description: user
- name: bookmark
description: bookmark
- name: follow
description: follow
- name: search

View file

@ -0,0 +1,36 @@
openapi: 3.0.3
info:
title: Twitter OpenAPI
version: 0.0.1
paths:
/{{BookmarksQuery}}/Bookmarks:
get:
operationId: getBookmarks
description: get bookmarks
responses:
"200":
description: Successful operation
content:
application/json:
schema:
$ref: "#/components/schemas/BookmarksResponse"
tags:
- "bookmark"
- "graphql"
components:
schemas:
BookmarksResponse:
required:
- "data"
properties:
data:
$ref: "#/components/schemas/BookmarksResponseData"
BookmarksResponseData:
required:
- "bookmark_timeline_v2"
properties:
bookmark_timeline_v2:
$ref: "./../schemas/timeline.yaml#/components/schemas/Timeline"