/public/permissions/<itemID>
You can get persmissions on a public item or modify its permissions.
Getting Permissions on an Item
You can fetch the permissions you have on a public item through an API.
API Request Details
|
URL |
/api/v1/content/public/permissions/<itemID> |
|
Request Type |
GET |
|
Content Type |
application/json |
Modifying Item Permissions
You can modify your permissions on the public items in your Content Network through an API.
API Request Details
|
URL |
/api/v1/content/public/permissions/<itemID> |
|
Request Type |
PATCH |
|
Content Type |
application/json |
permission - Specifies a sharing entity and the content can be shared with some tenant by different means.
-
list (mandatory) - true/false - The tenant should be able to only view the package (export unit).
-
read (mandatory) - true/false - The tenant should be able to view and import the package (export unit).
-
write (mandatory) - true/false - The tenant should be able to view, import and export,edit the package (export unit).
-
delete (mandatory) - true/false - The tenant should be able to delete the package (export unit).
-
tenantUrl - The tenant URL of the tenant the content is being shared.
-
landscapeId - The landscape ID of the tenant the content is being shared. As the multiple landscape is not supported yet, you can keep the value as null when shared using tenant URL.
-
oemId - The OEM ID of the tenants.
-
erpNumber -The ERP Number of the tenants.