<back to all web services

GetUncachedPages

The following routes are available for this service:
GET/RestApi/diagnostics/uncached-pages
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class GetUncachedPages
    {
        public Boolean CountOnly = null;
        public Integer Skip = null;
        public Integer Take = null;
        public UUID SiteRootNodeId = null;
        
        public Boolean isCountOnly() { return CountOnly; }
        public GetUncachedPages setCountOnly(Boolean value) { this.CountOnly = value; return this; }
        public Integer getSkip() { return Skip; }
        public GetUncachedPages setSkip(Integer value) { this.Skip = value; return this; }
        public Integer getTake() { return Take; }
        public GetUncachedPages setTake(Integer value) { this.Take = value; return this; }
        public UUID getSiteRootNodeId() { return SiteRootNodeId; }
        public GetUncachedPages setSiteRootNodeId(UUID value) { this.SiteRootNodeId = value; return this; }
    }

    public static class UncachedPagesProxy
    {
        public ArrayList<PageProxy> NotCachedPages = null;
        public Integer CountAllSites = null;
        public Integer CountCurrentSite = null;
        
        public ArrayList<PageProxy> getNotCachedPages() { return NotCachedPages; }
        public UncachedPagesProxy setNotCachedPages(ArrayList<PageProxy> value) { this.NotCachedPages = value; return this; }
        public Integer getCountAllSites() { return CountAllSites; }
        public UncachedPagesProxy setCountAllSites(Integer value) { this.CountAllSites = value; return this; }
        public Integer getCountCurrentSite() { return CountCurrentSite; }
        public UncachedPagesProxy setCountCurrentSite(Integer value) { this.CountCurrentSite = value; return this; }
    }

    public static class PageProxy
    {
        public String Title = null;
        public String ParentPagesTitles = null;
        public String WorkflowStatus = null;
        public Boolean HasDraftNewerThanPublished = null;
        
        public String getTitle() { return Title; }
        public PageProxy setTitle(String value) { this.Title = value; return this; }
        public String getParentPagesTitles() { return ParentPagesTitles; }
        public PageProxy setParentPagesTitles(String value) { this.ParentPagesTitles = value; return this; }
        public String getWorkflowStatus() { return WorkflowStatus; }
        public PageProxy setWorkflowStatus(String value) { this.WorkflowStatus = value; return this; }
        public Boolean isHasDraftNewerThanPublished() { return HasDraftNewerThanPublished; }
        public PageProxy setHasDraftNewerThanPublished(Boolean value) { this.HasDraftNewerThanPublished = value; return this; }
    }

}

Java 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}