Blazor Diffusion

<back to all web services

GetAlbumUserData

User
Requires Authentication
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    @ValidateRequest(Validator="IsAuthenticated")
    public static class GetAlbumUserData implements IGet
    {
        public Integer albumId = null;
        
        public Integer getAlbumId() { return albumId; }
        public GetAlbumUserData setAlbumId(Integer value) { this.albumId = value; return this; }
    }

    public static class GetAlbumUserDataResponse
    {
        public Integer albumId = null;
        public ArrayList<Integer> likedArtifacts = new ArrayList<Integer>();
        
        public Integer getAlbumId() { return albumId; }
        public GetAlbumUserDataResponse setAlbumId(Integer value) { this.albumId = value; return this; }
        public ArrayList<Integer> getLikedArtifacts() { return likedArtifacts; }
        public GetAlbumUserDataResponse setLikedArtifacts(ArrayList<Integer> value) { this.likedArtifacts = value; return this; }
    }

}

Java GetAlbumUserData DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?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/GetAlbumUserData HTTP/1.1 
Host: blazordiffusion.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	albumId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	albumId: 0,
	likedArtifacts: 
	[
		0
	]
}