McpContentApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
Method | HTTP request | Description |
---|---|---|
deleteMcpContent | DELETE McpContentApi | Delete a McpContent. |
deleteMcpContent
Void
deleteMcpContent(id)
Delete a McpContent.
Deletes a specific McpContent.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.McpContentApi;
McpContentApi apiInstance = new McpContentApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the McpContent.
try {
Void result = apiInstance.deleteMcpContent(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling McpContentApi#deleteMcpContent");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the McpContent. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
getMcpContent
McpContent
getMcpContent(id)
Retrieve a single McpContent
Retrieves a single McpContent for a specific uid.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.McpContentApi;
McpContentApi apiInstance = new McpContentApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the McpContent.
try {
McpContent result = apiInstance.getMcpContent(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling McpContentApi#getMcpContent");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the McpContent. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
getMcpContentList
McpContent
getMcpContentList()
Retrieve a list of McpContents
Retrieves a list of McpContents.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.McpContentApi;
McpContentApi apiInstance = new McpContentApi();
try {
McpContent result = apiInstance.getMcpContentList();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling McpContentApi#getMcpContentList");
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
postMcpContent
McpContent
postMcpContent(mcpContent)
Create a new McpContent
Creates a new McpContent.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.McpContentApi;
McpContentApi apiInstance = new McpContentApi();
McpContent mcpContent = new McpContent(); // McpContent | McpContent details.
try {
McpContent result = apiInstance.postMcpContent(mcpContent);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling McpContentApi#postMcpContent");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
mcpContent | McpContent | McpContent details. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
updateMcpContent
McpContent
updateMcpContent(idmcpContent)
Update an existing McpContent
Updates an existing McpContent.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.McpContentApi;
McpContentApi apiInstance = new McpContentApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the McpContent.
McpContent mcpContent = new McpContent(); // McpContent | Updated McpContent details.
try {
McpContent result = apiInstance.updateMcpContent(idmcpContent);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling McpContentApi#updateMcpContent");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the McpContent. | |
mcpContent | McpContent | Updated McpContent 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] |