Skip to content

Commit

Permalink
Update docs site
Browse files Browse the repository at this point in the history
  • Loading branch information
noah-schechter committed Sep 2, 2024
1 parent 6ecb3db commit 504e3aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/docs/Technical/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,11 @@ requests.post(
```

### Update an incident's attribute value
`POST /api/v2/update/:slug/:attribute_name` updates the attribute `:attribute_name` in the incident with slug `:slug`. It has two parameters:
`POST /api/v2/update/:slug/:attribute_identifier` updates the attribute `:attribute_identifier` in the incident with slug `:slug`. It has two parameters:
- `value`, the new value of the attribute (required). For text or single-select attributes, `value` should be a string. For multi-select attributes, `value` should be a list of strings.
- `message`, a string to be displayed as an explanation for the update (optional). If `message` is provided, it will be added as a comment to the incident (as part of the tracked change).

The `:attribute_name` may not be the name of the attribute displayed in the interface:
You can find the `:attribute_identifier` in the **Access** pane of your project. Attribute's names in the Atlos interface are different from their API identifiers:
- Core attributes have string names (such as `description` and `status`).
- Custom attributes are identified by a long ID.

Expand Down

0 comments on commit 504e3aa

Please sign in to comment.