ChartApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
Method | HTTP request | Description |
---|---|---|
deleteChart | DELETE ChartApi | Delete 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
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the Chart. |
Return type
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
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the Chart. |
Return type
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
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
Name | Type | Description | Notes |
---|---|---|---|
chart | Chart | Chart details. |
Return type
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
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the Chart. | |
chart | Chart | Updated Chart details. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
Generated Version Details
~ | value |
---|---|
GENERATOR VERSION | com.valkyrlabs:ValkyrAI API 1.0-SNAPSHOT |
API ARTIFACT | com.valkyrlabs.valkyrai-api.jar |
GENERATOR VERSION | org.openapitools.openapi-generator:7.5.0 |
GENERATOR CLASS | org.openapitools.codegen.languages.SpringCodegen |
GENERATED DATE | 2025-04-09T20:27:13.881184-07:00[America/Los_Angeles] |