New ask Hacker News story: Ask HN: REST API response – Should you envelope or not?
Ask HN: REST API response – Should you envelope or not?
4 by googlycooly | 2 comments on Hacker News.
Can anyone who has years of experience in building REST APIs explain which option is better? To envelop or not? If we envelop, what should be the key? Should it be common for all responses like "data":[] or specific to resources like "users":[]
4 by googlycooly | 2 comments on Hacker News.
Can anyone who has years of experience in building REST APIs explain which option is better? To envelop or not? If we envelop, what should be the key? Should it be common for all responses like "data":[] or specific to resources like "users":[]
Comments
Post a Comment