All Verbs | /User/Like/Authorisation |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RemainingLikes | form | int | No | |
LikeLimit | form | int | No | |
RemainingFavourites | form | int | No | |
FavouritesLimit | form | int | No | |
LikeCredits | form | int | No | |
FavCredits | form | int | No | |
TimeToReset | form | double | No | |
ResultType | form | UserLikeResultType | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /User/Like/Authorisation HTTP/1.1
Host: tstsrvs.redhotpie.com.au
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { RemainingLikes: 0, LikeLimit: 0, RemainingFavourites: 0, FavouritesLimit: 0, LikeCredits: 0, FavCredits: 0, TimeToReset: 0, ResultType: SendAllowed }