Skip to main content

ThorapiRuleApi

valkyrai-api

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

MethodHTTP requestDescription
deleteThorapiRuleDELETE ThorapiRuleApiDelete 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

NameTypeDescriptionNotes
idUUIDUnique 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

NameTypeDescriptionNotes
idUUIDUnique 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

NameTypeDescriptionNotes
pageInteger[optional] [default to 0]
sizeInteger[optional] [default to 20]
sortList<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

NameTypeDescriptionNotes
idUUIDUnique identifier for the ThorapiRule.
thorapiRuleThorapiRuleMerge-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

NameTypeDescriptionNotes
thorapiRuleThorapiRuleThorapiRule 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

NameTypeDescriptionNotes
idUUIDUnique identifier for the ThorapiRule.
thorapiRuleThorapiRuleUpdated ThorapiRule details.

Return type

ThorapiRule

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.3-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2026-04-20T19:24:54.195235-07:00[America/Los_Angeles]