Cluster Alias List
Returns a paginated list of stream aliases in the cluster.
Request
| Property | Value |
|---|---|
| Method | GET |
| URL | /api/cluster/aliases |
| Content-Type | application/json |
| Authentication | Bearer Token |
Request
curl -X GET "{BASE_URL}/api/cluster/aliases" \
-H "Authorization: Bearer YOUR_TOKEN"
Response Body
Pagination
| Parameter | Type | Description |
|---|---|---|
data.totalItems | integer | Total number of aliases |
data.itemsPerPage | integer | Number of items per page |
data.totalPages | integer | Total number of pages |
data.currentPage | integer | Current page number |
data.hasPrevious | boolean | Indicates if a previous page exists |
data.hasNext | boolean | Indicates if a next page exists |
Alias Object
| Parameter | Type | Description |
|---|---|---|
data.list[].streamKey | string | Stream key associated with the alias |
data.list[].aliasKey | string | Alias name |
data.list[].streamExists | boolean | Indicates if the associated stream exists |
Metadata
| Parameter | Type | Description |
|---|---|---|
meta.executionTime | integer | Request processing time in milliseconds |
meta.generatedAt | integer | Response generation timestamp (Unix timestamp in ms) |
Successful Response (200)
{
"data": {
"totalItems": 1,
"itemsPerPage": 10,
"totalPages": 1,
"hasPrevious": false,
"hasNext": false,
"list": [
{
"streamKey": "test",
"aliasKey": "alias",
"streamExists": false
}
],
"currentPage": 1
},
"meta": {
"executionTime": 24,
"generatedAt": 1771957381936
}
}
Error Response (4xx/5xx)
| Parameter | Type | Description |
|---|---|---|
message | string | Human-readable error message |
Error Response
{
"message": "Error message"
}
Support Needed?
Create a free ticket and our support team will provide you necessary assistance.