This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"code": 200 | |
}, | |
"data": { | |
... | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"code": 401, | |
"message": "Invalid API Key.", | |
"type": "Unauthorized" | |
}, | |
"data": {} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"code": 200, | |
"type": "ok" | |
}, | |
"data": { | |
"bookings": [ | |
{ ... }, | |
{ ... }, | |
{ ... } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"code": 200, | |
"type": "ok" | |
}, | |
"data": { | |
"bookings": [{ | |
"booking_id": "BN55488444", | |
"booking_items": [{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"booking_items": [ | |
{ | |
"category": "Mp3 Player", | |
"product_url": "xyz.com/A123456", | |
"qty": 2 | |
}, | |
{ | |
"category": "Fridge", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"code": 201, | |
"type": "created" | |
}, | |
"data": { | |
"bookings": [{ | |
"booking_id": "BN68657688", | |
"booking_items": [{ | |
"is_cod": false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"code": 200, | |
"type": "ok" | |
}, | |
"data": { | |
"bookings": [{ | |
"booking_id": "BN55488444", | |
"booking_items": [{ | |
"is_cod": false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"code": 200 | |
}, | |
"data": { | |
"tracking": { | |
"id": "53aa788e415a67000000001d", | |
"created_at": "2014-06-25T07:21:50+00:00", | |
"updated_at": "2014-06-25T07:26:33+00:00", | |
"tracking_number": "1Z867F6RP220667561", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"code": 200, | |
"type": "ok" | |
}, | |
"data": { | |
"bookings": [{ | |
"booking_id": "BN55488444", | |
"status": "Cancelled", | |
"booking_items": [{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The df -h on the partition /data was showing full usage of 20GB but du -sh /data was showing a usage of only 581MB. | |
ubuntu@ip-xxx-xx-x-xx:/data$ df -h | |
Filesystem Size Used Avail Use% Mounted on | |
... | |
/dev/xvdb 20G 20G 0G 100% /data | |
ubuntu@ip-xxx-xx-x-xx:/data$ du -sh . | |
581M . |