File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
doc/sphinx-guides/source/api Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -1316,9 +1316,11 @@ The following convenience API shows the dynamic values of the *remaining* storag
13161316 curl -H "X-Dataverse-key: $API_TOKEN" "http://localhost:8080/api/datasets/$dataset-id/uploadlimits"
13171317 {
13181318 "status": "OK",
1319- "uploadLimits": {
1320- "numberOfFilesRemaining": 20,
1321- "storageQuotaRemaining": 1048576
1319+ "data": {
1320+ "uploadLimits": {
1321+ "numberOfFilesRemaining": 20,
1322+ "storageQuotaRemaining": 1048576
1323+ }
13221324 }
13231325 }
13241326
@@ -1328,7 +1330,9 @@ Or, when neither limit is present:
13281330
13291331 {
13301332 "status": "OK",
1331- "uploadLimits": {}
1333+ "data": {
1334+ "uploadLimits": {}
1335+ }
13321336 }
13331337
13341338 This API requires the Edit permission on the dataset.
You can’t perform that action at this time.
0 commit comments