apis-json / api-json

APIS.json an API discovery format
http://apisjson.org/
MIT License
111 stars 23 forks source link

MUST provide 404 for apis.json #25

Closed kinlane closed 10 years ago

kinlane commented 10 years ago

If the server response indicates the resource does not exist (HTTP Status Code 404), the robot can assume no instructions are available.

Should this be a MUST so that the server side shares the same expectation? Or is this not a safe assumption? What are the consequences of inability to read the available data — are there any risks?

From Eve Maler - https://groups.google.com/forum/#!topic/apisjson/s30XLjP8Q0A

njyx commented 10 years ago

This should be a must since it is crisper. One thing that could happen is a file moves subdomain - but that counts as a new file.