GET | /Article |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Category | query | int | No | |
ArticleAuthorID | query | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Size | form | int | No | |
Page | form | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Article HTTP/1.1 Host: tstsrvs.redhotpie.com.au Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length [{"ArticleID":0,"Title":"String","ShortTitle":"String","Summary":"String","ImageUrl":"String","Categories":0,"DatePublished":"\/Date(-62135596800000-0000)\/","Author":{"ArticleAuthorID":0,"Name":"String","ImageUrl":"String","Width":0,"Height":0,"Description":"String","FacebookLink":"String","TwitterLink":"String","InstagramLink":"String","YouTubeLink":"String","ArticleCount":0},"SEOUrl":"String","CommentCount":0,"IsLiked":false,"LikeCount":0}]