An API query is a request for a resource which is a list of things which meet the search criteria. If nothing matches the criteria, then that list is empty, but it is not itself missing. The server should report that the resource (the empty list) does exist, using an HTTP 200 status.
An API query is a request for a resource which is a list of things which meet the search criteria. If nothing matches the criteria, then that list is empty, but it is not itself missing. The server should report that the resource (the empty list) does exist, using an HTTP 200 status.