Interface ComponentResource
@Path("component")
@Consumes("application/json")
@Produces("application/json")
public interface ComponentResource
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsefamilyIcon(String id, String theme) getDependencies(String[] ids) javax.ws.rs.core.StreamingOutputgetDependency(String id) javax.ws.rs.core.ResponsegetIconIndex(String theme) javax.ws.rs.core.Responsejavax.ws.rs.core.Response
-
Field Details
-
IMAGE_SVG_XML
- See Also:
-
-
Method Details
-
getDependencies
-
getDependency
@GET @Path("dependency/{id}") @Produces("application/octet-stream") javax.ws.rs.core.StreamingOutput getDependency(@PathParam("id") String id) -
getIndex
@GET @Path("index") ComponentIndices getIndex(@QueryParam("language") @DefaultValue("en") String language, @QueryParam("includeIconContent") @DefaultValue("false") boolean includeIconContent, @QueryParam("q") String query, @QueryParam("theme") String theme) -
familyIcon
@GET @Path("icon/family/{id}") @Produces({"application/json","application/octet-stream"}) javax.ws.rs.core.Response familyIcon(@PathParam("id") String id, @QueryParam("theme") String theme) -
icon
-
icon
-
getIconIndex
@GET @Path("icon/index") @Produces({"application/json","image/svg+xml"}) javax.ws.rs.core.Response getIconIndex(@QueryParam("theme") String theme) -
migrate
-
getDetail
@GET @Path("details") ComponentDetailList getDetail(@QueryParam("language") @DefaultValue("en") String language, @QueryParam("identifiers") String[] ids)
-