-
Notifications
You must be signed in to change notification settings - Fork 34
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
Make resource collection URLs explicit #206
Comments
Would |
It looks like |
This
I think that the concept of an RS is less specific than you're implying. In theory it could be possible to have an entirely different RS for each resource collection. These are a perfectly valid set of RS URLs for different resource collections:
As with all of the other URLs returned by API responses we should avoid assumptions about the authority or path relative to the API request URL. |
@sabineschaller - any thoughts on this idea? |
@adrianhopebailie given we now have (we are just doing some issue cleanup) |
@mkurapov I agree this is no longer relevant |
Currently the resource collection URLs that are used to
create
andlist
resources are implicit.e.g. Given a payment pointer
https://example
the resource collection for creating new incoming payments ishttps://example/incoming-payments
.There seems to be no advantage to this given that we require a client to get a grant to access any of these URLs.
A cleaner and more extensible solution would be for the server to provide the URL of the resource collection to the client as part of the grant response.
Example: AS response for grant to create/read incoming payments
From this response the client knows that it must perform
create
andlist
operations by making aPOST
or aGET
tohttps://example/incoming
.The text was updated successfully, but these errors were encountered: