The unique identifier (UUID) of the gateway
Test Gateway Configuration
Validates the gateway configuration by performing connectivity tests and verifying that all settings are properly configured. This helps identify configuration issues before deployment.
Path Parameters
Response
application/json
Response
Gateway configuration test result
TestConfiguration
Response from gateway configuration test
Status of the gateway
Allowed values:ONLINEMAINTENANCENOT_REACHABLEERRORUNRECOGNIZED
Additional details about the test result
Standard error message from the gateway test configuration process
Additional error information that may be provided by the system (internal error details)
Authentication
Path Parameters
curl --request POST \
--url https://public-api.cipherscale.com/qa/tenants/gateways//test-configuration \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'apikey: '{
"status": "ONLINE",
"details": "details",
"error": "error",
"_error": "_error"
}Resources
Network resource definition and access control
Create Network Resource
Creates a new network resource that defines access points for users and devices. Resources can be private networks, SaaS applications, or internet access points, each with specific protocols and access controls.
Body
application/json
Body
CreateResource
Array of network addresses with their associated protocols. Protocol IDs can be obtained from the “List Network Protocols” endpoint or created using the “Create Network Protocol” endpoint.
Example:{"address":"192.168.1.100","protocols":["550e8400-e29b-41d4-a716-446655440000","550e8400-e29b-41d4-a716-446655440001"]}
Show Child Parameters
Name of the network resource
Example:Internal Web Server
Type of network resource
Allowed values:PRIVATESAASINTERNET
Example:PRIVATE
Optional description of the resource
Example:Internal web server for company applications
Response
application/json
Response
Successfully created the resource
Resource
Complete network resource information with addresses and gateways
Unique identifier for the resource
Example:550e8400-e29b-41d4-a716-446655440000
Timestamp when the resource was created
Example:2023-01-15T14:30:00Z
Timestamp when the resource was last updated
Example:2023-01-15T14:30:00Z
Human-readable name for the resource
Example:Internal Web Server
Type of the network resource
Allowed values:PRIVATESAASINTERNET
Example:PRIVATE
Load balancing configuration for this resource
Allowed values:MANUALAUTOMATIC
Default:MANUAL
Example:MANUAL
Current operational status of the resource
Allowed values:ONLINEOFFLINE
Example:ONLINE
Detailed description of the resource’s purpose
Example:Internal web server for company applications
Array of network addresses associated with this resource
Example:{"id":"550e8400-e29b-41d4-a716-446655440001","address":"192.168.1.100","isIp":true,"type":"PRIVATE","protocols":[{"id":"550e8400-e29b-41d4-a716-446655440000","name":"HTTP/HTTPS","type":"PREDEFINED","networkProtocols":[{"protocol":"TCP","port":"80"},{"protocol":"TCP","port":"443"}]}]}
Show Child Parameters
Network gateway configuration and status information
Show Child Parameters
Authentication
Body
{
"name": "Internal Web Server",
"type": "PRIVATE",
"description": "Internal web server for company applications",
"addresses": [
{
"address": "192.168.1.100",
"protocols": [
"550e8400-e29b-41d4-a716-446655440000",
"550e8400-e29b-41d4-a716-446655440001"
]
}
]
}curl --request POST \
--url https://public-api.cipherscale.com/qa/tenants/resources \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'apikey: ' \
--data '{
"name": "Internal Web Server",
"type": "PRIVATE",
"description": "Internal web server for company applications",
"addresses": [
{
"address": "192.168.1.100",
"protocols": [
"550e8400-e29b-41d4-a716-446655440000",
"550e8400-e29b-41d4-a716-446655440001"
]
}
]
}'{
"id": "550e8400-e29b-41d4-a716-446655440000",
"createdAt": "2023-01-15T14:30:00Z",
"updatedAt": "2023-01-15T14:30:00Z",
"name": "Internal Web Server",
"type": "PRIVATE",
"loadBalancingMode": "MANUAL",
"status": "ONLINE",
"description": "Internal web server for company applications",
"addresses": [],
"gateways": []
}List Network Resources
Retrieves a paginated list of all network resources for the tenant with advanced filtering and sorting capabilities. Supports filtering by resource type, gateway associations, protocols, and other criteria to help manage complex network topologies.
Filter Operators: The API supports various filter operators for precise querying: - eq - Equal to (default) - ne - Not equal to - gt - Greater than - gte - Greater than or equal to - lt - Less than - lte - Less than or equal to - ilike - Case-insensitive pattern matching (supports wildcards) - in - Value is in the provided list - nin - Value is not in the provided list
Filter Format: Use the format filter[field][operator]=value. For example: - filter[type][eq]=PRIVATE - Resources with type PRIVATE - filter[name][ilike]=%web% - Resources with name containing “web” - filter[gateways.id][in]=id1,id2,id3 - Resources connected to specific gateways
Query Parameters
Sort order in format “field:direction”. Sortable fields: id, name. Direction: asc, desc
Example:-name
Number of items to return per page. Use together with “offset” to paginate through results. If not provided, a default is used.
Number of items to skip before starting to return results. Combine with “limit”. Example: to fetch page 3 with limit 20, set offset=40.
Filter resources by policy ID (UUID format)
Filter resources by gateway ID (UUID format)
Filter resources by protocol ID in addresses (UUID format)
Filter resources by type
Allowed values:PRIVATESAASINTERNET
Filter resources by name
Filter resources by ID (UUID format)
Filter resources by name using case-insensitive pattern matching
Filter resources by type - accepts comma-separated list of types
Number of resources to skip (minimum: 0). Use with “page[limit]”. For page N (0-based), compute as N × page[limit].
Example:0
Number of resources to return per page (minimum: 1). Use with “page[offset]” for pagination.
Example:10
Response
application/json
Response
Successfully retrieved resources
PaginatedResponse
Paginated 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
Authentication
Query Parameters
curl --request GET \
--url 'https://public-api.cipherscale.com/qa/tenants/resources?sort=-name&page%5Boffset%5D=0&page%5Blimit%5D=10' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'apikey: '{
"data": [
"[]"
],
"total": 0,
"page": 0,
"limit": 0,
"hasNext": false,
"hasPrevious": false
}Update Network Resource
Modifies the configuration of an existing network resource including its name, description, and other properties. Changes may affect access policies and user permissions.
Path Parameters
The unique identifier (UUID) of the resource to update
Body
application/json
Body
UpdateResource
Data for updating an existing network resource
Human-readable name for the resource
Example:Internal Web Server
Detailed description of the resource’s purpose
Example:Internal web server for company applications
Response
Response
Successfully updated the resource
Authentication
Path Parameters
Body
{
"name": "Internal Web Server",
"description": "Internal web server for company applications"
}curl --request PATCH \
--url https://public-api.cipherscale.com/qa/tenants/resources/ \
--header 'Content-Type: application/json' \
--header 'apikey: ' \
--data '{
"name": "Internal Web Server",
"description": "Internal web server for company applications"
}'Successfully updated the resource