GET | /RestApi/diagnostics/uncached-pages |
---|
namespace Telerik.Sitefinity.Diagnostics.Tools.PerformanceTips.Web.Services.Dto.Request
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type GetUncachedPages() =
member val CountOnly:Boolean = new Boolean() with get,set
member val Skip:Int32 = new Int32() with get,set
member val Take:Int32 = new Int32() with get,set
member val SiteRootNodeId:Guid = new Guid() with get,set
[<AllowNullLiteral>]
type PageProxy() =
member val Title:String = null with get,set
member val ParentPagesTitles:String = null with get,set
member val WorkflowStatus:String = null with get,set
member val HasDraftNewerThanPublished:Boolean = new Boolean() with get,set
[<AllowNullLiteral>]
type UncachedPagesProxy() =
member val NotCachedPages:ResizeArray<PageProxy> = new ResizeArray<PageProxy>() with get,set
member val CountAllSites:Int32 = new Int32() with get,set
member val CountCurrentSite:Int32 = new Int32() with get,set
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}