MicroApp API

<back to all web services

GetCurrentMicroAppRequest

The following routes are available for this service:
All Verbs/current/{Key}/{TenantKey}
"use strict";
export class GetCurrentMicroAppRequest {
    /** @param {{key?:string,tenantKey?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    key;
    /** @type {string} */
    tenantKey;
}
export class MicroApp {
    /** @param {{id?:number,name?:string,key?:string,version?:number,current?:boolean,production?:boolean,manifestUrl?:string,url?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {string} */
    name;
    /** @type {string} */
    key;
    /** @type {number} */
    version;
    /** @type {boolean} */
    current;
    /** @type {boolean} */
    production;
    /** @type {string} */
    manifestUrl;
    /** @type {string} */
    url;
}

JavaScript GetCurrentMicroAppRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /current/{Key}/{TenantKey} HTTP/1.1 
Host: apps.harbourassist.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"key":"String","tenantKey":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"id":0,"name":"String","key":"String","version":0,"current":false,"production":false,"manifestUrl":"String/manifest.json","url":"String"}