Workers
Interrogate a machine for communication details so that it may be added to the installation.
get/spaces/{spaceIdentifier}/workers/discover
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/spaces/{spaceIdentifier}/workers/discover
- Auth
- API key in header X-Octopus-ApiKey
- or API key in query parameter ApiKey
- or API key in header X-NuGet-ApiKey
Path parameters
spaceIdentifierstring required
Identifier (ID or slug) of the space
Query parameters
hoststring required
The hostname of the machine to discover
portinteger
The port of the machine to discover
proxyIdstring
The ID of the proxy to go through
type'TentaclePassive' | 'TentacleActive' | 'Ssh'
The type of endpoint on the machine
Response
The worker which was discovered
Example response
{
"Endpoint": {
"Links": {
"Self": "/api/..."
}
},
"Links": {
"Self": "/api/..."
},
"SpaceId": "Spaces-1",
"WorkerPoolIds": [
"WorkerPools-1",
"..."
]
}Changes
No recorded changes to this operation across all 13 revisions of this API.