Skip to main content

Fetch viewer details

This endpoint fetches viewer details such as username, permissions, address, owned miners, user settings etc.

Responses
200

OK

Schema
address string
auth_expiry string
id integer
miners string[]
perms integer
settings object
contentAddingDisabled boolean
dealDuration integer
dealMakingDisabled boolean
fileStagingThreshold integer
flags integer
replication integer
uploadEndpoints string[]
verified boolean
username string
401

Unauthorized

Schema
code integer
details string
reason string
500

Internal Server Error

Schema
code integer
details string
reason string