Skip to main content

PtgApi

valkyrai-api

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

MethodHTTP requestDescription
deletePtgDELETE PtgApiDelete 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

NameTypeDescriptionNotes
idUUIDUnique identifier for the Ptg.

Return type

Void

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

NameTypeDescriptionNotes
idUUIDUnique identifier for the Ptg.

Return type

Ptg

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

Ptg

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

NameTypeDescriptionNotes
ptgPtgPtg details.

Return type

Ptg

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

NameTypeDescriptionNotes
idUUIDUnique identifier for the Ptg.
ptgPtgUpdated Ptg details.

Return type

Ptg

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-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2025-04-09T20:27:13.881184-07:00[America/Los_Angeles]