Charts
Create Chart
POST
https://api.appmixer.com/charts
This method is not meant to be implemented by applications embedding Appmixer SDK. Creating chart requires complex objects (options, query, traces), their structure goes beyond this documentation. appmixer.ui.InsightsChartEditor
SDK component should be used to build Charts.
Request Body
Name | Type | Description |
---|---|---|
traces | object | The aggregations that are represented on the chart along with their sources (flows, components). |
query | object | Object representing time range for the chart. |
options | object | Object with the visualization options for the chart. |
index | number | The position of the chart in the dashboard. |
type | string | Type of the chart. |
name | string | Name of the chart. |
Update Chart
PUT
https://api.appmixer.com/charts/:chartId
The same properties as in Create Chart API endpoint.
Path Parameters
Name | Type | Description |
---|---|---|
string |
Get Charts
GET
https://api.appmixer.com/charts
Get a list of all charts the user has configured in their Insights Dashboard.
Query Parameters
Name | Type | Description |
---|---|---|
pattern | string | Regex that will be used to match |
limit | number | Maximum items returned. Default is 100. Used for paging. |
offset | number | The index of the first item returned. Default is 0. Used for for paging. |
sort | string | Sorting parameter. Can be any chart object property followed by semicolon and 1 (ascending) or -1 (descending). Example: "mtime:-1". |
projection | string | Exclude chart object properties. Example: "-traces". |
Get One Chart
GET
https://api.appmixer.com/charts/:id
Path Parameters
Name | Type | Description |
---|---|---|
id | string | ID of the chart to return. |
Delete a Chart
DELETE
https://api.appmixer.com/charts/:id
Path Parameters
Name | Type | Description |
---|---|---|
id | string | ID of a chart. |
Last updated