> + */
> +@RequestFilters(AuthenticateRequest.class)
> +@Path("/v2/images")
> +public interface ImageApi {
> +
> + /**
> + * List all images (all details)
> + *
> + * @return all images (all details)
> + */
> + @GET
> + @Consumes(APPLICATION_JSON)
> + @ResponseParser(ParseImages.class)
> + @Transform(ParseImages.ToPagedIterable.class)
> + @Fallback(EmptyPagedIterableOnNotFoundOr404.class)
> + PagedIterable<? extends Image> list();
Every method in an API should have a `@Named` annotation (take a look for
example at the [ClaimApi in
Marconi](https://github.com/sallum/jclouds-labs-openstack/blob/glance-v2/openstack-marconi/src/main/java/org/jclouds/openstack/marconi/v1/features/ClaimApi.java#L88)).
This will allow users to configure specific timeouts for each request, by
configuring a timeout property with the defined name.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/77/files#r9094436