GET | /RestApi/diagnostics/uncached-pages |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Telerik.Sitefinity.Diagnostics.Tools.PerformanceTips.Web.Services.Dto.Request
Imports Telerik.Sitefinity.Diagnostics.Tools.PerformanceTips.Web.Services.Dto.Response
Namespace Global
Namespace Telerik.Sitefinity.Diagnostics.Tools.PerformanceTips.Web.Services.Dto.Request
Public Partial Class GetUncachedPages
Public Overridable Property CountOnly As Boolean
Public Overridable Property Skip As Integer
Public Overridable Property Take As Integer
Public Overridable Property SiteRootNodeId As Guid
End Class
End Namespace
Namespace Telerik.Sitefinity.Diagnostics.Tools.PerformanceTips.Web.Services.Dto.Response
Public Partial Class PageProxy
Public Overridable Property Title As String
Public Overridable Property ParentPagesTitles As String
Public Overridable Property WorkflowStatus As String
Public Overridable Property HasDraftNewerThanPublished As Boolean
End Class
Public Partial Class UncachedPagesProxy
Public Sub New()
NotCachedPages = New List(Of PageProxy)
End Sub
Public Overridable Property NotCachedPages As List(Of PageProxy)
Public Overridable Property CountAllSites As Integer
Public Overridable Property CountCurrentSite As Integer
End Class
End Namespace
End Namespace
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}