"use strict";
export class AlbumRef {
/** @param {{refId?:string,ownerId?:number,name?:string,slug?:string,description?:string,tags?:string[],primaryArtifactRef?:string,artifactsCount?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
refId;
/** @type {number} */
ownerId;
/** @type {string} */
name;
/** @type {string} */
slug;
/** @type {string} */
description;
/** @type {string[]} */
tags = [];
/** @type {?string} */
primaryArtifactRef;
/** @type {number} */
artifactsCount;
}
export class GetAlbumRefsResponse {
/** @param {{results?:AlbumRef[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {AlbumRef[]} */
results = [];
}
export class GetAlbumRefs {
constructor(init) { Object.assign(this, init) }
}
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/GetAlbumRefs 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 {"results":[{"refId":"String","ownerId":0,"name":"String","slug":"String","description":"String","tags":["String"],"primaryArtifactRef":"String","artifactsCount":0}]}