Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 31 additions & 1 deletion sections/lineup_markers.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,39 @@ Lineup Markers

Endpoints:

- [List markers](#list-markers)
- [Create a marker](#create-a-marker)
- [Update a marker](#update-a-marker)
- [Destroy a marker](#destroy-a-step)
- [Destroy a marker](#destroy-a-marker)

List markers
-----------------------

* `GET /lineup/markers.json` returns all markers for the account.

Comment thread
jeremy marked this conversation as resolved.
This endpoint will return `200 OK` with a JSON array of markers.

###### Example JSON Response
<!-- START GET /lineup/markers.json -->
```json
[
{
"id": 1,
"name": "Anniversary",
"date": "2021-01-01",
"created_at": "2020-12-15T10:30:00.000Z",
"updated_at": "2020-12-15T10:30:00.000Z"
}
]
```
<!-- END GET /lineup/markers.json -->

###### Copy as cURL

```shell
curl -s -H "Authorization: Bearer $ACCESS_TOKEN" -H "Content-Type: application/json" \
https://3.basecampapi.com/$ACCOUNT_ID/lineup/markers.json
```

Create a marker
-------------------------
Expand Down