blob: bdb41df5328efd5ffe174e4e73e389dda520720e [file] [log] [blame]
{
"$schema": "http://json-schema.org/draft-03/schema",
"$license": [
"http://www.apache.org/licenses/LICENSE-2.0"
],
"id": "#",
"javaType" : "org.apache.streams.twitter.api.StatusesUserTimelineRequest",
"javaInterfaces": ["java.io.Serializable"],
"description": "https://api.twitter.com/1.1/statuses/user_timeline.json",
"properties": {
"user_id": {
"description": "The ID of the user for whom to return results for.",
"required": false,
"type": "integer"
},
"screen_name": {
"description": "The screen name of the user for whom to return results for.",
"required": false,
"type": "string"
},
"count": {
"description": "Specifies the number of Tweets to try and retrieve, up to a maximum of 200 per distinct request. The value of count is best thought of as a limit to the number of Tweets to return because suspended or deleted content is removed after the count has been applied. We include retweets in the count, even if include_rts is not supplied. It is recommended you always send include_rts=1 when using this API method.",
"required": false,
"type": "integer"
},
"since_id": {
"description": "Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since the since_id, the since_id will be forced to the oldest ID available.",
"required": false,
"type": "integer"
},
"max_id": {
"description": "Returns results with an ID less than (that is, older than) or equal to the specified ID.",
"required": false,
"type": "integer"
},
"trim_user": {
"description": "When set to either true , t or 1 , each Tweet returned in a timeline will include a user object including only the status authors numerical ID. Omit this parameter to receive the complete user object.",
"required": false,
"type": "boolean"
},
"exclude_replies": {
"description": "This parameter will prevent replies from appearing in the returned timeline. Using exclude_replies with the count parameter will mean you will receive up-to count tweets — this is because the count parameter retrieves that many Tweets before filtering out retweets and replies. This parameter is only supported for JSON and XML responses.",
"required": false,
"type": "boolean"
},
"contributor_details": {
"description": "This parameter enhances the contributors element of the status response to include the screen_name of the contributor. By default only the user_id of the contributor is included.",
"required": false,
"type": "boolean"
},
"include_rts": {
"description": "When set to false , the timeline will strip any native retweets (though they will still count toward both the maximal length of the timeline and the slice selected by the count parameter). Note: If you’re using the trim_user parameter in conjunction with include_rts, the retweets will still contain a full user object.",
"required": false,
"type": "boolean"
}
}
}