computers.getComputerPairing
GET
/v1/computer-pairings/{code}
Shows which machine a pairing code is for, so the person can check it before they approve.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”code
required
string
Responses
Section titled “Responses”Success
Media typeapplication/json
object
code
required
string
hostname
required
string
os
required
string
arch
required
string
desktop
required
boolean
expiresAt
required
number
Example generated
{ "code": "example", "hostname": "example", "os": "example", "arch": "example", "desktop": true, "expiresAt": 1}ComputerInvalid | OrganizationRequired
AuthenticationRequired
Media typeapplication/json
object
_tag
required
string
Example
{ "_tag": "AuthenticationRequired"}PermissionDenied | MembershipRequired | ForbiddenOrigin
ComputerNotFound | ComputerProviderNotFound | PairingInvalid
ComputerConflict | ComputerUnsupported | ComputerNotReady
RateLimited
Media typeapplication/json
object
_tag
required
string
retryAfterSeconds
required
integer
Example
{ "_tag": "RateLimited"}ComputerProviderFailed
Media typeapplication/json
object
_tag
required
string
message
required
string
Example
{ "_tag": "ComputerProviderFailed"}AuthorizationUnavailable | ComputersUnavailable | AuthenticationUnavailable