Skip to content

Instantly share code, notes, and snippets.

@IsmiKin
Created April 6, 2015 18:51
Show Gist options
  • Save IsmiKin/20eb40d95c58f7f9f8f2 to your computer and use it in GitHub Desktop.
Save IsmiKin/20eb40d95c58f7f9f8f2 to your computer and use it in GitHub Desktop.
Simplecompany REST collection (Rest Postman Client Chrome
{
"id": "cde7e2d3-614f-a859-c703-839adeec759c",
"name": "simplecompany",
"description": "",
"order": [
"01c19aa8-64ab-2e06-8646-e2bd402632b5",
"b61bb5d0-3179-8a03-2ce6-54cc4402dc30",
"fd3f4acc-3154-3eac-037a-ebaac000c0d5",
"6ce45d85-ab1b-0154-b92b-52d79553f274",
"fb7c2755-69b6-3b06-1da9-04db00437020",
"17ff20b3-0584-7fb7-ec26-ff7649abafc2",
"00909e1f-6b79-6f7e-79b5-e8722e77c115"
],
"folders": [],
"timestamp": 1427402889828,
"synced": false,
"owner": "26107",
"sharedWithTeam": false,
"subscribed": false,
"remoteLink": "",
"public": false,
"write": true,
"requests": [
{
"id": "00909e1f-6b79-6f7e-79b5-e8722e77c115",
"headers": "",
"url": "localhost:4567/api/company/1",
"preRequestScript": "",
"pathVariables": {},
"method": "DELETE",
"data": [],
"dataMode": "params",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1428240777442,
"name": "Delete (logic) one company",
"description": "",
"collectionId": "cde7e2d3-614f-a859-c703-839adeec759c",
"responses": [],
"synced": false
},
{
"id": "01c19aa8-64ab-2e06-8646-e2bd402632b5",
"headers": "",
"url": "localhost:4567/api/company/all/",
"preRequestScript": "",
"pathVariables": {},
"method": "GET",
"data": [
{
"key": "name",
"value": "Gandalf",
"type": "text",
"enabled": true
},
{
"key": "type",
"value": "Director",
"type": "text",
"enabled": true
},
{
"key": "passport",
"value": "",
"type": "file",
"enabled": true
},
{
"key": "company",
"value": "1",
"type": "text",
"enabled": true
}
],
"dataMode": "params",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1427748427537,
"name": "All companies",
"description": "Get all the companies",
"collectionId": "cde7e2d3-614f-a859-c703-839adeec759c",
"responses": [],
"synced": false
},
{
"id": "17ff20b3-0584-7fb7-ec26-ff7649abafc2",
"headers": "",
"url": "localhost:4567/api/company/full/1",
"preRequestScript": "",
"pathVariables": {},
"method": "GET",
"data": [
{
"key": "name",
"value": "Nombrecito",
"type": "text",
"enabled": true
},
{
"key": "address",
"value": "Angel",
"type": "text",
"enabled": true
},
{
"key": "city",
"value": "Karakura",
"type": "text",
"enabled": true
},
{
"key": "country",
"value": "Japan",
"type": "text",
"enabled": true
},
{
"key": "email",
"value": "lala@lala.com",
"type": "text",
"enabled": true
},
{
"key": "phone",
"value": "6944",
"type": "text",
"enabled": true
}
],
"dataMode": "params",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1428238828370,
"name": "Get one company (full)",
"description": "",
"collectionId": "cde7e2d3-614f-a859-c703-839adeec759c",
"responses": [],
"synced": false
},
{
"id": "6ce45d85-ab1b-0154-b92b-52d79553f274",
"headers": "",
"url": "localhost:4567/api/company/",
"preRequestScript": "",
"pathVariables": {},
"method": "PUT",
"data": [
{
"key": "name",
"value": "Cucu",
"type": "text",
"enabled": true
},
{
"key": "address",
"value": "Nya",
"type": "text",
"enabled": true
},
{
"key": "city",
"value": "Juju",
"type": "text",
"enabled": true
},
{
"key": "country",
"value": "Japan",
"type": "text",
"enabled": true
},
{
"key": "email",
"value": "sss@sss.com",
"type": "text",
"enabled": true
},
{
"key": "idcompany",
"value": "1",
"type": "text",
"enabled": true
}
],
"dataMode": "params",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1427748416116,
"name": "Update company",
"description": "",
"collectionId": "cde7e2d3-614f-a859-c703-839adeec759c",
"responses": [],
"synced": false
},
{
"id": "b61bb5d0-3179-8a03-2ce6-54cc4402dc30",
"headers": "",
"url": "localhost:4567/api/company/1",
"preRequestScript": "",
"pathVariables": {},
"method": "GET",
"data": [
{
"key": "name",
"value": "Nombrecito",
"type": "text",
"enabled": true
},
{
"key": "address",
"value": "Angel",
"type": "text",
"enabled": true
},
{
"key": "city",
"value": "Karakura",
"type": "text",
"enabled": true
},
{
"key": "country",
"value": "Japan",
"type": "text",
"enabled": true
},
{
"key": "email",
"value": "lala@lala.com",
"type": "text",
"enabled": true
},
{
"key": "phone",
"value": "6944",
"type": "text",
"enabled": true
}
],
"dataMode": "params",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1428238814044,
"name": "Get one company",
"description": "",
"collectionId": "cde7e2d3-614f-a859-c703-839adeec759c",
"responses": [],
"synced": false
},
{
"id": "fb7c2755-69b6-3b06-1da9-04db00437020",
"headers": "",
"url": "localhost:4567/api/person/",
"preRequestScript": "",
"pathVariables": {},
"method": "POST",
"data": [
{
"key": "name",
"value": "Gandalf",
"type": "text",
"enabled": true
},
{
"key": "type",
"value": "Director",
"type": "text",
"enabled": true
},
{
"key": "passport",
"value": "",
"type": "file",
"enabled": true
},
{
"key": "company",
"value": "1",
"type": "text",
"enabled": true
}
],
"dataMode": "params",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1427748422728,
"name": "New person",
"description": "",
"collectionId": "cde7e2d3-614f-a859-c703-839adeec759c",
"responses": [],
"synced": false
},
{
"id": "fd3f4acc-3154-3eac-037a-ebaac000c0d5",
"headers": "",
"url": "localhost:4567/api/company/",
"preRequestScript": "",
"pathVariables": {},
"method": "POST",
"data": [
{
"key": "name",
"value": "Google",
"type": "text",
"enabled": true
},
{
"key": "address",
"value": "Mountain View",
"type": "text",
"enabled": true
},
{
"key": "city",
"value": "SF",
"type": "text",
"enabled": true
},
{
"key": "country",
"value": "EEUU",
"type": "text",
"enabled": true
},
{
"key": "email",
"value": "g@g.com",
"type": "text",
"enabled": true
},
{
"key": "phone",
"value": "1111111",
"type": "text",
"enabled": true
}
],
"dataMode": "params",
"version": 2,
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"time": 1428273653435,
"name": "Create company",
"description": "",
"collectionId": "cde7e2d3-614f-a859-c703-839adeec759c",
"responses": [],
"synced": false
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment