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(){}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
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/jsonl
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"NotCachedPages":[{"Title":"String","ParentPagesTitles":"String","WorkflowStatus":"String","HasDraftNewerThanPublished":false}],"CountAllSites":0,"CountCurrentSite":0}