Skip to main content

BorderApi

valkyrai-api

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

MethodHTTP requestDescription
deleteBorderDELETE BorderApiDelete 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

NameTypeDescriptionNotes
idUUIDUnique identifier for the Border.

Return type

Void

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

NameTypeDescriptionNotes
idUUIDUnique identifier for the Border.

Return type

Border

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

Border

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

NameTypeDescriptionNotes
borderBorderBorder details.

Return type

Border

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

NameTypeDescriptionNotes
idUUIDUnique identifier for the Border.
borderBorderUpdated Border details.

Return type

Border

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]