Instructions
All of the following actions are performed in the Admin section of CDC, access it from the user menu on the top right, select "Admin"
Create and configure a permissions group
- Within the Admin section click "Permissions Groups" from the left menu.
- Click the "Create group" button.
- Enter the following details:
- Name:
jmc_[attendee ID]_api
(example: jmc_w08_api
).
- Description: "Permission Group for Rest API workshop."
- Refresh the page.
- Click the ✎ edit button (pencil icon) next to your new permission group.
- Modify with the following details:
- [Privileges Tab] -> Check all boxes under the "External Integrations" heading.
Click "Update" (up the top).
- [Scope Tab] -> Choose "This group applies only to the sites listed below."
Now find your CDC site in the list below and check it.
Click "Update".
- [Data access] -> On the top-right, click the switcher to change it to "Full Data Access.".
Great! You've just created a permissions group!
Create an application
- Within the Admin section click "Applications" from the left menu.
- Click the "Create New Application" button.
- Enter the following details:
- Name:
jmc_[attendee ID]_app
(example: jmc_w08_app
).
- Group: Choose the permissions group that you created earlier (example:
jmc_w08_api
).
- A confirmation screen appears, please copy the "User Key" and "Secret" (you will use them later).
- Click the "Close" button.
- Refresh the page.
- Click the ✎ edit button (pencil icon) next to your new application.
- Confirm your application details, also check out the "Groups" and "Resolved privileges" tabs.
Excellent! You now have an application with permissions assigned that you can use to query the REST API later.
< Home page