<back to all web services

GetUncachedPages

The following routes are available for this service:
GET/RestApi/diagnostics/uncached-pages
import Foundation
import ServiceStack

public class GetUncachedPages : Codable
{
    public var countOnly:Bool
    public var skip:Int
    public var take:Int
    public var siteRootNodeId:String

    required public init(){}
}

public class UncachedPagesProxy : Codable
{
    public var notCachedPages:[PageProxy] = []
    public var countAllSites:Int
    public var countCurrentSite:Int

    required public init(){}
}

public class PageProxy : Codable
{
    public var title:String
    public var parentPagesTitles:String
    public var workflowStatus:String
    public var hasDraftNewerThanPublished:Bool

    required public init(){}
}


Swift GetUncachedPages DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + 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}