> + @GET
> + @Path("/b2api/v1/b2_list_file_names")
> + @MapBinder(BindToJsonPayload.class)
> + @RequestFilters(RequestAuthorization.class)
> + @Consumes(APPLICATION_JSON)
> + @Produces(APPLICATION_JSON)
> + B2ObjectList listFileNames(@PayloadParam("bucketId") String bucketId,
> @PayloadParam("startFileName") @Nullable String startFileName,
> @PayloadParam("maxFileCount") @Nullable Integer maxFileCount);
> +
> + @Named("b2_list_file_versions")
> + @GET
> + @Path("/b2api/v1/b2_list_file_versions")
> + @MapBinder(BindToJsonPayload.class)
> + @RequestFilters(RequestAuthorization.class)
> + @Consumes(APPLICATION_JSON)
> + @Produces(APPLICATION_JSON)
> + B2ObjectList listFileVersions(@PayloadParam("bucketId") String bucketId,
> @PayloadParam("startFileId") @Nullable String startFileId,
> @PayloadParam("startFileName") @Nullable String startFileName,
> @PayloadParam("maxFileCount") @Nullable Integer maxFileCount);
Does it make sense to add a null fallback on 404 for these list methods?
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/276/files/d27eef19e1ef39d560170786aa7a9ef1f711b71b#r65691856