<back to all web services

GetUncachedLibraries

The following routes are available for this service:
GET/RestApi/diagnostics/uncached-libraries
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class GetUncachedLibraries
    {
        public Boolean CountOnly = null;
        public Integer Skip = null;
        public Integer Take = null;
        public UUID SiteId = null;
        
        public Boolean isCountOnly() { return CountOnly; }
        public GetUncachedLibraries setCountOnly(Boolean value) { this.CountOnly = value; return this; }
        public Integer getSkip() { return Skip; }
        public GetUncachedLibraries setSkip(Integer value) { this.Skip = value; return this; }
        public Integer getTake() { return Take; }
        public GetUncachedLibraries setTake(Integer value) { this.Take = value; return this; }
        public UUID getSiteId() { return SiteId; }
        public GetUncachedLibraries setSiteId(UUID value) { this.SiteId = value; return this; }
    }

    public static class UncachedLibrariesProxy
    {
        public ArrayList<MediaLibraryProxy> NotCachedLibraries = null;
        public Integer CountAllSites = null;
        public Integer CountCurrentSite = null;
        
        public ArrayList<MediaLibraryProxy> getNotCachedLibraries() { return NotCachedLibraries; }
        public UncachedLibrariesProxy setNotCachedLibraries(ArrayList<MediaLibraryProxy> value) { this.NotCachedLibraries = value; return this; }
        public Integer getCountAllSites() { return CountAllSites; }
        public UncachedLibrariesProxy setCountAllSites(Integer value) { this.CountAllSites = value; return this; }
        public Integer getCountCurrentSite() { return CountCurrentSite; }
        public UncachedLibrariesProxy setCountCurrentSite(Integer value) { this.CountCurrentSite = value; return this; }
    }

    public static class MediaLibraryProxy
    {
        public String Title = null;
        public String LibraryType = null;
        public CacheProfileType CacheProfileType = null;
        
        public String getTitle() { return Title; }
        public MediaLibraryProxy setTitle(String value) { this.Title = value; return this; }
        public String getLibraryType() { return LibraryType; }
        public MediaLibraryProxy setLibraryType(String value) { this.LibraryType = value; return this; }
        public CacheProfileType getCacheProfileType() { return CacheProfileType; }
        public MediaLibraryProxy setCacheProfileType(CacheProfileType value) { this.CacheProfileType = value; return this; }
    }

    public static enum CacheProfileType
    {
        Client,
        Server,
        Both;
    }

}

Java GetUncachedLibraries DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

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