Markers indicate points in time on graphs where interesting things happen, such as deploys or outages.
This API allows you to list, create, update, and delete Markers.
The API key must have the Manage Markers permission. Learn more about API keys here.
Create a Marker in the specified dataset. To create an environment marker, use the __all__
keyword and an API key associated with the desired environment.
The marker body can include as many of the Marker fields as desired.
start_time | integer Indicates the time the Marker should be placed. If missing, defaults to the time the request arrives. Expressed in Unix Time. |
end_time | integer Specifies end time, and allows a Marker to be recorded as representing a time range, such as a 5 minute deploy. Expressed in Unix Time. |
message | string A message to describe this specific Marker. |
type | string Groups similar Markers. For example, |
url | string A target for the marker. Clicking the marker text will take you to this URL. |
Created
Unauthorized
Not Found
Error
{- "start_time": 1471040808,
- "end_time": 1668453920,
- "message": "backend deploy #123",
- "type": "deploy",
}
{- "created_at": "2016-08-13T05:39:42Z",
- "updated_at": "2016-08-13T05:39:42Z",
- "start_time": 1471040808,
- "message": "backend deploy #123",
- "type": "deploy",
- "id": "d1c84ec0"
}
Lists all Markers for a dataset.
Success
Unauthorized
Error
[- {
- "created_at": "2016-08-13T05:39:42Z",
- "updated_at": "2016-08-13T05:39:42Z",
- "start_time": 1471040808,
- "message": "backend deploy #123",
- "type": "deploy",
- "id": "d1c84ec0"
}, - {
- "created_at": "2016-08-14T05:39:42Z",
- "updated_at": "2016-08-14T05:39:42Z",
- "start_time": 1471040808,
- "message": "frontend deploy #123",
- "type": "deploy",
- "id": "c2b52fa0"
}
]
Update a Marker in the specified dataset. To update an environment marker, use the __all__
keyword and an API key associated with the desired environment.
If an existing field is not included in the payload, it will be erased.
start_time | integer Indicates the time the Marker should be placed. If missing, defaults to the time the request arrives. Expressed in Unix Time. |
end_time | integer Specifies end time, and allows a Marker to be recorded as representing a time range, such as a 5 minute deploy. Expressed in Unix Time. |
message | string A message to describe this specific Marker. |
type | string Groups similar Markers. For example, |
url | string A target for the marker. Clicking the marker text will take you to this URL. |
Updated
Unauthorized
Not Found
Error
{- "start_time": 1471040808,
- "end_time": 1668453920,
- "message": "backend deploy #123",
- "type": "deploy",
}
{- "created_at": "2016-08-13T05:39:42Z",
- "updated_at": "2016-08-13T05:39:42Z",
- "start_time": 1471040808,
- "message": "backend deploy #123",
- "type": "deploy",
- "id": "d1c84ec0"
}
Success
The deleted Marker will be in the body of the response.
Unauthorized
Not Found
Error
{- "created_at": "2016-08-13T05:39:42Z",
- "updated_at": "2016-08-13T05:39:42Z",
- "start_time": 1471040808,
- "message": "backend deploy #123",
- "type": "deploy",
- "id": "d1c84ec0"
}