AddressApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
Method | HTTP request | Description |
---|---|---|
deleteAddress | DELETE AddressApi | Delete 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
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the Address. |
Return type
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
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the Address. |
Return type
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
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
Name | Type | Description | Notes |
---|---|---|---|
address | Address | Address details. |
Return type
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
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the Address. | |
address | Address | Updated Address 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] |