orbis.updateProfile()

Used to for users to update their profile details.

How to use?

let res = await orbis.updateProfile({
    pfp: "https://...",
    username: "baptiste"
  });

Parameters

  • content: JSON object containing the profile details with the following optional elements
  • pfp: string A valid URL pointing to the user’s profile picture
  • username: string Username of the user, not unique for now
  • description: string Description of the user

Returns

{
    status: 200,
    doc: "kjzl6cwe1...e4wvxhiqj",
    result: "Success creating TileDocument."
  }

Next steps

Explore other parts of the API.

orbis.react()

orbis.setFollow()