Users
With the Pakt SDK, Chainsite builders can:
Last updated
With the Pakt SDK, Chainsite builders can:
Last updated
Retrieve a user information, using their _id. The authenticated user jwt token is required to implement this feature.
This feature returns the IUser.
With the PAKT SDK, a list of users can be retrieved, filtered and paginated to get a particular list of users. The FilterUserDto is used to filter search results.
FilterUserDto
FilterUserDto is used to filter search results, all fields are optional.
page
The page in particular to filter
number
limit
The total number of users to retrieve, defaults to 12.
number
sort
Identifier to sort by. Defaults to sorting by the score in descending order
string | score
type
The type of users to filter for.
recipient | creator
search
Field entry to allow filter by either lastName or the firstName
string
range
Field entry to search for user between two score. For example
?range=64,84
The minimum score first, then the maximum score
string
tags
Field entry to search for a tag(s)
For example:
?tag=NodeJS,Typescript
string
owner
Identifer to filter by the user, ensuring that the users bookmarked by the authenticated user is ensured
boolean