Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
User | form | UserResult | Yes | |
Profile | form | UserProfile | Yes | |
Signups | form | List<SignupType> | Yes | |
Roles | form | string[] | 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 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DisplayName | form | string | Yes | |
Avatar | form | string | No | |
Handle | form | string | No |
Updates | |
Beta |
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsonl/reply/UserData HTTP/1.1
Host: blazordiffusion.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"user":{"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]}]},"profile":{"displayName":"String","avatar":"String","handle":"String"},"signups":["Updates"],"roles":["String"],"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}