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