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

HackMD ORN Implementation #1

Open
lukvmil opened this issue Nov 21, 2024 · 0 comments
Open

HackMD ORN Implementation #1

lukvmil opened this issue Nov 21, 2024 · 0 comments

Comments

@lukvmil
Copy link
Collaborator

lukvmil commented Nov 21, 2024

Working on HackMD ORN implementation in the hackmd branch. Current proposed implementation looks like orn:hackmd.note:<team_path>/<note_id>. There are actually multiple ways to access notes and the note id is globally unique. The API recommends calling api.hackmd.io/v1/teams/<team_path>/notes/<note_id> but you can actually just call api.hackmd.io/v1/notes/<note_id>. In the case of referencing public notes, you cannot use the team based route, so maybe better to simply use the note id? Metadata only tells you the user/team that owns the note, and the last user that edited it. Do we have a need for hackmd.team/user objects?

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