StarterTemplate ASP.NET Host

<back to all web services

TwitterDirectMessages

The following routes are available for this service:
All Verbs/twitter/directmessages

To override the Content-type in your clients HTTP Accept Header, append ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/TwitterDirectMessages HTTP/1.1 
Host: bootstrapapi.apphb.com 
Content-Type: text/jsv
Content-Length: length

{
	take: 0,
	sinceId: String,
	maxId: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	results: 
	[
		{
			id: 0,
			created_at: String,
			sender_screen_name: String,
			sender: 
			{
				name: String,
				profile_sidebar_border_color: String,
				profile_background_tile: String,
				profile_sidebar_fill_color: String,
				created_at: String,
				profile_image_url: String,
				profile_link_color: String,
				location: String,
				url: String,
				favourites_count: 0,
				contributors_enabled: False,
				utc_offset: String,
				id: String,
				profile_use_background_image: String,
				profile_text_color: String,
				protected: False,
				followers_count: 0,
				lang: String,
				verified: False,
				profile_background_color: String,
				geo_enabled: False,
				notifications: False,
				description: String,
				time_zone: String,
				friends_count: 0,
				statuses_count: 0,
				profile_background_image_url: String,
				screen_name: String
			},
			recipient: 
			{
				name: String,
				profile_sidebar_border_color: String,
				profile_background_tile: String,
				profile_sidebar_fill_color: String,
				created_at: String,
				profile_image_url: String,
				profile_link_color: String,
				location: String,
				url: String,
				favourites_count: 0,
				contributors_enabled: False,
				utc_offset: String,
				id: String,
				profile_use_background_image: String,
				profile_text_color: String,
				protected: False,
				followers_count: 0,
				lang: String,
				verified: False,
				profile_background_color: String,
				geo_enabled: False,
				notifications: False,
				description: String,
				time_zone: String,
				friends_count: 0,
				statuses_count: 0,
				profile_background_image_url: String,
				screen_name: String
			},
			recipient_id: 0,
			sender_id: 0,
			recipient_screen_name: String,
			text: String
		}
	]
}