<back to all web services

GetCdnImages

The following routes are available for this service:
GET/RestApi/diagnostics/cdn-images
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 GetCdnImages
        End Class
    End Namespace

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

        Public Partial Class BlobProviderProxy
            Public Overridable Property Name As String
            Public Overridable Property CdnUrl As String
        End Class

        Public Partial Class CdnImagesProxy
            Public Sub New()
                Providers = New List(Of BlobProviderProxy)
            End Sub

            Public Overridable Property Providers As List(Of BlobProviderProxy)
        End Class
    End Namespace
End Namespace

VB.NET GetCdnImages DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /RestApi/diagnostics/cdn-images HTTP/1.1 
Host: www.asg.com.au 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Providers: 
	[
		{
			Name: String,
			CdnUrl: String
		}
	]
}