cancel
Showing results for 
Search instead for 
Did you mean: 

How do i create and manage the Tenants in nuxeo using API ?

Narendra_Choudh
Confirmed Champ
Confirmed Champ

create and manage 'new tenant' into Nuxeo using APIs exposed by Nuxeo. I should be able to create Tenant, Update Tenant and its Configuration and Delete Tenant and list Tenants.

1 ACCEPTED ANSWER

Fred_Vadon
Star Contributor
Star Contributor

Hi!

In Nuxeo, we expose to the Rest API what we call Automation Operations, you can have the full description here: http://doc.nuxeo.com/x/FIAO

So it means that for each module, to know the default possibilities, you have to look at the automation operations available for it. In case of multi-tenant, there are 2 operations as you can see here: https://github.com/nuxeo/nuxeo-multi-tenant/tree/master/src/main/java/org/nuxeo/ecm/multi/tenant/ope...

So for the use case you mentioned, you would probably have to write your own operations to expose the feature you'd like. Our Eclipse plugin is here to help you do that: http://doc.nuxeo.com/x/qInZ

Hope it will help you!

Fred

View answer in original post

4 REPLIES 4

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

With the multi-tenant addon ?

Narendra_Choudh
Confirmed Champ
Confirmed Champ

Yeah Multi-tenant addon is already been added but i dont want to use the nuxeo application to do the same instead i should be able to do the same using the Rest API exposed by the nuxeo ....

Narendra_Choudh
Confirmed Champ
Confirmed Champ

Please help and let me know the if they have exposed the API's for the same or not ? so that i can think of making the REST API for the same,

Fred_Vadon
Star Contributor
Star Contributor

Hi!

In Nuxeo, we expose to the Rest API what we call Automation Operations, you can have the full description here: http://doc.nuxeo.com/x/FIAO

So it means that for each module, to know the default possibilities, you have to look at the automation operations available for it. In case of multi-tenant, there are 2 operations as you can see here: https://github.com/nuxeo/nuxeo-multi-tenant/tree/master/src/main/java/org/nuxeo/ecm/multi/tenant/ope...

So for the use case you mentioned, you would probably have to write your own operations to expose the feature you'd like. Our Eclipse plugin is here to help you do that: http://doc.nuxeo.com/x/qInZ

Hope it will help you!

Fred