@@ -145,6 +145,10 @@ export interface paths {
145
145
/** Full open api spec in JSON format. (See https://github.com/OAI/OpenAPI-Specification/blob/master/README.md) */
146
146
get : operations [ "getOpenApiSpec" ] ;
147
147
} ;
148
+ "/2/users/{id}/timelines/reverse_chronological" : {
149
+ /** Returns Tweet objects that appears in the provided User ID's home timeline */
150
+ get : operations [ "usersIdTimeline" ] ;
151
+ } ;
148
152
"/2/users/{id}/tweets" : {
149
153
/** Returns a list of Tweets authored by the provided User ID */
150
154
get : operations [ "usersIdTweets" ] ;
@@ -2795,6 +2799,52 @@ export interface operations {
2795
2799
} ;
2796
2800
} ;
2797
2801
} ;
2802
+ /** Returns Tweet objects that appears in the provided User ID's home timeline */
2803
+ usersIdTimeline : {
2804
+ parameters : {
2805
+ path : {
2806
+ /** The ID of the User to list Reverse Chronological Timeline Tweets of */
2807
+ id : components [ "schemas" ] [ "UserID" ] ;
2808
+ } ;
2809
+ query : {
2810
+ /** The minimum Tweet ID to be included in the result set. This parameter takes precedence over start_time if both are specified. */
2811
+ since_id ?: components [ "parameters" ] [ "SinceIdRequestParameter" ] ;
2812
+ /** The maximum Tweet ID to be included in the result set. This parameter takes precedence over end_time if both are specified. */
2813
+ until_id ?: components [ "parameters" ] [ "UntilIdRequestParameter" ] ;
2814
+ /** The maximum number of results */
2815
+ max_results ?: components [ "parameters" ] [ "MaxResultsRequestParameter" ] ;
2816
+ /** The set of entities to exclude (e.g. 'replies' or 'retweets') */
2817
+ exclude ?: components [ "parameters" ] [ "TweetTypeExcludesRequestParameter" ] ;
2818
+ /** This parameter is used to get the next 'page' of results. */
2819
+ pagination_token ?: components [ "parameters" ] [ "PaginationTokenRequestParameter" ] ;
2820
+ /** YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp from which the Tweets will be provided. The since_id parameter takes precedence if it is also specified. */
2821
+ start_time ?: components [ "parameters" ] [ "StartTimeRequestParameter" ] ;
2822
+ /** YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Tweets will be provided. The until_id parameter takes precedence if it is also specified. */
2823
+ end_time ?: components [ "parameters" ] [ "EndTimeRequestParameter" ] ;
2824
+ /** A comma separated list of fields to expand. */
2825
+ expansions ?: components [ "parameters" ] [ "TweetExpansionsParameter" ] ;
2826
+ /** A comma separated list of Tweet fields to display. */
2827
+ "tweet.fields" ?: components [ "parameters" ] [ "TweetFieldsParameter" ] ;
2828
+ /** A comma separated list of User fields to display. */
2829
+ "user.fields" ?: components [ "parameters" ] [ "UserFieldsParameter" ] ;
2830
+ /** A comma separated list of Media fields to display. */
2831
+ "media.fields" ?: components [ "parameters" ] [ "MediaFieldsParameter" ] ;
2832
+ /** A comma separated list of Place fields to display. */
2833
+ "place.fields" ?: components [ "parameters" ] [ "PlaceFieldsParameter" ] ;
2834
+ /** A comma separated list of Poll fields to display. */
2835
+ "poll.fields" ?: components [ "parameters" ] [ "PollFieldsParameter" ] ;
2836
+ } ;
2837
+ } ;
2838
+ responses : {
2839
+ /** The request was successful */
2840
+ 200 : {
2841
+ content : {
2842
+ "application/json" : components [ "schemas" ] [ "GenericTweetsTimelineResponse" ] ;
2843
+ } ;
2844
+ } ;
2845
+ default : components [ "responses" ] [ "HttpErrorResponse" ] ;
2846
+ } ;
2847
+ } ;
2798
2848
/** Returns a list of Tweets authored by the provided User ID */
2799
2849
usersIdTweets : {
2800
2850
parameters : {
@@ -3616,6 +3666,7 @@ export type getRules = operations['getRules']
3616
3666
export type addOrDeleteRules = operations [ 'addOrDeleteRules' ]
3617
3667
export type sampleStream = operations [ 'sampleStream' ]
3618
3668
export type getOpenApiSpec = operations [ 'getOpenApiSpec' ]
3669
+ export type usersIdTimeline = operations [ 'usersIdTimeline' ]
3619
3670
export type usersIdTweets = operations [ 'usersIdTweets' ]
3620
3671
export type usersIdMentions = operations [ 'usersIdMentions' ]
3621
3672
export type usersIdLike = operations [ 'usersIdLike' ]
0 commit comments