Page MenuHomePhabricator

Provide useful message instead of 404 at /
Closed, DeclinedPublic

Description

We should provide something useful instead of a 404 for requests to /
See T165760#3434246

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 14 2017, 8:58 AM
bmansurov closed this task as Declined.Mar 29 2019, 8:38 PM
bmansurov added a subscriber: bmansurov.

Since the service is exposed via RESTBase, there's no need for this. The root node already responds with the next node. For example, https://en.wikipedia.org/api/rest_v1/data/recommendation/ returns the following

{"items":["article"]}

which means you can query article next, like so https://en.wikipedia.org/api/rest_v1/data/recommendation/article/