ChannelSubscriptionApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
| Method | HTTP request | Description |
|---|---|---|
| deleteChannelSubscription | DELETE ChannelSubscriptionApi | Delete a ChannelSubscription. |
deleteChannelSubscription
Void
deleteChannelSubscription(id)
Delete a ChannelSubscription.
Deletes a specific ChannelSubscription.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ChannelSubscriptionApi;
ChannelSubscriptionApi apiInstance = new ChannelSubscriptionApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the ChannelSubscription.
try {
Void result = apiInstance.deleteChannelSubscription(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChannelSubscriptionApi#deleteChannelSubscription");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the ChannelSubscription. |
Return type
Void
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
getChannelSubscription
ChannelSubscription
getChannelSubscription(id)
Retrieve a single ChannelSubscription
Retrieves a single ChannelSubscription for a specific uid.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ChannelSubscriptionApi;
ChannelSubscriptionApi apiInstance = new ChannelSubscriptionApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the ChannelSubscription.
try {
ChannelSubscription result = apiInstance.getChannelSubscription(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChannelSubscriptionApi#getChannelSubscription");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the ChannelSubscription. |
Return type
ChannelSubscription
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
getChannelSubscriptionList
ChannelSubscription
getChannelSubscriptionList(pagesizesort)
Retrieve a list of ChannelSubscriptions
Retrieves a list of ChannelSubscriptions.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ChannelSubscriptionApi;
ChannelSubscriptionApi apiInstance = new ChannelSubscriptionApi();
Integer page = 0; // Integer |
Integer size = 20; // Integer |
List<String> sort = Arrays.asList(); // List<String> |
try {
ChannelSubscription result = apiInstance.getChannelSubscriptionList(pagesizesort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChannelSubscriptionApi#getChannelSubscriptionList");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| page | Integer | [optional] [default to 0] | |
| size | Integer | [optional] [default to 20] | |
| sort | List<String> | [optional] |
Return type
ChannelSubscription
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
patchChannelSubscriptionById
ChannelSubscription
patchChannelSubscriptionById(idchannelSubscription)
Partially update an existing ChannelSubscription
Updates an existing ChannelSubscription.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ChannelSubscriptionApi;
ChannelSubscriptionApi apiInstance = new ChannelSubscriptionApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the ChannelSubscription.
ChannelSubscription channelSubscription = new ChannelSubscription(); // ChannelSubscription | Merge-patch fields for ChannelSubscription.
try {
ChannelSubscription result = apiInstance.patchChannelSubscriptionById(idchannelSubscription);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChannelSubscriptionApi#patchChannelSubscriptionById");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the ChannelSubscription. | |
| channelSubscription | ChannelSubscription | Merge-patch fields for ChannelSubscription. |
Return type
ChannelSubscription
Authorization
No authorization required
HTTP request headers
- Content-Type: application/merge-patch+jsonapplication/json-patch+jsonapplication/json
- Accept: application/json
postChannelSubscription
ChannelSubscription
postChannelSubscription(channelSubscription)
Create a new ChannelSubscription
Creates a new ChannelSubscription.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ChannelSubscriptionApi;
ChannelSubscriptionApi apiInstance = new ChannelSubscriptionApi();
ChannelSubscription channelSubscription = new ChannelSubscription(); // ChannelSubscription | ChannelSubscription details.
try {
ChannelSubscription result = apiInstance.postChannelSubscription(channelSubscription);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChannelSubscriptionApi#postChannelSubscription");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| channelSubscription | ChannelSubscription | ChannelSubscription details. |
Return type
ChannelSubscription
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
updateChannelSubscription
ChannelSubscription
updateChannelSubscription(idchannelSubscription)
Update an existing ChannelSubscription
Updates an existing ChannelSubscription.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ChannelSubscriptionApi;
ChannelSubscriptionApi apiInstance = new ChannelSubscriptionApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the ChannelSubscription.
ChannelSubscription channelSubscription = new ChannelSubscription(); // ChannelSubscription | Updated ChannelSubscription details.
try {
ChannelSubscription result = apiInstance.updateChannelSubscription(idchannelSubscription);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChannelSubscriptionApi#updateChannelSubscription");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the ChannelSubscription. | |
| channelSubscription | ChannelSubscription | Updated ChannelSubscription details. |
Return type
ChannelSubscription
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.3-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 | 2026-04-20T19:24:54.195235-07:00[America/Los_Angeles] |