Skip to main content

ChartApi

valkyrai-api

All URIs are relative to http://localhost:8080/v1

MethodHTTP requestDescription
deleteChartDELETE ChartApiDelete a Chart.

deleteChart

Void
deleteChart(id)

Delete a Chart.

Deletes a specific Chart.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ChartApi;


ChartApi apiInstance = new ChartApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the Chart.

try {
Void result = apiInstance.deleteChart(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChartApi#deleteChart");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the Chart.

Return type

Void

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

getChart

Chart
getChart(id)

Retrieve a single Chart

Retrieves a single Chart for a specific uid.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ChartApi;


ChartApi apiInstance = new ChartApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the Chart.

try {
Chart result = apiInstance.getChart(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChartApi#getChart");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the Chart.

Return type

Chart

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getChartList

Chart
getChartList()

Retrieve a list of Charts

Retrieves a list of Charts.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ChartApi;


ChartApi apiInstance = new ChartApi();

try {
Chart result = apiInstance.getChartList();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChartApi#getChartList");
e.printStackTrace();
}

Parameters

This endpoint does not need any parameter.

Return type

Chart

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

postChart

Chart
postChart(chart)

Create a new Chart

Creates a new Chart.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ChartApi;


ChartApi apiInstance = new ChartApi();
Chart chart = new Chart(); // Chart | Chart details.

try {
Chart result = apiInstance.postChart(chart);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChartApi#postChart");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
chartChartChart details.

Return type

Chart

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

updateChart

Chart
updateChart(idchart)

Update an existing Chart

Updates an existing Chart.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ChartApi;


ChartApi apiInstance = new ChartApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the Chart.
Chart chart = new Chart(); // Chart | Updated Chart details.

try {
Chart result = apiInstance.updateChart(idchart);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChartApi#updateChart");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the Chart.
chartChartUpdated Chart details.

Return type

Chart

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

Generated Version Details

~value
GENERATOR VERSIONcom.valkyrlabs:ValkyrAI API 1.0-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2025-04-09T20:27:13.881184-07:00[America/Los_Angeles]