Users
Guardian Users Endpoints
get
https://explorer.protokol.sh/api/guardian/users
/users
Curl
Typescript
curl https://explorer.protokol.sh/api/guardian/users
const response = await connection.guardianApi("users").index();
>>> Promise<ApiResponseWithPagination<User>>
get
https://explorer.protokol.sh/api/guardian/users/:id
/users/:id
Curl
Typescript
curl https://explorer.protokol.sh/api/guardian/users/03c11f2a1fc02c88cd9b8db5272cba390bdb9ce3e1d58355de1b7a24c673e06ebc
const response = await connection.guardianApi("users").get("PUBLIC_KEY");
>>> Promise<ApiResponse<User>>
get
https://explorer.protokol.sh/api/guardian/users/:id/groups
/users/:id/groups
Curl
Typescript
curl https://explorer.protokol.sh/api/guardian/users/03c11f2a1fc02c88cd9b8db5272cba390bdb9ce3e1d58355de1b7a24c673e06ebc/groups
const response = await connection.guardianApi("users").userGroups("PUBLIC_KEY");
>>> Promise<ApiResponse<UserGroups>>
Last modified 1yr ago