WebsocketSessionApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
Method | HTTP request | Description |
---|---|---|
deleteWebsocketSession | DELETE WebsocketSessionApi | Delete a WebsocketSession. |
deleteWebsocketSession
Void
deleteWebsocketSession(id)
Delete a WebsocketSession.
Deletes a specific WebsocketSession.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.WebsocketSessionApi;
WebsocketSessionApi apiInstance = new WebsocketSessionApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the WebsocketSession.
try {
Void result = apiInstance.deleteWebsocketSession(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WebsocketSessionApi#deleteWebsocketSession");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the WebsocketSession. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
getWebsocketSession
WebsocketSession
getWebsocketSession(id)
Retrieve a single WebsocketSession
Retrieves a single WebsocketSession for a specific uid.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.WebsocketSessionApi;
WebsocketSessionApi apiInstance = new WebsocketSessionApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the WebsocketSession.
try {
WebsocketSession result = apiInstance.getWebsocketSession(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WebsocketSessionApi#getWebsocketSession");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the WebsocketSession. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
getWebsocketSessionList
WebsocketSession
getWebsocketSessionList(pagesizesort)
Retrieve a list of WebsocketSessions
Retrieves a list of WebsocketSessions.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.WebsocketSessionApi;
WebsocketSessionApi apiInstance = new WebsocketSessionApi();
Integer page = 0; // Integer |
Integer size = 20; // Integer |
List<String> sort = Arrays.asList(); // List<String> |
try {
WebsocketSession result = apiInstance.getWebsocketSessionList(pagesizesort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WebsocketSessionApi#getWebsocketSessionList");
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
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
postWebsocketSession
WebsocketSession
postWebsocketSession(websocketSession)
Create a new WebsocketSession
Creates a new WebsocketSession.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.WebsocketSessionApi;
WebsocketSessionApi apiInstance = new WebsocketSessionApi();
WebsocketSession websocketSession = new WebsocketSession(); // WebsocketSession | WebsocketSession details.
try {
WebsocketSession result = apiInstance.postWebsocketSession(websocketSession);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WebsocketSessionApi#postWebsocketSession");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
websocketSession | WebsocketSession | WebsocketSession details. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
updateWebsocketSession
WebsocketSession
updateWebsocketSession(idwebsocketSession)
Update an existing WebsocketSession
Updates an existing WebsocketSession.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.WebsocketSessionApi;
WebsocketSessionApi apiInstance = new WebsocketSessionApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the WebsocketSession.
WebsocketSession websocketSession = new WebsocketSession(); // WebsocketSession | Updated WebsocketSession details.
try {
WebsocketSession result = apiInstance.updateWebsocketSession(idwebsocketSession);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WebsocketSessionApi#updateWebsocketSession");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the WebsocketSession. | |
websocketSession | WebsocketSession | Updated WebsocketSession 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.1-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-09-03T16:35:42.569765-07:00[America/Los_Angeles] |