Skip to main content

ContentDataApi

valkyrai-api

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

MethodHTTP requestDescription
deleteContentDataDELETE ContentDataApiDelete a ContentData.

deleteContentData

Void
deleteContentData(id)

Delete a ContentData.

Deletes a specific ContentData.

Example

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


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

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

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the ContentData.

Return type

Void

Authorization

No authorization required

HTTP request headers

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

getContentData

ContentData
getContentData(id)

Retrieve a single ContentData

Retrieves a single ContentData for a specific uid.

Example

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


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

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

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the ContentData.

Return type

ContentData

Authorization

No authorization required

HTTP request headers

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

getContentDataList

ContentData
getContentDataList()

Retrieve a list of ContentDatas

Retrieves a list of ContentDatas.

Example

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


ContentDataApi apiInstance = new ContentDataApi();

try {
ContentData result = apiInstance.getContentDataList();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ContentDataApi#getContentDataList");
e.printStackTrace();
}

Parameters

This endpoint does not need any parameter.

Return type

ContentData

Authorization

No authorization required

HTTP request headers

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

postContentData

ContentData
postContentData(contentData)

Create a new ContentData

Creates a new ContentData.

Example

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


ContentDataApi apiInstance = new ContentDataApi();
ContentData contentData = new ContentData(); // ContentData | ContentData details.

try {
ContentData result = apiInstance.postContentData(contentData);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ContentDataApi#postContentData");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
contentDataContentDataContentData details.

Return type

ContentData

Authorization

No authorization required

HTTP request headers

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

updateContentData

ContentData
updateContentData(idcontentData)

Update an existing ContentData

Updates an existing ContentData.

Example

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


ContentDataApi apiInstance = new ContentDataApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the ContentData.
ContentData contentData = new ContentData(); // ContentData | Updated ContentData details.

try {
ContentData result = apiInstance.updateContentData(idcontentData);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ContentDataApi#updateContentData");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the ContentData.
contentDataContentDataUpdated ContentData details.

Return type

ContentData

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]