Interface FlavorApi
public interface FlavorApi
This API strictly for listing and retrieving Flavor. Flavors cannot be created or deleted.
- See Also:
- 
Method Details- 
list@Named("flavor:list") @GET @Path("/flavors") @Consumes("application/json") com.google.common.collect.FluentIterable<Flavor> list()Returns a summary list of Flavors.- Returns:
- The list of Flavors.
 
- 
get@Named("flavors:get/{id}") @GET @Path("/flavors/{id}") @Consumes("application/json") Flavor get(@PathParam("id") int flavorId) Returns a Flavor by id.- Parameters:
- flavorId- The id of the Flavor.
- Returns:
- Flavor The Flavor for the specified id.
 
- 
list@Named("flavors:get/{id}") @GET @Path("/flavors/{id}") @Consumes("application/json") com.google.common.collect.FluentIterable<Flavor> list(@PathParam("id") String accountId) Returns a list of Flavors by Account ID (Tenant Id).- Parameters:
- flavorId- The id of the tenant.
- Returns:
- The list of Flavors for Account/Tenant Id.
 
 
-