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

Keep IRIs opaque to the client with iriPrefix #120

Open
elf-pavlik opened this issue May 31, 2021 · 3 comments
Open

Keep IRIs opaque to the client with iriPrefix #120

elf-pavlik opened this issue May 31, 2021 · 3 comments

Comments

@elf-pavlik
Copy link
Member

I was thinking about what we are missing to support use of IRIs opaque to the client. Main concern seems to be related to creating new resources. Looking at:

https://solid.github.io/data-interoperability-panel/specification/#datareg-create-instance

We could add two rather small changes to it:

  1. Data Registration must provide IRI template or just base for creating new resource IRI, even something simple like void:uriSpece

  2. PUT request creating new resource must have additional link in a header designating target Data Registration rel=http://www.w3.org/ns/solid/interop#targetDataRegistration

GIven above client and serve should still be able to create new resources in specific data registration. While it still allows server to use specific IRI hierarchy it doesn't require it.

@justinwb
Copy link
Member

justinwb commented Jun 1, 2021

Agree we need a pattern like this for fully-flat resource spaces. Would recommend that we look at 1. as a property on the Registration class so it can be inherited by other registry types beyond DataRegistry

@justinwb justinwb changed the title Keeping IRIs opaque to the client - small additions to Create Data Instance operation Keep IRIs opaque to the client with iriPrefix Aug 17, 2021
@elf-pavlik
Copy link
Member Author

We could add two rather small changes to it:

  1. Data Registration must provide IRI template or just base for creating new resource IRI, even something simple like void:uriSpece
  2. PUT request creating new resource must have additional link in a header designating target Data Registration rel=http://www.w3.org/ns/solid/interop#targetDataRegistration

sai-js implements it alraedy

  1. using interop:iriPrefix
  2. using interop:targetDataRegistration

@justinwb
Copy link
Member

justinwb commented Oct 7, 2021

Noting that from the panel session on 2021-10-05 it was agreed to put this on hold and consider pushing it upstream to be server managed. Unassigning it from the specification project / 1.0 milestone.

@justinwb justinwb removed this from the Application Interoperability v1.0 milestone Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants