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 OPTIONAL
address string OPTIONAL
auth_expiry string OPTIONAL
id integer OPTIONAL
miners string[] OPTIONAL
perms integer OPTIONAL
settings object OPTIONAL
contentAddingDisabled boolean OPTIONAL
dealDuration integer OPTIONAL
dealMakingDisabled boolean OPTIONAL
fileStagingThreshold integer OPTIONAL
flags integer OPTIONAL
replication integer OPTIONAL
uploadEndpoints string[] OPTIONAL
verified boolean OPTIONAL
username string OPTIONAL
401

Unauthorized

Schema OPTIONAL
code integer OPTIONAL
details string OPTIONAL
reason string OPTIONAL
500

Internal Server Error

Schema OPTIONAL
code integer OPTIONAL
details string OPTIONAL
reason string OPTIONAL