Workers
Interrogate a machine for communication details so that it may be added to the installation.
get/workers/discover
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/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
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.