Skip to content

Commit 737439b

Browse files
Allow giving pages flag to resource details API
1 parent 3f4ee56 commit 737439b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/com/cloudinary/Api.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public Map resource(String public_id, Map options) throws Exception {
127127
String resourceType = Cloudinary.asString(options.get("resource_type"), "image");
128128
String type = Cloudinary.asString(options.get("type"), "upload");
129129
return callApi(HttpMethod.GET, Arrays.asList("resources", resourceType, type, public_id),
130-
only(options, "exif", "colors", "faces", "max_results"), options);
130+
only(options, "exif", "colors", "faces", "pages", "max_results"), options);
131131
}
132132

133133
public Map deleteResources(Iterable<String> publicIds, Map options) throws Exception {

0 commit comments

Comments
 (0)