Skip to main content

PtgRefApi

valkyrai-api

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

MethodHTTP requestDescription
deletePtgRefDELETE PtgRefApiDelete 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

NameTypeDescriptionNotes
idUUIDUnique identifier for the PtgRef.

Return type

Void

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

NameTypeDescriptionNotes
idUUIDUnique identifier for the PtgRef.

Return type

PtgRef

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

PtgRef

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

NameTypeDescriptionNotes
ptgRefPtgRefPtgRef details.

Return type

PtgRef

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

NameTypeDescriptionNotes
idUUIDUnique identifier for the PtgRef.
ptgRefPtgRefUpdated PtgRef details.

Return type

PtgRef

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]