Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RefId | query | string | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Result | form | UserResult | Yes | |
ResponseStatus | form | ResponseStatus | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RefId | form | string | Yes | |
Handle | form | string | No | |
Avatar | form | string | No | |
ProfileUrl | form | string | No | |
Likes | form | Likes | Yes | |
Albums | form | List<AlbumResult> | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ArtifactIds | form | List<int> | Yes | |
AlbumIds | form | List<int> | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
Name | form | string | Yes | |
Slug | form | string | Yes | |
AlbumRef | form | string | Yes | |
OwnerRef | form | string | Yes | |
PrimaryArtifactId | form | int? | No | |
Score | form | int | No | |
ArtifactIds | form | List<int> | Yes |
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.
POST /json/reply/GetUserInfo HTTP/1.1
Host: blazordiffusion.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"refId":"String"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"result":{"refId":"String","handle":"String","avatar":"String","profileUrl":"String","likes":{"artifactIds":[0],"albumIds":[0]},"albums":[{"id":0,"name":"String","slug":"String","albumRef":"String","ownerRef":"String","primaryArtifactId":0,"score":0,"artifactIds":[0]}]},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}