Skip to main content

ChannelSubscriptionApi

valkyrai-api

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

MethodHTTP requestDescription
deleteChannelSubscriptionDELETE ChannelSubscriptionApiDelete 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

NameTypeDescriptionNotes
idUUIDUnique 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

NameTypeDescriptionNotes
idUUIDUnique 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

NameTypeDescriptionNotes
pageInteger[optional] [default to 0]
sizeInteger[optional] [default to 20]
sortList<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

NameTypeDescriptionNotes
idUUIDUnique identifier for the ChannelSubscription.
channelSubscriptionChannelSubscriptionMerge-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

NameTypeDescriptionNotes
channelSubscriptionChannelSubscriptionChannelSubscription 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

NameTypeDescriptionNotes
idUUIDUnique identifier for the ChannelSubscription.
channelSubscriptionChannelSubscriptionUpdated ChannelSubscription details.

Return type

ChannelSubscription

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.3-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2026-04-20T19:24:54.195235-07:00[America/Los_Angeles]