-
Notifications
You must be signed in to change notification settings - Fork 71
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
Add rel for actions #56
Comments
@dominicbarnes Sorry for the delay. I've used A relation on an action would change from "why do you want to follow this link?" to "why do you want to execute this request?" For that information, I tie it to documentation with the action name. That said, there's no reason an action name couldn't be a URI. It just doesn't have to be, per the spec. |
Ok, I can understand that reasoning. I guess my main question is why actions are treated differently than links in this regard? Rather, why is the discoverability of actions different than that of links? By not having any sort of URL tied to the However, I would like to formally propose a long-term solution by using |
I'm in agreement with @dominicbarnes in this. The fact that a link has a rel attribute and an action has a name attribute is confusing - especially when both of them are used in the same way as a key to discover the href. |
Just implementing a new REST API loosely based on SIREN and |
While looking through the list of link relations, I discovered things like
create-form
andedit-form
, which I thought would make sense in the context of an action.Would adding
rel
make sense for actions? Since actions have an href, I think this technically makes it a link, but I'm still learning the vernacular of hypermedia.The text was updated successfully, but these errors were encountered: