FormulaApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
Method | HTTP request | Description |
---|---|---|
deleteFormula | DELETE FormulaApi | Delete a Formula. |
deleteFormula
Void
deleteFormula(id)
Delete a Formula.
Deletes a specific Formula.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.FormulaApi;
FormulaApi apiInstance = new FormulaApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the Formula.
try {
Void result = apiInstance.deleteFormula(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FormulaApi#deleteFormula");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the Formula. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
getFormula
Formula
getFormula(id)
Retrieve a single Formula
Retrieves a single Formula for a specific uid.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.FormulaApi;
FormulaApi apiInstance = new FormulaApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the Formula.
try {
Formula result = apiInstance.getFormula(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FormulaApi#getFormula");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the Formula. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
getFormulaList
Formula
getFormulaList()
Retrieve a list of Formulas
Retrieves a list of Formulas.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.FormulaApi;
FormulaApi apiInstance = new FormulaApi();
try {
Formula result = apiInstance.getFormulaList();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FormulaApi#getFormulaList");
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
postFormula
Formula
postFormula(formula)
Create a new Formula
Creates a new Formula.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.FormulaApi;
FormulaApi apiInstance = new FormulaApi();
Formula formula = new Formula(); // Formula | Formula details.
try {
Formula result = apiInstance.postFormula(formula);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FormulaApi#postFormula");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
formula | Formula | Formula details. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
updateFormula
Formula
updateFormula(idformula)
Update an existing Formula
Updates an existing Formula.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.FormulaApi;
FormulaApi apiInstance = new FormulaApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the Formula.
Formula formula = new Formula(); // Formula | Updated Formula details.
try {
Formula result = apiInstance.updateFormula(idformula);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FormulaApi#updateFormula");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the Formula. | |
formula | Formula | Updated Formula 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] |