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(pagesizesort)
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();
Integer page = 0; // Integer |
Integer size = 20; // Integer |
List<String> sort = Arrays.asList(); // List<String> |
try {
OasServer result = apiInstance.getOasServerList(pagesizesort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OasServerApi#getOasServerList");
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
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.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] |