GET | /RestApi/diagnostics/uncached-pages |
---|
export class GetUncachedPages
{
public CountOnly: boolean;
public Skip: number;
public Take: number;
public SiteRootNodeId: string;
public constructor(init?: Partial<GetUncachedPages>) { (Object as any).assign(this, init); }
}
export class PageProxy
{
public Title: string;
public ParentPagesTitles: string;
public WorkflowStatus: string;
public HasDraftNewerThanPublished: boolean;
public constructor(init?: Partial<PageProxy>) { (Object as any).assign(this, init); }
}
export class UncachedPagesProxy
{
public NotCachedPages: PageProxy[];
public CountAllSites: number;
public CountCurrentSite: number;
public constructor(init?: Partial<UncachedPagesProxy>) { (Object as any).assign(this, init); }
}
TypeScript 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}