<back to all web services

GetUncachedLibraries

The following routes are available for this service:
GET/RestApi/diagnostics/uncached-libraries
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 GetUncachedLibraries
            Public Overridable Property CountOnly As Boolean
            Public Overridable Property Skip As Integer
            Public Overridable Property Take As Integer
            Public Overridable Property SiteId As Guid
        End Class
    End Namespace

    Namespace Telerik.Sitefinity.Diagnostics.Tools.PerformanceTips.Web.Services.Dto.Response

        Public Enum CacheProfileType
            Client
            Server
            Both
        End Enum

        Public Partial Class MediaLibraryProxy
            Public Overridable Property Title As String
            Public Overridable Property LibraryType As String
            Public Overridable Property CacheProfileType As CacheProfileType
        End Class

        Public Partial Class UncachedLibrariesProxy
            Public Sub New()
                NotCachedLibraries = New List(Of MediaLibraryProxy)
            End Sub

            Public Overridable Property NotCachedLibraries As List(Of MediaLibraryProxy)
            Public Overridable Property CountAllSites As Integer
            Public Overridable Property CountCurrentSite As Integer
        End Class
    End Namespace
End Namespace

VB.NET GetUncachedLibraries 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-libraries HTTP/1.1 
Host: www.asg.com.au 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"NotCachedLibraries":[{"Title":"String","LibraryType":"String","CacheProfileType":"Client"}],"CountAllSites":0,"CountCurrentSite":0}