Tentacle registration through the API

I have a situation where I have listening tentacles deployed with the correct server key. I want register the tentacle via the API like was done here: http://community.octopusdeploy.com/t/automating-installation-of-ssh-tentacle/468

I can’t find the right level of documentation here: https://github.com/OctopusDeploy/OctopusDeploy-Api/wiki/Machines

Can you help?

Thank you,

Hi Kristofer,

Thanks for getting in touch. That is the raw HTTP API documentation, it’s more of a reference, not so much a guide. I would recommend trying some of the PowerShell scripts in the source-code of that same repository. There are scripts for registering Listening and/or Polling Tentacles, and SSH endpoints: https://github.com/OctopusDeploy/OctopusDeploy-Api/tree/master/Octopus.Client/PowerShell/Machines

Hope that helps!
Mike