Enforcer
Get a list of enforcers
get/enforcer
Request
- Base URL/v1 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared. Required headers: X-Auth-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-Auth-Tokenstring required
Response
Success
Example response
{
"enforcers": [
{
"id": "924ccbbfcac6842e7370305bc51f4594764314f6",
"name": "allinone",
"display_name": "allinone",
"host_name": "ubuntu64",
"host_id": "2AU7:TIEN:O5KX:QK56:LFQP:IJSV:FXBN:QJV7",
"version": "0.1.0",
"labels": {
"key": "com.docker.compose.service",
"value": "allinone"
},
"network_mode": "host",
"created_at": "2018-01-23T21:14:31Z",
"started_at": "2018-01-23T21:14:31Z",
"joined_at": "2018-01-23T21:14:55Z",
"cluster_ip": "10.1.5.1",
"connection_state": "connected"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.