Retrieve a catalog of all activities in your community.
Resource URL
/v2/applications/{communityApiKeyName}/datasets/activity
Note:
Use the appropriate regional endpoint to ensure that you comply with your organization's privacy policy, and applicable laws and regulations. For details about the available regional endpoints, and how to identify your organization's region, see Shared responsibility.
Available methods
| Method | Description |
|---|---|
| GET | Get a catalog of all the activities in your community. |
Available fields
| Element | Description |
|---|---|
id
|
The string GUID of the activity. |
meta
|
The
meta element is a property container with the
following elements:
|
name
|
The name of the activity. |
Example
[
{
"id": <GUID of the activity 1>,
"name": <string name of the activity 1>,
"meta": {
"datasetType": <survey|sparq1survey>,
"createdById": <GUID of the user that created the activity>,
"createdDate": <date-time UTC the survey was created>,
"closedDate": <date-time UTC the survey closed>,
"status": <Open|Closed>,
"allowMultipleResponses": <True|False>
}
},
{
"id": <GUID of the activity 2>,
"name": <string name of the activity 2>,
"meta": {
"datasetType": <survey|sparq1survey>,
"createdById": <GUID of the user that created the activity>,
"createdDate": <date-time UTC the survey was created>,
"closedDate": <date-time UTC the survey closed>,
"status": <Open|Closed>,
"allowMultipleResponses": <True|False>
}
}
]