Changed api response "result" to "data"
This commit is contained in:
@@ -13,7 +13,7 @@ All successful GET responses have a standard format:
|
||||
|
||||
```json
|
||||
{
|
||||
"Result": {
|
||||
"data": {
|
||||
"id": 150,
|
||||
"name": "Handmade Rubber Pizza",
|
||||
...etc...
|
||||
@@ -21,7 +21,7 @@ All successful GET responses have a standard format:
|
||||
}
|
||||
```
|
||||
|
||||
The results of the response are always contained in the `result` property and could be a single object, a collection or in some cases nothing at all.
|
||||
The results of the response are always contained in the `data` property and could be a single object, a collection or in some cases nothing at all.
|
||||
HTTP Status Code is set in the header.
|
||||
|
||||
### GET COLLECTION RESPONSE
|
||||
@@ -38,7 +38,7 @@ Response:
|
||||
|
||||
```json
|
||||
{
|
||||
"result": [
|
||||
"data": [
|
||||
...collection...
|
||||
],
|
||||
"paging": {
|
||||
|
||||
Reference in New Issue
Block a user