DEV Community

loading...

Discussion on: How to develop/design an API that developers want to use

Collapse
lucianojung profile image
Luciano Jung

Hey there, great post. Two things I want to mention:

  1. I do not agree with the fact that the naming should be plural in any case. Although it's right if your response of all the data at this entry point is a list.
  2. I think you make a small mistake at the response code section. 203 has to be 403
Collapse
rahulbanerjee99 profile image
Rahul Banerjee Author

Hey! Thanks for the catch! Yup, it should be 403 and not 203. I think the name of the endpoint being singular/plural depends on the personal/team's preference as well. Personally, I prefer plural since it represents that there are multiple rows. Could you please elaborate on why you prefer singular?

Forem Open with the Forem app