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()
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();
try {
PtgRef result = apiInstance.getPtgRefList();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PtgRefApi#getPtgRefList");
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
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-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] |