- URL:
- https://[root]/portals/[portalID]/collaborations
- Methods:
GET- Operations:
- Accept Invitation, Create Collaboration, Validate Invitation, Validate Invitation Response
- Child Resources:
- Collaboration
- Required Capability:
- Administrator
- Version Introduced:
- 10.5
Example usage
The following is a sample ArcGIS Online request URL used to access the collaborations resource:
https://org.example.com/sharing/rest/portals/0123456789ABCDEF/collaborations?f=pjsonThe following is a sample ArcGIS Enterprise request URL used to access the collaborations resource:
https://organization.example.com/<context>/sharing/rest/portals/0123456789ABCDEF/collaborations?f=pjsonDescription
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 |
|---|---|
| The response format. The default is Values: |
| Introduced at ArcGIS Enterprise 12.1. The number of the first entry in the result set response. The index number is 1-based. The default value of Example |
| Introduced at ArcGIS Enterprise 12.1. The maximum number of results to be included in the result set response. The default value is Example |
| Introduced at ArcGIS Enterprise 12.1. The field to sort by. Sort field names are not case sensitive. Values: |
| Introduced at ArcGIS Enterprise 12.1. Describes whether the results are returned in ascending or descending order. The default is ascending. Values: |
| Introduced at ArcGIS Enterprise 12.1. Structured filtering through specifying a field name followed by a colon and the term you are looking for with double quotation marks. It is designed to allow passing in application level filters based on its context. Specified field value should be an exact keyword match of the value interested, partially match the filter keyword will fail the matching and not return meaningful results. This parameter supports filtering collaborations by their Example: |
JSON Response example
{
"total": 2,
"start": 1,
"num": 25,
"nextStart": -1,
"collaborations": [
{
"id": "4d95473e963942bf9ad6204095195e7b",
"name": "Fire Weather Watch Collaboration",
"description": "A collaboration between ArcGIS Enterprise and ArcGIS Online",
"collaborationHostPortalId": "02c2cef9-bb19-472d-b867-46bcd987bf71",
"config": {
"ownerUsername": "admin"
},
"created": 1475859400628,
"modified": 1475859400628
"accountId": "0123456789ABCDEF", //Added at 12.1
"lastSyncFailureCount": 0, //Added at 12.1
"hostOrganizationName": "ArcGIS Enterprise", //Added at 12.1
"hostOrganizationContact": "admin@me.com", //Added at 12.1
"hostOrganizationType": "ArcGISEnterprise 12.1.0", //Added at 12.1
"invitationsPendingCount": 0 //Added at 12.1
}
]
}