Skip to main content

FormatApi

valkyrai-api

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

MethodHTTP requestDescription
deleteFormatDELETE FormatApiDelete a Format.

deleteFormat

Void
deleteFormat(id)

Delete a Format.

Deletes a specific Format.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.FormatApi;


FormatApi apiInstance = new FormatApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the Format.

try {
Void result = apiInstance.deleteFormat(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FormatApi#deleteFormat");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the Format.

Return type

Void

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

getFormat

Format
getFormat(id)

Retrieve a single Format

Retrieves a single Format for a specific uid.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.FormatApi;


FormatApi apiInstance = new FormatApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the Format.

try {
Format result = apiInstance.getFormat(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FormatApi#getFormat");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the Format.

Return type

Format

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getFormatList

Format
getFormatList()

Retrieve a list of Formats

Retrieves a list of Formats.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.FormatApi;


FormatApi apiInstance = new FormatApi();

try {
Format result = apiInstance.getFormatList();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FormatApi#getFormatList");
e.printStackTrace();
}

Parameters

This endpoint does not need any parameter.

Return type

Format

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

postFormat

Format
postFormat(format)

Create a new Format

Creates a new Format.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.FormatApi;


FormatApi apiInstance = new FormatApi();
Format format = new Format(); // Format | Format details.

try {
Format result = apiInstance.postFormat(format);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FormatApi#postFormat");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
formatFormatFormat details.

Return type

Format

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

updateFormat

Format
updateFormat(idformat)

Update an existing Format

Updates an existing Format.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.FormatApi;


FormatApi apiInstance = new FormatApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the Format.
Format format = new Format(); // Format | Updated Format details.

try {
Format result = apiInstance.updateFormat(idformat);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FormatApi#updateFormat");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the Format.
formatFormatUpdated Format details.

Return type

Format

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]