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(pagesizesort)
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();
Integer page = 0; // Integer |
Integer size = 20; // Integer |
List<String> sort = Arrays.asList(); // List<String> |
try {
Chart result = apiInstance.getChartList(pagesizesort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChartApi#getChartList");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
page | Integer | [optional] [default to 0] | |
size | Integer | [optional] [default to 20] | |
sort | List<String> | [optional] |
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.1-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-09-03T16:35:42.569765-07:00[America/Los_Angeles] |