-
Notifications
You must be signed in to change notification settings - Fork 26
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 an example showing how responses point to the ApiDocumentation #68
Comments
Sorry if this is better suited for the mailing list but since there is an open issue I thought I would try and confirm my assumptions here based on what has been written above. I'm operating under the assumption right now that the link header with rel |
What do you mean by 👇?
Don't treat this as an authoritative answer but I think that the API documentation actually does indeed list all classes supported by the API. This may not be a an exhaustive list though. For example unauthenticated users (or users with certain permissions) could only receive part of the API (classes). But it is not otherwise limited to the scope of any given resource. On the other hand nothing forbids you from designing your API that way. Beware though that it must always include descriptions of any class that the client could have received, also in past responses. This would be to avoid a situation where you don't have details of how to perform a request for example (when a class is used with the |
@tpluscode: That's my understanding of the |
Ah ok, that does help clarify. This would end up being a very large document for the application I'm looking to build this into - that might be OK with caching though. |
Interesting. The obvious question then might be what the boundary of an API is. |
Otherwise people might have the impression that the link to the ApiDocumentation is solely used to find the API's entry point. See http://lists.w3.org/Archives/Public/public-hydra/2014Aug/0145.html
The text was updated successfully, but these errors were encountered: