cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Quota infomation and set Quota maxsize from Automation API or REST API?

Jiang_Chuan
Champ on-the-rise
Champ on-the-rise

Is there any guide or example about set Quota Info and get Quota Info from API?

6 REPLIES 6

pibou_Bouvret
Elite Collaborator
Elite Collaborator

In order to get it, you just have to ask for the right schemas when calling for a document or documents. about POST, I do not think those field are supposed to be modified as they are computed by the platform

Hi Bouvret,

I found a nuxeo-quota project at https

"schemas" is an option when instantiating Nuxeo in Javascript client, ex

Hi Bouvret, I still can not get the quota information. I updated my result as a new answer so that I can attach a picture.

Jiang_Chuan
Champ on-the-rise
Champ on-the-rise

I can get workspace Quota information such as Total Size and Trash Size from dashboard. As is shown in the figure. I want to get the same information from java client. Currently my code is like this: NuxeoClient nuxeoClient = new NuxeoClient(url, "XXXXXX", "XXXXX"); nuxeoClient = nuxeoClient.schemas("*"); Document root = nuxeoClient.repository().fetchDocumentByPath("/default-domain/workspaces/test"); In the root variable, I can not find any size information. How should get the size information of workspace in java client?

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.