GET | /RestApi/diagnostics/methods |
---|
"use strict";
export class GetRootMethods {
/** @param {{RootOperationId?:string,Category?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
RootOperationId;
/** @type {string} */
Category;
}
export class MethodViewModel {
/** @param {{Id?:string,RootOperationId?:string,ParentOperationId?:string,Method?:string,Start?:string,End?:string,Duration?:number,QueryCount?:number,HasChildren?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Id;
/** @type {string} */
RootOperationId;
/** @type {string} */
ParentOperationId;
/** @type {string} */
Method;
/** @type {?string} */
Start;
/** @type {?string} */
End;
/** @type {?number} */
Duration;
/** @type {number} */
QueryCount;
/** @type {boolean} */
HasChildren;
}
export class MethodsProxy {
/** @param {{Items?:MethodViewModel[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {MethodViewModel[]} */
Items;
}
JavaScript GetRootMethods DTOs
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.
GET /RestApi/diagnostics/methods HTTP/1.1 Host: www.asg.com.au Accept: text/jsonl
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {}