Add bookmark

πŸ“˜

Full code example

https://github.com/lens-protocol/api-examples/blob/master/src/bookmarks/add-bookmark.ts

This API call allows you to add bookmark to publications with a profile off-chain without needing to sign.

🚧

This request is protected by authentication

hint: this means it requires an x-access-token header put in the request with your authentication token.

API Design

Add a bookmark to a publication.

This returns a void so no need to care about its response if successful.

mutation AddPublicationProfileBookmark {
  addPublicationProfileBookmark(request: { profileId: "0x01", publicationId: "0x02-0x01" })
}

Request

profileId - required

The profile id you wish to bookmark from the authenticated user must own that profile.

publicationId - required

which publication do you wish to bookmark