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