Skip to content

Instantly share code, notes, and snippets.

@eabrouwer3
Last active April 10, 2019 20:25
Show Gist options
  • Save eabrouwer3/361e20f70310e748c3918cf0ff1bec2d to your computer and use it in GitHub Desktop.
Save eabrouwer3/361e20f70310e748c3918cf0ff1bec2d to your computer and use it in GitHub Desktop.
Converted Postman JSON
{
"item": [
{
"id": "<id>",
"name": "user",
"item": [
{
"id": "<id>",
"name": "stuff",
"item": [
{
"id": "<id>",
"item": [
{
"id": "<id>",
"name": "Get's a list of all the user's stuff",
"request": {
"name": "Get's a list of all the user's stuff",
"description": {},
"url": {
"path": [
"user",
"stuff",
""
],
"host": [
"{{baseUrl}}"
],
"query": [],
"variable": []
},
"method": "GET",
"auth": {
"type": "noauth"
}
},
"response": [
{
"id": "<id>",
"name": "List of user's stuff",
"originalRequest": {
"url": {
"path": [
"user",
"stuff",
""
],
"host": [
"{{baseUrl}}"
],
"query": [],
"variable": []
},
"method": "GET",
"body": {}
},
"status": "OK",
"code": 200,
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"body": "",
"cookie": [],
"_postman_previewlanguage": "text"
}
],
"event": []
},
{
"id": "<id>",
"name": "/user/stuff/",
"request": {
"name": "/user/stuff/",
"description": {},
"url": {
"path": [
"user",
"stuff",
""
],
"host": [
"{{baseUrl}}"
],
"query": [],
"variable": []
},
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"method": "POST",
"auth": {
"type": "noauth"
},
"body": {
"mode": "raw",
"raw": "\"<object>\""
}
},
"response": [
{
"id": "<id>",
"name": "Stuff that was just added",
"originalRequest": {
"url": {
"path": [
"user",
"stuff",
""
],
"host": [
"{{baseUrl}}"
],
"query": [],
"variable": []
},
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"method": "POST",
"body": {
"mode": "raw",
"raw": "\"<object>\""
}
},
"status": "OK",
"code": 200,
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"body": "",
"cookie": [],
"_postman_previewlanguage": "text"
}
],
"event": []
}
],
"event": []
}
],
"event": []
},
{
"id": "<id>",
"name": "Get some more of the user's stuff",
"request": {
"name": "Get some more of the user's stuff",
"description": {},
"url": {
"path": [
"user",
"otherstuff",
""
],
"host": [
"{{baseUrl}}"
],
"query": [
{
"description": "How much to display per page",
"key": "per_page",
"value": 100
}
],
"variable": []
},
"method": "GET",
"auth": {
"type": "noauth"
}
},
"response": [
{
"id": "<id>",
"originalRequest": {
"url": {
"path": [
"user",
"otherstuff",
""
],
"host": [
"{{baseUrl}}"
],
"query": [
{
"key": "per_page",
"value": "100"
}
],
"variable": []
},
"method": "GET",
"body": {}
},
"status": "OK",
"code": 200,
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"body": "",
"cookie": [],
"_postman_previewlanguage": "text"
}
],
"event": []
}
],
"event": []
],
"event": [],
"variable": [
{
"id": "<id>",
"type": "string",
"value": "/"
}
],
"info": {
"_postman_id": "<id>",
"name": "Test App API",
"version": {
"raw": "1.0.0",
"major": 1,
"minor": 0,
"patch": 0,
"prerelease": [],
"build": [],
"string": "1.0.0"
},
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"description": {
"content": "API documentation built using OpenAPI spec 3.0.2",
"type": "text/plain"
},
"id": "<id>"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment