Skip to main content

Chart layout methods

List charts

GET request: charts_storage_url/charts_storage_api_version/charts?client=client_id&user=user_id

Response content

The response is a JSON object containing the following properties:

PropertyDescription
status
#
data
#

Save chart

POST request: charts_storage_url/charts_storage_api_version/charts?client=client_id&user=user_id

Request body

ParameterDescription
nameChart name
contentChart content
symbolChart symbol (example: AA)
resolutionChart resolution (example: 1D)

Response content

The response is a JSON object containing the following properties:

ParameterDescription
statusok or error
idUnique string identifier of the chart (example: 9163)

Save as chart

POST request: charts_storage_url/charts_storage_api_version/charts?client=client_id&user=user_id&chart=chart_id

Request body

ParameterDescription
nameChart name
contentChart content
symbolChart symbol (example: AA)
resolutionChart resolution (example: 1D)

Response content

The response is a JSON object containing the status property, which may have values of either ok or error.


Load chart

GET request: charts_storage_url/charts_storage_api_version/charts?client=client_id&user=user_id&chart=chart_id

Response content

The response is a JSON object containing the following properties:

PropertyDescription
status
#
data
#

Delete chart

DELETE request: charts_storage_url/charts_storage_api_version/charts?client=client_id&user=user_id&chart=chart_id

Response content

The response is a JSON object containing the status property, which may have values of either ok or error.