Summary
Get all gateways
Description
Gets information about all of the gateways that a user has access to
Route
GET /gateway_manager/v1/gateways
Roles
gateway:read
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
This method has no parameters |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
response |
array |
- |
Copied to Clipboard
{
"state": "Success",
"results": [
{
"_id": "66ff56eb64d3de9f6f930916",
"gateway_name": "my-gateway",
"cluster_id": "cluster_1",
"description": "example description",
"enabled": true,
"readonly": true,
"groups": [
"admins",
"admins"
],
"certificates": [
"66ff56c9fcbec46997145abd",
"66ff56c9fcbec46997145abd",
"66ff56c9fcbec46997145abd",
"66ff56c9fcbec46997145abd",
"66ff56c9fcbec46997145abd"
]
},
{
"_id": "66ff56eb64d3de9f6f930916",
"gateway_name": "my-gateway",
"cluster_id": "cluster_1",
"description": "example description",
"enabled": true,
"readonly": false,
"groups": [
"admins"
],
"certificates": [
"66ff56c9fcbec46997145abd"
]
},
{
"_id": "66ff56eb64d3de9f6f930916",
"gateway_name": "my-gateway",
"cluster_id": "cluster_1",
"description": "example description",
"enabled": true,
"readonly": true,
"groups": [
"admins"
],
"certificates": [
"66ff56c9fcbec46997145abd",
"66ff56c9fcbec46997145abd",
"66ff56c9fcbec46997145abd"
]
}
]
}
Copied to Clipboard
{
"title": "response",
"type": "object",
"properties": {
"state": {
"type": "string",
"examples": [
"Success"
]
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"_id": {
"type": "string",
"description": "The Id of the gateway within the database",
"examples": [
"66ff56eb64d3de9f6f930916"
]
},
"gateway_name": {
"type": "string",
"examples": [
"my-gateway"
]
},
"cluster_id": {
"type": "string",
"examples": [
"cluster_1"
]
},
"description": {
"type": "string",
"examples": [
"example description"
]
},
"enabled": {
"type": "boolean"
},
"readonly": {
"type": "boolean"
},
"groups": {
"type": "array",
"items": {
"type": "string",
"examples": [
"admins"
]
}
},
"certificates": {
"type": "array",
"items": {
"type": "string",
"examples": [
"66ff56c9fcbec46997145abd"
]
}
}
}
}
}
}
}