Endpoints:
GET /lineup/markers.jsonreturns all markers for the account.
This endpoint will return 200 OK with a JSON array of markers.
[
{
"id": 1,
"name": "Anniversary",
"date": "2021-01-01",
"created_at": "2020-12-15T10:30:00.000Z",
"updated_at": "2020-12-15T10:30:00.000Z"
}
]curl -s -H "Authorization: Bearer $ACCESS_TOKEN" -H "Content-Type: application/json" \
https://3.basecampapi.com/$ACCOUNT_ID/lineup/markers.jsonPOST /lineup/markers.jsoncreates an account-wide marker that shows up in the Lineup.
Required parameters:
nameof the marker.dateof the marker ISO 8601 formatted without a time part.
This endpoint will return 201 Created with an empty response body.
{
"name": "Anniversary",
"date": "2021-01-01"
}curl -s -H "Authorization: Bearer $ACCESS_TOKEN" -H "Content-Type: application/json" \
-d '{"name": "Anniversary", "date": "2021-01-01"}' \
https://3.basecampapi.com/$ACCOUNT_ID/lineup/markers.jsonPUT /lineup/markers/1.jsonchanges name and/or date of the marker with an ID of1.
Optional parameters:
nameof the marker.dateof the marker ISO 8601 formatted without a time part.
This endpoint will return 200 OK with an empty response body.
{
"name": "Updated anniversary"
}curl -s -H "Authorization: Bearer $ACCESS_TOKEN" -H "Content-Type: application/json" \
-d '{"name": "Updated anniversary"}' -X PUT \
https://3.basecampapi.com/$ACCOUNT_ID/lineup/markers/1.jsonDELETE /lineup/markers/1.jsonpermanently destroys the marker with an ID of1immediately.
This endpoint will return 204 No Content.
curl -s -H "Authorization: Bearer $ACCESS_TOKEN" -H "Content-Type: application/json" \
-X DELETE \
https://3.basecampapi.com/$ACCOUNT_ID/lineup/markers/1.json