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