Skip to main content

AddressApi

valkyrai-api

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

MethodHTTP requestDescription
deleteAddressDELETE AddressApiDelete a Address.

deleteAddress

Void
deleteAddress(id)

Delete a Address.

Deletes a specific Address.

Example

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


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

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

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the Address.

Return type

Void

Authorization

No authorization required

HTTP request headers

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

getAddress

Address
getAddress(id)

Retrieve a single Address

Retrieves a single Address for a specific uid.

Example

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


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

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

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the Address.

Return type

Address

Authorization

No authorization required

HTTP request headers

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

getAddressList

Address
getAddressList()

Retrieve a list of Addresss

Retrieves a list of Addresss.

Example

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


AddressApi apiInstance = new AddressApi();

try {
Address result = apiInstance.getAddressList();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AddressApi#getAddressList");
e.printStackTrace();
}

Parameters

This endpoint does not need any parameter.

Return type

Address

Authorization

No authorization required

HTTP request headers

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

postAddress

Address
postAddress(address)

Create a new Address

Creates a new Address.

Example

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


AddressApi apiInstance = new AddressApi();
Address address = new Address(); // Address | Address details.

try {
Address result = apiInstance.postAddress(address);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AddressApi#postAddress");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
addressAddressAddress details.

Return type

Address

Authorization

No authorization required

HTTP request headers

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

updateAddress

Address
updateAddress(idaddress)

Update an existing Address

Updates an existing Address.

Example

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


AddressApi apiInstance = new AddressApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the Address.
Address address = new Address(); // Address | Updated Address details.

try {
Address result = apiInstance.updateAddress(idaddress);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AddressApi#updateAddress");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the Address.
addressAddressUpdated Address details.

Return type

Address

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]