PtgApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
Method | HTTP request | Description |
---|---|---|
deletePtg | DELETE PtgApi | Delete a Ptg. |
deletePtg
Void
deletePtg(id)
Delete a Ptg.
Deletes a specific Ptg.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.PtgApi;
PtgApi apiInstance = new PtgApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the Ptg.
try {
Void result = apiInstance.deletePtg(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PtgApi#deletePtg");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the Ptg. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
getPtg
Ptg
getPtg(id)
Retrieve a single Ptg
Retrieves a single Ptg for a specific uid.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.PtgApi;
PtgApi apiInstance = new PtgApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the Ptg.
try {
Ptg result = apiInstance.getPtg(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PtgApi#getPtg");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the Ptg. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
getPtgList
Ptg
getPtgList()
Retrieve a list of Ptgs
Retrieves a list of Ptgs.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.PtgApi;
PtgApi apiInstance = new PtgApi();
try {
Ptg result = apiInstance.getPtgList();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PtgApi#getPtgList");
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
postPtg
Ptg
postPtg(ptg)
Create a new Ptg
Creates a new Ptg.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.PtgApi;
PtgApi apiInstance = new PtgApi();
Ptg ptg = new Ptg(); // Ptg | Ptg details.
try {
Ptg result = apiInstance.postPtg(ptg);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PtgApi#postPtg");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
ptg | Ptg | Ptg details. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
updatePtg
Ptg
updatePtg(idptg)
Update an existing Ptg
Updates an existing Ptg.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.PtgApi;
PtgApi apiInstance = new PtgApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the Ptg.
Ptg ptg = new Ptg(); // Ptg | Updated Ptg details.
try {
Ptg result = apiInstance.updatePtg(idptg);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PtgApi#updatePtg");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the Ptg. | |
ptg | Ptg | Updated Ptg 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] |