Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Activate a pairing session

POST/v1/private/pairing/sessions/{sessionId}/activateActivate a pairing session

Verify the activation HMAC and flip the runner row to CONNECTED

Parameters

sessionIdstring · uuidpathrequired

Request body

application/json
objectActivateRequest
hmacstringrequired

maxLength 44 · minLength 43

runner_namestringrequired

maxLength 128 · minLength 0

Example request
{
  "hmac": "string",
  "runner_name": "string"
}

Responses

201Session activated

Headers

Location

URI of the runner

403Invalid HMACapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
404Session not foundapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
409Session already activatedapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
422Unprocessable entityapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
429Too many requestsapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
Documentation menu