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