GET | /RestApi/diagnostics/uncached-pages |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class GetUncachedPages
{
var CountOnly:Boolean? = null
var Skip:Int? = null
var Take:Int? = null
var SiteRootNodeId:UUID? = null
}
open class UncachedPagesProxy
{
var NotCachedPages:ArrayList<PageProxy> = ArrayList<PageProxy>()
var CountAllSites:Int? = null
var CountCurrentSite:Int? = null
}
open class PageProxy
{
var Title:String? = null
var ParentPagesTitles:String? = null
var WorkflowStatus:String? = null
var HasDraftNewerThanPublished:Boolean? = null
}
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}