HAS - Join cluster
POST {{agent_url}}/api/instances/5031/join
This URL allow to update an HAS instance with a newer version of HAS binary.
The API Key correspond to the token of the HAS Agent given at installation of the agent.
If the instance doesn't exist it is created. If it exist it is updated.
For update the body should contain a JSON with all the parameters to update : - HasVersion - RunningMode - DatabaseConnectionString - LogServerAddress - LogServerToken - PublicAddress - TraceServeAddress - TraceServerToken - HopexServerAddress - HopexStoreToken - JoinToken
Request Body
{"bundle"=>{"versionname"=>"dd", "bundle"=>"HOPEX", "Version"=>"5.0.3+1065"}, "port"=>"5031", "clustername"=>"V5-CP3-Daily", "publicadress"=>"https://w-ogd:5030", "token"=>"JTKN.3fnaqDca6U7LrDNCw3YjjeELhDZS3HeWYsoyCkNF4nXaRngmt3c6", "mode"=>"Development"}