-
Notifications
You must be signed in to change notification settings - Fork 130
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
Root path should return HATEOS payload #508
Comments
This is already done with the entry point object at |
Right, but
in this case maybe would make more sense to have subdomains like |
It is possible to have the entry point object served at the root domain in that case. Leaving the API Name variable as blank in hydrus will serve everything at the root domain. In case the variable is not blank, the root of the API becomes According to the HATEOS explanation.
Incase the API name variable is not blank in hydrus the initial API URI would be Having a supplimentary list along with the entry point object that does not follow the hydra spec and is not in JSON-LD seems confusing. The entry point object is not verbose at all compared to the example written in the OP. The example also contains extra information about the operations supported at an endpoint that is already there in the API documentation. It seems redundant to have them in two places. Such responses also cannot be handled by a Hydra Client. |
Is the entry point object possible in the root domain? |
Fixed with #571 can be closed. |
I'm submitting a
Current Behaviour:
At the moment
http://localhost:8080/
returns 404.Expected Behaviour:
The root of the API should return a list of links to existing collections (see this blogpost for brief explanation of HATEOAS). For example:
The text was updated successfully, but these errors were encountered: