> @@ -80,6 +80,23 @@
> @Fallback(NullOnNotFoundOr404.class)
> @Path("/")
> @Nullable
> + ObjectList list();
> +
> + /**
> + * Lists up to 10,000 objects.
> + *
> + * @param options
> + * the {@link ListContainerOptions} for controlling the
> returned list.
> + *
> + * @return an {@link ObjectList} of {@link SwiftObject} ordered by name
> or {@code null}.
> + */
> + @Named("object:list")
> + @GET
> + @QueryParams(keys = "format", values = "json")
> + @ResponseParser(ParseObjectListFromResponse.class)
> + @Fallback(NullOnNotFoundOr404.class)
As discussed in IRC, we can fix this post-1.7.2 to ensure that the default
behavior is to return an empty ObjectList.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/89/files#r11273935