@@ -101,6 +101,10 @@ export interface paths {
101
101
/** Delete specified Tweet (in the path) by ID. */
102
102
delete : operations [ "deleteTweetById" ] ;
103
103
} ;
104
+ "/2/tweets/{id}/quote_tweets" : {
105
+ /** Returns a variety of information about each tweet that quotes the Tweet specified by the requested ID. */
106
+ get : operations [ "findTweetsThatQuoteATweet" ] ;
107
+ } ;
104
108
"/2/tweets/{id}/hidden" : {
105
109
/** Hides or unhides a reply to an owned conversation. */
106
110
put : operations [ "hideReplyById" ] ;
@@ -578,6 +582,17 @@ export interface components {
578
582
} ;
579
583
errors ?: components [ "schemas" ] [ "Problem" ] [ ] ;
580
584
} ;
585
+ QuoteTweetLookupResponse : {
586
+ data ?: components [ "schemas" ] [ "Tweet" ] [ ] ;
587
+ includes ?: components [ "schemas" ] [ "Expansions" ] ;
588
+ meta ?: {
589
+ /** @description This value is used to get the next 'page' of results by providing it to the pagination_token parameter. */
590
+ next_token ?: string ;
591
+ /** @description The number of quoting tweets returned in this response */
592
+ result_count ?: number ;
593
+ } ;
594
+ errors ?: components [ "schemas" ] [ "Problem" ] [ ] ;
595
+ } ;
581
596
SingleTweetLookupResponse : {
582
597
data ?: components [ "schemas" ] [ "Tweet" ] ;
583
598
includes ?: components [ "schemas" ] [ "Expansions" ] ;
@@ -774,6 +789,15 @@ export interface components {
774
789
} ;
775
790
errors ?: components [ "schemas" ] [ "Problem" ] [ ] ;
776
791
} ;
792
+ AddBookmarkRequest : {
793
+ tweet_id : components [ "schemas" ] [ "TweetID" ] ;
794
+ } ;
795
+ BookmarkMutationResponse : {
796
+ data ?: {
797
+ bookmarked ?: boolean ;
798
+ } ;
799
+ errors ?: components [ "schemas" ] [ "Problem" ] [ ] ;
800
+ } ;
777
801
TweetDeleteResponse : {
778
802
data ?: {
779
803
deleted : boolean ;
@@ -2365,6 +2389,40 @@ export interface operations {
2365
2389
default : components [ "responses" ] [ "HttpErrorResponse" ] ;
2366
2390
} ;
2367
2391
} ;
2392
+ /** Returns a variety of information about each tweet that quotes the Tweet specified by the requested ID. */
2393
+ findTweetsThatQuoteATweet : {
2394
+ parameters : {
2395
+ path : {
2396
+ /** The ID of the Quoted Tweet. */
2397
+ id : components [ "schemas" ] [ "TweetID" ] ;
2398
+ } ;
2399
+ query : {
2400
+ /** The maximum number of results to be returned. */
2401
+ max_results ?: number ;
2402
+ /** A comma separated list of fields to expand. */
2403
+ expansions ?: components [ "parameters" ] [ "TweetExpansionsParameter" ] ;
2404
+ /** A comma separated list of Tweet fields to display. */
2405
+ "tweet.fields" ?: components [ "parameters" ] [ "TweetFieldsParameter" ] ;
2406
+ /** A comma separated list of User fields to display. */
2407
+ "user.fields" ?: components [ "parameters" ] [ "UserFieldsParameter" ] ;
2408
+ /** A comma separated list of Media fields to display. */
2409
+ "media.fields" ?: components [ "parameters" ] [ "MediaFieldsParameter" ] ;
2410
+ /** A comma separated list of Place fields to display. */
2411
+ "place.fields" ?: components [ "parameters" ] [ "PlaceFieldsParameter" ] ;
2412
+ /** A comma separated list of Poll fields to display. */
2413
+ "poll.fields" ?: components [ "parameters" ] [ "PollFieldsParameter" ] ;
2414
+ } ;
2415
+ } ;
2416
+ responses : {
2417
+ /** The request was successful */
2418
+ 200 : {
2419
+ content : {
2420
+ "application/json" : components [ "schemas" ] [ "QuoteTweetLookupResponse" ] ;
2421
+ } ;
2422
+ } ;
2423
+ default : components [ "responses" ] [ "HttpErrorResponse" ] ;
2424
+ } ;
2425
+ } ;
2368
2426
/** Hides or unhides a reply to an owned conversation. */
2369
2427
hideReplyById : {
2370
2428
parameters : {
@@ -3415,6 +3473,7 @@ export type findTweetsById = operations['findTweetsById']
3415
3473
export type createTweet = operations [ 'createTweet' ]
3416
3474
export type findTweetById = operations [ 'findTweetById' ]
3417
3475
export type deleteTweetById = operations [ 'deleteTweetById' ]
3476
+ export type findTweetsThatQuoteATweet = operations [ 'findTweetsThatQuoteATweet' ]
3418
3477
export type hideReplyById = operations [ 'hideReplyById' ]
3419
3478
export type tweetsRecentSearch = operations [ 'tweetsRecentSearch' ]
3420
3479
export type tweetsFullarchiveSearch = operations [ 'tweetsFullarchiveSearch' ]
0 commit comments