GET | /RestApi/diagnostics/uncached-pages |
---|
"use strict";
export class GetUncachedPages {
/** @param {{CountOnly?:boolean,Skip?:number,Take?:number,SiteRootNodeId?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {boolean} */
CountOnly;
/** @type {number} */
Skip;
/** @type {number} */
Take;
/** @type {string} */
SiteRootNodeId;
}
export class PageProxy {
/** @param {{Title?:string,ParentPagesTitles?:string,WorkflowStatus?:string,HasDraftNewerThanPublished?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Title;
/** @type {string} */
ParentPagesTitles;
/** @type {string} */
WorkflowStatus;
/** @type {boolean} */
HasDraftNewerThanPublished;
}
export class UncachedPagesProxy {
/** @param {{NotCachedPages?:PageProxy[],CountAllSites?:number,CountCurrentSite?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {PageProxy[]} */
NotCachedPages;
/** @type {number} */
CountAllSites;
/** @type {number} */
CountCurrentSite;
}
JavaScript GetUncachedPages DTOs
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.
GET /RestApi/diagnostics/uncached-pages HTTP/1.1 Host: www.asg.com.au Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"NotCachedPages":[{"Title":"String","ParentPagesTitles":"String","WorkflowStatus":"String","HasDraftNewerThanPublished":false}],"CountAllSites":0,"CountCurrentSite":0}