PaginatedResponse
objectPaginated response containing data and pagination metadata
Array of items for the current page
Total number of items across all pages for the given filters. Use this with “limit” to compute total pages: totalPages = ceil(total / limit).
Current page index (0-based). For offset-based pagination, page = floor(offset / limit). For page[] style, this equals the N used in page[offset] = N × page[limit].
Number of items per page returned in this response. Mirrors the query “limit” or “page[limit]” parameter used for the request.
Whether there are more pages available
Whether there are previous pages available
{
"data": [
"[]"
],
"total": 0,
"page": 0,
"limit": 0,
"hasNext": false,
"hasPrevious": false
}UpdateUser
objectData for updating user profile information
User’s first name
Example:Jane
User’s last name
Example:Smith
URL or path to the user’s profile image
Example:https://example.com/avatars/jane-smith.jpg
{
"firstName": "Jane",
"lastName": "Smith",
"image": "https://example.com/avatars/jane-smith.jpg"
}UpdateUserRoles
objectData for adding or removing roles from a user
Array of role IDs to add to the user
Example:550e8400-e29b-41d4-a716-446655440000
Array of role IDs to remove from the user
Example:550e8400-e29b-41d4-a716-446655440001
{
"addedRoles": [
"550e8400-e29b-41d4-a716-446655440000"
],
"removedRoles": [
"550e8400-e29b-41d4-a716-446655440001"
]
}CreateGateway
objectData required to create a new network gateway
Human-readable name for the gateway
Example:US-East Gateway
Detailed description of the gateway’s purpose and location
Example:Primary gateway for US East region data center
WireGuard VPN port number for this gateway
Example:51820
Network endpoint address for the gateway
Example:gateway-us-east.company.com
{
"name": "US-East Gateway",
"description": "Primary gateway for US East region data center",
"wireguardPort": "51820",
"endpoint": "gateway-us-east.company.com"
}GatewayResource
objectResource information accessible through a gateway
Unique identifier for the resource
Example:550e8400-e29b-41d4-a716-446655440000
Human-readable name for the resource
Example:Internal Web Server
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Internal Web Server"
}