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

Atomic Operations relationship to request URL path #1577

Open
freddrake opened this issue Aug 4, 2021 · 0 comments
Open

Atomic Operations relationship to request URL path #1577

freddrake opened this issue Aug 4, 2021 · 0 comments
Labels
extension Related to existing and proposed extensions as well as extensions in general

Comments

@freddrake
Copy link
Contributor

The Atomic Operations extension (draft?) specification uses a URL path of /operations for all examples, but doesn't mention the URL for the request in the text of the specification.

This isn't unexpected, since the primary JSON:API specification is silent on the specific URL structure (which I consider a good thing).

However, since the URLs are used to identify the resource, collection, or relationship that is being operated on in the main specification, some questions come to mind that should be answered in the Atomic Operations specification:

  1. Are an operation's ref or href affected by the URL for the encapsulating request, or can those members be omitted to get the processor to fall back to the request URL?

  2. Is there a discovery mechanism for the URL(s) accepting requests requiring the extension? (Not all APIs are published directly at / for the hosting domain.)

  3. Should all endpoints accepting JSON:API requests support the Atomic Operations extension directly, possibly issuing a 307 / 308 redirect?

@jelhan jelhan added the extension Related to existing and proposed extensions as well as extensions in general label Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension Related to existing and proposed extensions as well as extensions in general
Projects
None yet
Development

No branches or pull requests

2 participants