ivandika3 commented on code in PR #4585:
URL: https://github.com/apache/ozone/pull/4585#discussion_r1321625869
##########
hadoop-hdds/docs/content/interface/ReconApi.md:
##########
@@ -774,6 +774,114 @@ Returns a summary of the current state of the Ozone
cluster.
}
```
+## Volumes (admin only)
+
+### GET /api/v1/om/volumes
Review Comment:
Thank you for the review. I have removed the /om from the path. PTAL. Thank
you.
##########
hadoop-hdds/docs/content/interface/ReconApi.md:
##########
@@ -774,6 +774,114 @@ Returns a summary of the current state of the Ozone
cluster.
}
```
+## Volumes (admin only)
+
+### GET /api/v1/om/volumes
+
+**Parameters**
+
+* prevKey (optional)
+
+ Only returns the volume after the given prevKey.
+ Example: prevKey=vol1
+
+* limit (optional)
+
+ Only returns the limited number of results. The default limit is 1000.
+
+**Returns**
+
+Returns all the volumes in the cluster.
+
+```json
+ {
+ "totalCount": 4,
+ "volumes": [{
+ "volume": "vol1",
+ "owner": "testuser",
+ "admin": "ozone",
+ "creationTime": "2019-11-26T21:18:43.688Z",
+ "modificationTime": "2019-11-26T21:18:46.062Z",
+ "quotaInNamespace": 2048,
+ "quotaInBytes": 1073741824,
+ "usedNamespace": 10,
+ "acls": [
+ {
+ "type": "USER",
+ "name": "testuser",
+ "scope": "ACCESS",
+ "aclList": [
+ "WRITE",
+ "READ",
+ "DELETE"
+ ]
+ }
+ ]
+ },
+ ...
+ ]
+ }
+```
+
+## Buckets (admin only)
+
+### GET /api/v1/om/buckets
Review Comment:
Addressed. PTAL.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]