ThorapiRuleApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
| Method | HTTP request | Description |
|---|---|---|
| deleteThorapiRule | DELETE ThorapiRuleApi | Delete a ThorapiRule. |
deleteThorapiRule
Void
deleteThorapiRule(id)
Delete a ThorapiRule.
Deletes a specific ThorapiRule.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ThorapiRuleApi;
ThorapiRuleApi apiInstance = new ThorapiRuleApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the ThorapiRule.
try {
Void result = apiInstance.deleteThorapiRule(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ThorapiRuleApi#deleteThorapiRule");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the ThorapiRule. |
Return type
Void
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
getThorapiRule
ThorapiRule
getThorapiRule(id)
Retrieve a single ThorapiRule
Retrieves a single ThorapiRule for a specific uid.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ThorapiRuleApi;
ThorapiRuleApi apiInstance = new ThorapiRuleApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the ThorapiRule.
try {
ThorapiRule result = apiInstance.getThorapiRule(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ThorapiRuleApi#getThorapiRule");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the ThorapiRule. |
Return type
ThorapiRule
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
getThorapiRuleList
ThorapiRule
getThorapiRuleList(pagesizesort)
Retrieve a list of ThorapiRules
Retrieves a list of ThorapiRules.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ThorapiRuleApi;
ThorapiRuleApi apiInstance = new ThorapiRuleApi();
Integer page = 0; // Integer |
Integer size = 20; // Integer |
List<String> sort = Arrays.asList(); // List<String> |
try {
ThorapiRule result = apiInstance.getThorapiRuleList(pagesizesort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ThorapiRuleApi#getThorapiRuleList");
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
ThorapiRule
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
patchThorapiRuleById
ThorapiRule
patchThorapiRuleById(idthorapiRule)
Partially update an existing ThorapiRule
Updates an existing ThorapiRule.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ThorapiRuleApi;
ThorapiRuleApi apiInstance = new ThorapiRuleApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the ThorapiRule.
ThorapiRule thorapiRule = new ThorapiRule(); // ThorapiRule | Merge-patch fields for ThorapiRule.
try {
ThorapiRule result = apiInstance.patchThorapiRuleById(idthorapiRule);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ThorapiRuleApi#patchThorapiRuleById");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the ThorapiRule. | |
| thorapiRule | ThorapiRule | Merge-patch fields for ThorapiRule. |
Return type
ThorapiRule
Authorization
No authorization required
HTTP request headers
- Content-Type: application/merge-patch+jsonapplication/json-patch+jsonapplication/json
- Accept: application/json
postThorapiRule
ThorapiRule
postThorapiRule(thorapiRule)
Create a new ThorapiRule
Creates a new ThorapiRule.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ThorapiRuleApi;
ThorapiRuleApi apiInstance = new ThorapiRuleApi();
ThorapiRule thorapiRule = new ThorapiRule(); // ThorapiRule | ThorapiRule details.
try {
ThorapiRule result = apiInstance.postThorapiRule(thorapiRule);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ThorapiRuleApi#postThorapiRule");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| thorapiRule | ThorapiRule | ThorapiRule details. |
Return type
ThorapiRule
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
updateThorapiRule
ThorapiRule
updateThorapiRule(idthorapiRule)
Update an existing ThorapiRule
Updates an existing ThorapiRule.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ThorapiRuleApi;
ThorapiRuleApi apiInstance = new ThorapiRuleApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the ThorapiRule.
ThorapiRule thorapiRule = new ThorapiRule(); // ThorapiRule | Updated ThorapiRule details.
try {
ThorapiRule result = apiInstance.updateThorapiRule(idthorapiRule);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ThorapiRuleApi#updateThorapiRule");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the ThorapiRule. | |
| thorapiRule | ThorapiRule | Updated ThorapiRule details. |
Return type
ThorapiRule
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.3-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 | 2026-04-20T19:24:54.195235-07:00[America/Los_Angeles] |