Update docs and formatting

This commit is contained in:
Nick Mowen 2022-03-12 09:40:26 -07:00
parent 11d7b31d53
commit 5d5683621f

View File

@ -188,14 +188,12 @@ Sets retain to false for the event id (event may be deleted quickly after removi
### `POST /api/events/<id>/sub_label` ### `POST /api/events/<id>/sub_label`
Set a sub label for a person event. For example to update `person` -> `person's name` if they were recognized with facial recognition. Set a sub label for an event. For example to update `person` -> `person's name` if they were recognized with facial recognition.
``` ```json
Headers: {
Content-Type: application/json "subLabel": "some_string"
}
Body:
subLabel
``` ```
### `DELETE /api/events/<id>/sub_label` ### `DELETE /api/events/<id>/sub_label`