提供全部可用的资源
提供全部可显现的资源 (例如. 这个对象的所有属性) 不用考虑全部可能响应的状态码,总是在响应码为200或是201时返回所有可用资源, 包含 PUT/PATCH 和 DELETE
请求, 例如:
$ curl -X DELETE \https://service.com/apps/1f9b/domains/0fd4HTTP/1.1 200 OKContent-Type: application/json;charset=utf-8...{"created_at": "2012-01-01T12:00:00Z","hostname": "subdomain.example.com","id": "01234567-89ab-cdef-0123-456789abcdef","updated_at": "2012-01-01T12:00:00Z"}
当请求状态码为202时,不返回所有可用资源,
e.g.:
$ curl -X DELETE \https://service.com/apps/1f9b/dynos/05bdHTTP/1.1 202 AcceptedContent-Type: application/json;charset=utf-8...{}
