OasComponentApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
| Method | HTTP request | Description |
|---|---|---|
| deleteOasComponent | DELETE OasComponentApi | Delete a OasComponent. |
deleteOasComponent
Void
deleteOasComponent(id)
Delete a OasComponent.
Deletes a specific OasComponent.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.OasComponentApi;
OasComponentApi apiInstance = new OasComponentApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the OasComponent.
try {
Void result = apiInstance.deleteOasComponent(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OasComponentApi#deleteOasComponent");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the OasComponent. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
getOasComponent
OasComponent
getOasComponent(id)
Retrieve a single OasComponent
Retrieves a single OasComponent for a specific uid.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.OasComponentApi;
OasComponentApi apiInstance = new OasComponentApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the OasComponent.
try {
OasComponent result = apiInstance.getOasComponent(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OasComponentApi#getOasComponent");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the OasComponent. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
getOasComponentList
OasComponent
getOasComponentList(pagesizesort)
Retrieve a list of OasComponents
Retrieves a list of OasComponents.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.OasComponentApi;
OasComponentApi apiInstance = new OasComponentApi();
Integer page = 0; // Integer |
Integer size = 20; // Integer |
List<String> sort = Arrays.asList(); // List<String> |
try {
OasComponent result = apiInstance.getOasComponentList(pagesizesort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OasComponentApi#getOasComponentList");
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
postOasComponent
OasComponent
postOasComponent(oasComponent)
Create a new OasComponent
Creates a new OasComponent.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.OasComponentApi;
OasComponentApi apiInstance = new OasComponentApi();
OasComponent oasComponent = new OasComponent(); // OasComponent | OasComponent details.
try {
OasComponent result = apiInstance.postOasComponent(oasComponent);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OasComponentApi#postOasComponent");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| oasComponent | OasComponent | OasComponent details. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
updateOasComponent
OasComponent
updateOasComponent(idoasComponent)
Update an existing OasComponent
Updates an existing OasComponent.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.OasComponentApi;
OasComponentApi apiInstance = new OasComponentApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the OasComponent.
OasComponent oasComponent = new OasComponent(); // OasComponent | Updated OasComponent details.
try {
OasComponent result = apiInstance.updateOasComponent(idoasComponent);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OasComponentApi#updateOasComponent");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the OasComponent. | |
| oasComponent | OasComponent | Updated OasComponent 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] |