Public Endpoint - Custom Markers
This endpoint is an alternative to our markers api endpoint endpoint, and uses a different authentication method.
Endpoint
Request method: POST
Endpoint | Description |
---|---|
https://appsignal-endpoint.net/markers | Accepts JSON formatted data |
URL parameters
Depending on the API key you'd like to use, you can either:
Push API key
Parameter | Type | Description |
---|---|---|
api_key | String | Push API key, can be found in App settings. |
name | String | The application name. |
environment | String | The environment that the application is running in. |
Shell
https://appsignal-endpoint.net/markers?api_key=<api_key>&name=<name>&environment=<environment>
Front-end API key
Parameter | Type | Description |
---|---|---|
api_key | String | Front-end API key, can be found in App settings. |
Shell
https://appsignal-endpoint.net/markers?api_key=<api_key>
Body parameters
The post body should contain a JSON object, formatted as follows:
Parameter | Type | Description |
---|---|---|
created_at | Date - ISO 8601 | Time at which to insert the marker. Leave empty to use the current time. |
icon | String - Optional | Emoji to use for this Custom marker, defaults to 🚀. |
message | String - Optional | Message shown when hovering over the marker in the UI. Truncated to 200 characters. |
For example:
JSON
{ "created_at": "2015-07-21T15:06:31.737+02:00", "icon": "🚀", "message": "Upscaled the database for better performance" }