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