<back to all web services

GetUncachedPages

The following routes are available for this service:
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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"NotCachedPages":[{"Title":"String","ParentPagesTitles":"String","WorkflowStatus":"String","HasDraftNewerThanPublished":false}],"CountAllSites":0,"CountCurrentSite":0}