Discussion Ask HN: REST API response – Should you envelope or not? 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":[] 5 points googlycooly 5 years ago 2 comments
If we envelop, what should be the key? Should it be common for all responses like "data":[] or specific to resources like "users":[]