- URL:https://[root]/portals/[portalID]/collaborations
- Operations:Accept Invitation, Create Collaboration, Validate Invitation, Validate Invitation Response
- Child Resources:Collaboration
- Required Capability:Administrator
- Version Introduced:10.5
Example usage
Below is a sample ArcGIS Online request URL used to access the collaborations resource:
https://org.domain.com/sharing/rest/portals/0123456789ABCDEF/collaborations?f=pjson
Below is a sample ArcGIS Enterprise request URL used to access the collaborations resource:
https://machine.domain.com/webadaptor/sharing/rest/portals/0123456789ABCDEF/collaborations?f=pjson
Description
The collaborations resource lists all collaborations in which a portal participates. This includes collaborations for which the portal is a collaboration host or a collaboration guest. See About distributed collaboration for more information about collaboration patterns and use cases.
Request parameters
Parameter | Details |
---|---|
f | The response format. The default is html. Values: html | json | pjson |
JSON Response example
{
"total": 2,
"start": 1,
"num": 25,
"nextStart": -1,
"collaborations": [
{
"id": "4d95473e963942bf9ad6204095195e7b",
"name": "Test Collaboration",
"description": "A test collaboration between ArcGIS Enterprise and ArcGIS Online",
"collaborationHostPortalId": "02c2cef9-bb19-472d-b867-46bcd987bf71",
"config": {
"ownerUsername": "admin"
},
"created": 1475859400628,
"modified": 1475859400628
}
]
}