Gerri API

Playbooks

Endpoints for listing and retrieving playbooks for the current organization.


Retrieve all playbooks

GET
https://api.gerri.commonpaper.com
/v1/organizations/{organization_id}/playbooks

Lists all playbooks for the current organization.

Retrieve all playbooks › path Parameters

organization_id
​string · uuid · required

Organization id

Retrieve all playbooks › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Retrieve all playbooks › Responses

200

A list of playbooks for the organization


Create a playbook

POST
https://api.gerri.commonpaper.com
/v1/organizations/{organization_id}/playbooks

Creates a new playbook for the current organization. name is required; description is optional.

Create a playbook › path Parameters

organization_id
​string · uuid · required

Organization id

Create a playbook › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Create a playbook › Request Body

name
​string · required

Name for the new playbook.

description
​string

Optional description for the new playbook.

Create a playbook › Responses

Playbook created; returns the new playbook resource


Retrieve a playbook

GET
https://api.gerri.commonpaper.com
/v1/organizations/{organization_id}/playbooks/{playbook_id}

Shows one playbook for the current organization (by id).

Retrieve a playbook › path Parameters

organization_id
​string · uuid · required

Organization id

playbook_id
​string · uuid · required

Playbook id

Retrieve a playbook › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Retrieve a playbook › Responses

A single playbook


Update a playbook

PATCH
https://api.gerri.commonpaper.com
/v1/organizations/{organization_id}/playbooks/{playbook_id}

Updates the name and/or description of a single playbook. Send only the fields you want to change.

Update a playbook › path Parameters

organization_id
​string · uuid · required

Organization id

playbook_id
​string · uuid · required

Playbook id

Update a playbook › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Update a playbook › Request Body

name
​string

New name for the playbook.

description
​string

New description for the playbook.

Update a playbook › Responses

Updated playbook


Archive a playbook

DELETE
https://api.gerri.commonpaper.com
/v1/organizations/{organization_id}/playbooks/{playbook_id}

Archives one playbook for the current organization (by id).

Archive a playbook › path Parameters

organization_id
​string · uuid · required

Organization id

playbook_id
​string · uuid · required

Playbook id

Archive a playbook › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Archive a playbook › Responses

Playbook archived; no content returned

No data returned