Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support slug and url #16

Open
twilson63 opened this issue Jun 11, 2022 · 0 comments
Open

support slug and url #16

twilson63 opened this issue Jun 11, 2022 · 0 comments

Comments

@twilson63
Copy link
Owner

/notes/note-{wallet[3] + wallet[3] + slug}

This will make the unique identifier of the note the wallet short code plus the slug of the note and each interaction would a new transaction id. The notes endpoint should support either {txId} or {slug}, this will allow for backward compatibility and if users want to pin a specific revision. The note should use the same "like" contract if it is the same owner?

Maybe prefix it with note-{slug} this will allow the app to know it is a slug not a txId

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant