GET | /tags | Use to get tags related to recently completed items |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class TagsForRecentItemsRequest extends BasicResourceLibraryRequest
{
}
public static class BasicResourceLibraryRequest
{
public Integer resourceLibraryMemberId = null;
public Integer getResourceLibraryMemberId() { return resourceLibraryMemberId; }
public BasicResourceLibraryRequest setResourceLibraryMemberId(Integer value) { this.resourceLibraryMemberId = value; return this; }
}
public static class TagsForRecentItemsResponse
{
public ArrayList<Tag> tags = null;
public ArrayList<Tag> getTags() { return tags; }
public TagsForRecentItemsResponse setTags(ArrayList<Tag> value) { this.tags = value; return this; }
}
public static class Tag
{
public String id = null;
public String title = null;
public String getId() { return id; }
public Tag setId(String value) { this.id = value; return this; }
public String getTitle() { return title; }
public Tag setTitle(String value) { this.title = value; return this; }
}
}
Java TagsForRecentItemsRequest 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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /tags HTTP/1.1 Host: resourcelibrary.api.ashcompanies.com Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"tags":null}