-
-
Save thelbouffi/fbaa13bef6eb316e997adfc48f88eaec to your computer and use it in GitHub Desktop.
Firebase - REST api calls - postman collection. - Firebase schema - https://www.flickr.com/gp/palaniraja-mca/32J3rA
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
{ | |
"activites" : "activitiesTable", | |
"tasks" : { | |
"-KfbYYnJDdJ1IfQ4D6bl" : { | |
"firstname" : "palani", | |
"lastname" : "just lastname updated" | |
}, | |
"-KfpLsLVH59MpKXDdYVm" : { | |
"firstname" : "palaniraja", | |
"lastname" : "raja" | |
}, | |
"-KfpLx-0L-qXUG22w7Z4" : { | |
"firstname" : "third" | |
} | |
} | |
} |
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
{ | |
"variables": [], | |
"info": { | |
"name": "Firebase - Rest sandbox", | |
"_postman_id": "d8690460-c790-4b0f-64bf-d16f7ece0225", | |
"description": "", | |
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Get All objects", | |
"request": { | |
"url": "https://YOUR-FIREBASE-INSTANCE-ID.firebaseio.com/tasks.json", | |
"method": "GET", | |
"header": [], | |
"body": {}, | |
"description": "" | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Insert an object", | |
"request": { | |
"url": "https://YOUR-FIREBASE-INSTANCE-ID.firebaseio.com/tasks.json", | |
"method": "POST", | |
"header": [], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\n\t\"firstname\":\"fourth\",\n\t\"lastname\": \"record\"\n\t\n}" | |
}, | |
"description": "" | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update an object", | |
"request": { | |
"url": "https://YOUR-FIREBASE-INSTANCE-ID.firebaseio.com/tasks/-KfbYYnJDdJ1IfQ4D6bl.json", | |
"method": "PATCH", | |
"header": [], | |
"body": { | |
"mode": "raw", | |
"raw": "{ \n\"lastname\":\"just lastname updated\"\n}" | |
}, | |
"description": "" | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "delete an object", | |
"request": { | |
"url": "https://YOUR-FIREBASE-INSTANCE-ID.firebaseio.com/tasks/-KfpMaGp314IH1AP386k.json", | |
"method": "DELETE", | |
"header": [], | |
"body": { | |
"mode": "raw", | |
"raw": "" | |
}, | |
"description": "" | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "delete a key from an object", | |
"request": { | |
"url": "https://YOUR-FIREBASE-INSTANCE-ID.firebaseio.com/tasks/-KfpLx-0L-qXUG22w7Z4/lastname.json", | |
"method": "DELETE", | |
"header": [], | |
"body": { | |
"mode": "raw", | |
"raw": "" | |
}, | |
"description": "" | |
}, | |
"response": [] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment