Skip to main content

SolutionApi

valkyrai-api

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

MethodHTTP requestDescription
deleteSolutionDELETE SolutionApiDelete a Solution.

deleteSolution

Void
deleteSolution(id)

Delete a Solution.

Deletes a specific Solution.

Example

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


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

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

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the Solution.

Return type

Void

Authorization

No authorization required

HTTP request headers

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

getSolution

Solution
getSolution(id)

Retrieve a single Solution

Retrieves a single Solution for a specific uid.

Example

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


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

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

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the Solution.

Return type

Solution

Authorization

No authorization required

HTTP request headers

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

getSolutionList

Solution
getSolutionList()

Retrieve a list of Solutions

Retrieves a list of Solutions.

Example

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


SolutionApi apiInstance = new SolutionApi();

try {
Solution result = apiInstance.getSolutionList();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SolutionApi#getSolutionList");
e.printStackTrace();
}

Parameters

This endpoint does not need any parameter.

Return type

Solution

Authorization

No authorization required

HTTP request headers

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

postSolution

Solution
postSolution(solution)

Create a new Solution

Creates a new Solution.

Example

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


SolutionApi apiInstance = new SolutionApi();
Solution solution = new Solution(); // Solution | Solution details.

try {
Solution result = apiInstance.postSolution(solution);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SolutionApi#postSolution");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
solutionSolutionSolution details.

Return type

Solution

Authorization

No authorization required

HTTP request headers

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

updateSolution

Solution
updateSolution(idsolution)

Update an existing Solution

Updates an existing Solution.

Example

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


SolutionApi apiInstance = new SolutionApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the Solution.
Solution solution = new Solution(); // Solution | Updated Solution details.

try {
Solution result = apiInstance.updateSolution(idsolution);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SolutionApi#updateSolution");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the Solution.
solutionSolutionUpdated Solution details.

Return type

Solution

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]