FormatApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
Method | HTTP request | Description |
---|---|---|
deleteFormat | DELETE FormatApi | Delete 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
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the Format. |
Return type
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
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the Format. |
Return type
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
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
Name | Type | Description | Notes |
---|---|---|---|
format | Format | Format details. |
Return type
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
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the Format. | |
format | Format | Updated Format 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] |