export class AlbumRef
{
public refId: string;
public ownerId: number;
public name: string;
public slug: string;
public description: string;
public tags: string[] = [];
public primaryArtifactRef?: string;
public artifactsCount: number;
public constructor(init?: Partial<AlbumRef>) { (Object as any).assign(this, init); }
}
export class GetAlbumRefsResponse
{
public results: AlbumRef[] = [];
public constructor(init?: Partial<GetAlbumRefsResponse>) { (Object as any).assign(this, init); }
}
export class GetAlbumRefs
{
public constructor(init?: Partial<GetAlbumRefs>) { (Object as any).assign(this, init); }
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /csv/reply/GetAlbumRefs HTTP/1.1
Host: blazordiffusion.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"results":[{"refId":"String","ownerId":0,"name":"String","slug":"String","description":"String","tags":["String"],"primaryArtifactRef":"String","artifactsCount":0}]}