Update postman collections and environments

master
esensar 2017-04-16 22:30:45 +02:00
parent 89fadfe7a4
commit 621fed424e
4 changed files with 152 additions and 63 deletions

2
config

@ -1 +1 @@
Subproject commit e0214c0d84e65d34886eaa932be0224fe53d3d10 Subproject commit 697ac3a635c768e2bd00273a4e5997cbe84c9919

View File

@ -14,7 +14,7 @@
{ {
"name": "Get All Courses", "name": "Get All Courses",
"request": { "request": {
"url": "http://{{url}}:{{usersPort}}/courses", "url": "http://{{usersUrl}}/courses",
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": { "body": {
@ -28,7 +28,7 @@
{ {
"name": "Add Course", "name": "Add Course",
"request": { "request": {
"url": "http://{{url}}:{{usersPort}}/courses", "url": "http://{{usersUrl}}/courses",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
@ -54,7 +54,7 @@
{ {
"name": "Get All", "name": "Get All",
"request": { "request": {
"url": "http://{{url}}:{{eventsPort}}", "url": "http://{{eventsUrl}}",
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": { "body": {
@ -77,7 +77,7 @@
} }
], ],
"request": { "request": {
"url": "http://{{url}}:{{eventsPort}}/events", "url": "http://{{eventsUrl}}/events",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
@ -97,7 +97,7 @@
{ {
"name": "Get Events", "name": "Get Events",
"request": { "request": {
"url": "http://{{url}}:{{eventsPort}}/events", "url": "http://{{eventsUrl}}/events",
"method": "GET", "method": "GET",
"header": [ "header": [
{ {
@ -117,7 +117,7 @@
{ {
"name": "Get Event", "name": "Get Event",
"request": { "request": {
"url": "http://{{url}}:{{eventsPort}}/events/{{eventId}}", "url": "http://{{eventsUrl}}/events/{{eventId}}",
"method": "GET", "method": "GET",
"header": [ "header": [
{ {
@ -137,7 +137,7 @@
{ {
"name": "Get Event Medias", "name": "Get Event Medias",
"request": { "request": {
"url": "http://{{url}}:{{eventsPort}}/events/{{eventId}}/mediaSet", "url": "http://{{eventsUrl}}/events/{{eventId}}/mediaSet",
"method": "GET", "method": "GET",
"header": [ "header": [
{ {
@ -157,7 +157,7 @@
{ {
"name": "Add Media To Event", "name": "Add Media To Event",
"request": { "request": {
"url": "http://{{url}}:{{eventsPort}}/events/{{eventId}}/mediaSet", "url": "http://{{eventsUrl}}/events/{{eventId}}/mediaSet",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
@ -168,7 +168,7 @@
], ],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "http://{{url}}:{{eventsPort}}/medias/1" "raw": "http://{{eventsUrl}}/medias/1"
}, },
"description": "" "description": ""
}, },
@ -183,7 +183,7 @@
{ {
"name": "Add Media", "name": "Add Media",
"request": { "request": {
"url": "http://{{url}}:{{eventsPort}}/medias", "url": "http://{{eventsUrl}}/medias",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
@ -203,7 +203,7 @@
{ {
"name": "Get All Medias", "name": "Get All Medias",
"request": { "request": {
"url": "http://{{url}}:{{eventsPort}}/medias", "url": "http://{{eventsUrl}}/medias",
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": { "body": {
@ -223,7 +223,7 @@
{ {
"name": "Get All Membership Types", "name": "Get All Membership Types",
"request": { "request": {
"url": "http://{{url}}:{{usersPort}}/membershipTypes", "url": "http://{{usersUrl}}/membershipTypes",
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": { "body": {
@ -237,7 +237,7 @@
{ {
"name": "Add Membership Type", "name": "Add Membership Type",
"request": { "request": {
"url": "http://{{url}}:{{usersPort}}/membershipTypes", "url": "http://{{usersUrl}}/membershipTypes",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
@ -263,7 +263,7 @@
{ {
"name": "Add Participant", "name": "Add Participant",
"request": { "request": {
"url": "http://{{url}}:{{teamsPort}}/participants", "url": "http://{{teamsUrl}}/participants",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
@ -283,7 +283,7 @@
{ {
"name": "Get All Participants", "name": "Get All Participants",
"request": { "request": {
"url": "http://{{url}}:{{teamsPort}}/participants", "url": "http://{{teamsUrl}}/participants",
"method": "GET", "method": "GET",
"header": [ "header": [
{ {
@ -309,7 +309,7 @@
{ {
"name": "Get All User Roles", "name": "Get All User Roles",
"request": { "request": {
"url": "http://{{url}}:{{usersPort}}/userRoles", "url": "http://{{usersUrl}}/userRoles",
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": { "body": {
@ -323,7 +323,7 @@
{ {
"name": "Add User Role", "name": "Add User Role",
"request": { "request": {
"url": "http://{{url}}:{{usersPort}}/userRoles", "url": "http://{{usersUrl}}/userRoles",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
@ -349,7 +349,7 @@
{ {
"name": "Add Team Category", "name": "Add Team Category",
"request": { "request": {
"url": "http://{{url}}:{{teamsPort}}/teamCategories", "url": "http://{{teamsUrl}}/teamCategories",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
@ -369,7 +369,7 @@
{ {
"name": "Get All Team Categories", "name": "Get All Team Categories",
"request": { "request": {
"url": "http://{{url}}:{{teamsPort}}/teamCategories", "url": "http://{{teamsUrl}}/teamCategories",
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": { "body": {
@ -389,7 +389,7 @@
{ {
"name": "Get All Team Medias", "name": "Get All Team Medias",
"request": { "request": {
"url": "http://{{url}}:{{teamsPort}}/teamMedias", "url": "http://{{teamsUrl}}/teamMedias",
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": { "body": {
@ -403,7 +403,7 @@
{ {
"name": "Add Team Media", "name": "Add Team Media",
"request": { "request": {
"url": "http://{{url}}:{{teamsPort}}/teamMedias", "url": "http://{{teamsUrl}}/teamMedias",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
@ -429,7 +429,7 @@
{ {
"name": "Get Teams", "name": "Get Teams",
"request": { "request": {
"url": "http://{{url}}:{{teamsPort}}/teams", "url": "http://{{teamsUrl}}/teams",
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": { "body": {
@ -452,7 +452,7 @@
} }
], ],
"request": { "request": {
"url": "http://{{url}}:{{teamsPort}}/teams", "url": "http://{{teamsUrl}}/teams",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
@ -472,7 +472,7 @@
{ {
"name": "Get Team", "name": "Get Team",
"request": { "request": {
"url": "http://{{url}}:{{teamsPort}}/teams/{{teamId}}", "url": "http://{{teamsUrl}}/teams/{{teamId}}",
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": { "body": {
@ -486,7 +486,7 @@
{ {
"name": "Get All", "name": "Get All",
"request": { "request": {
"url": "http://{{url}}:{{teamsPort}}", "url": "http://{{teamsUrl}}",
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": { "body": {
@ -500,7 +500,7 @@
{ {
"name": "Add Category To Team", "name": "Add Category To Team",
"request": { "request": {
"url": "http://{{url}}:{{teamsPort}}/teams/{{teamId}}/teamCategory", "url": "http://{{teamsUrl}}/teams/{{teamId}}/teamCategory",
"method": "PUT", "method": "PUT",
"header": [ "header": [
{ {
@ -511,7 +511,7 @@
], ],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "http://{{url}}:{{teamsPort}}/teamCategories/1" "raw": "http://{{teamsUrl}}/teamCategories/1"
}, },
"description": "" "description": ""
}, },
@ -520,7 +520,7 @@
{ {
"name": "Get Team Categories", "name": "Get Team Categories",
"request": { "request": {
"url": "http://{{url}}:{{teamsPort}}/teams/{{teamId}}/teamCategory", "url": "http://{{teamsUrl}}/teams/{{teamId}}/teamCategory",
"method": "GET", "method": "GET",
"header": [ "header": [
{ {
@ -540,7 +540,7 @@
{ {
"name": "Add Participants To Team", "name": "Add Participants To Team",
"request": { "request": {
"url": "http://{{url}}:{{teamsPort}}/teams/{{teamId}}/participantSet", "url": "http://{{teamsUrl}}/teams/{{teamId}}/participantSet",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
@ -551,7 +551,7 @@
], ],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "http://{{url}}:{{teamsPort}}/participants/1" "raw": "http://{{teamsUrl}}/participants/1"
}, },
"description": "" "description": ""
}, },
@ -560,7 +560,7 @@
{ {
"name": "Get Team Participants", "name": "Get Team Participants",
"request": { "request": {
"url": "http://{{url}}:{{teamsPort}}/teams/{{teamId}}/participantSet", "url": "http://{{teamsUrl}}/teams/{{teamId}}/participantSet",
"method": "GET", "method": "GET",
"header": [ "header": [
{ {
@ -580,7 +580,7 @@
{ {
"name": "Add Media To Team", "name": "Add Media To Team",
"request": { "request": {
"url": "http://{{url}}:{{teamsPort}}/teams/{{teamId}}/teamMediaSet", "url": "http://{{teamsUrl}}/teams/{{teamId}}/teamMediaSet",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
@ -591,7 +591,7 @@
], ],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "http://{{url}}:{{teamsPort}}/teamMedias/1" "raw": "http://{{teamsUrl}}/teamMedias/1"
}, },
"description": "" "description": ""
}, },
@ -600,7 +600,7 @@
{ {
"name": "Get Team Medias", "name": "Get Team Medias",
"request": { "request": {
"url": "http://{{url}}:{{teamsPort}}/teams/{{teamId}}/teamMediaSet", "url": "http://{{teamsUrl}}/teams/{{teamId}}/teamMediaSet",
"method": "GET", "method": "GET",
"header": [ "header": [
{ {
@ -626,7 +626,7 @@
{ {
"name": "Get Users", "name": "Get Users",
"request": { "request": {
"url": "http://{{url}}:{{usersPort}}/users", "url": "http://{{usersUrl}}/users",
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": { "body": {
@ -649,7 +649,7 @@
} }
], ],
"request": { "request": {
"url": "http://{{url}}:{{usersPort}}/users", "url": "http://{{usersUrl}}/users",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
@ -669,7 +669,7 @@
{ {
"name": "Add Roles To User", "name": "Add Roles To User",
"request": { "request": {
"url": "http://{{url}}:{{usersPort}}/users/{{userId}}/userRoles", "url": "http://{{usersUrl}}/users/{{userId}}/userRoles",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
@ -689,7 +689,7 @@
{ {
"name": "Get User", "name": "Get User",
"request": { "request": {
"url": "http://{{url}}:{{usersPort}}/users/{{userId}}", "url": "http://{{usersUrl}}/users/{{userId}}",
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": { "body": {
@ -703,7 +703,7 @@
{ {
"name": "Get User Roles", "name": "Get User Roles",
"request": { "request": {
"url": "http://{{url}}:{{usersPort}}/users/{{userId}}/userRoles", "url": "http://{{usersUrl}}/users/{{userId}}/userRoles",
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": { "body": {
@ -717,7 +717,7 @@
{ {
"name": "Add Courses To User", "name": "Add Courses To User",
"request": { "request": {
"url": "http://{{url}}:{{usersPort}}/users/{{userId}}/courses", "url": "http://{{usersUrl}}/users/{{userId}}/courses",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
@ -728,7 +728,7 @@
], ],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "http://{{url}}:{{usersPort}}/courses/1" "raw": "http://{{usersUrl}}/courses/1"
}, },
"description": "" "description": ""
}, },
@ -737,7 +737,7 @@
{ {
"name": "Get User Courses", "name": "Get User Courses",
"request": { "request": {
"url": "http://{{url}}:{{usersPort}}/users/{{userId}}/courses", "url": "http://{{usersUrl}}/users/{{userId}}/courses",
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": { "body": {
@ -751,7 +751,7 @@
{ {
"name": "Add Membership Types To User", "name": "Add Membership Types To User",
"request": { "request": {
"url": "http://{{url}}:{{usersPort}}/users/{{userId}}/membershipTypes", "url": "http://{{usersUrl}}/users/{{userId}}/membershipTypes",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
@ -762,7 +762,7 @@
], ],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "http://{{url}}:{{usersPort}}/membershipTypes/1" "raw": "http://{{usersUrl}}/membershipTypes/1"
}, },
"description": "" "description": ""
}, },
@ -771,7 +771,7 @@
{ {
"name": "Get User Membership Types", "name": "Get User Membership Types",
"request": { "request": {
"url": "http://{{url}}:{{usersPort}}/users/{{userId}}/membershipTypes", "url": "http://{{usersUrl}}/users/{{userId}}/membershipTypes",
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": { "body": {
@ -785,7 +785,7 @@
{ {
"name": "Get All", "name": "Get All",
"request": { "request": {
"url": "http://{{url}}:{{usersPort}}", "url": "http://{{usersUrl}}",
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": { "body": {

View File

@ -0,0 +1,71 @@
{
"id": "203467ad-9e94-d56a-ecfa-e6db02f10f0f",
"name": "Steleks Local With Proxy",
"values": [
{
"key": "baseUrl",
"type": "text",
"value": "localhost",
"enabled": true
},
{
"key": "usersPort",
"type": "text",
"value": "8080",
"enabled": true
},
{
"key": "eventsPort",
"type": "text",
"value": "8080",
"enabled": true
},
{
"key": "teamsPort",
"type": "text",
"value": "8080",
"enabled": true
},
{
"key": "teamId",
"type": "text",
"value": "1",
"enabled": true
},
{
"key": "userId",
"type": "text",
"value": "1",
"enabled": true
},
{
"key": "eventId",
"type": "text",
"value": "undefined",
"enabled": true
},
{
"key": "usersUrl",
"value": "{{baseUrl}}:{{usersPort}}/users",
"type": "text",
"enabled": true
},
{
"key": "eventsUrl",
"value": "{{baseUrl}}:{{eventsPort}}/events",
"type": "text",
"enabled": true
},
{
"key": "teamsUrl",
"value": "{{baseUrl}}:{{teamsPort}}/teams",
"type": "text",
"enabled": true
}
],
"timestamp": 1492372277644,
"synced": false,
"syncedFilename": "",
"team": null,
"isDeleted": false
}

View File

@ -3,49 +3,67 @@
"name": "Steleks Local", "name": "Steleks Local",
"values": [ "values": [
{ {
"enabled": true, "key": "baseUrl",
"key": "url",
"type": "text", "type": "text",
"value": "localhost" "value": "localhost",
"enabled": true
}, },
{ {
"enabled": true,
"key": "usersPort", "key": "usersPort",
"type": "text", "type": "text",
"value": "8090" "value": "8090",
"enabled": true
}, },
{ {
"enabled": true,
"key": "eventsPort", "key": "eventsPort",
"type": "text", "type": "text",
"value": "9020" "value": "9020",
"enabled": true
}, },
{ {
"enabled": true,
"key": "teamsPort", "key": "teamsPort",
"type": "text", "type": "text",
"value": "9010" "value": "9010",
"enabled": true
}, },
{ {
"enabled": true,
"key": "teamId", "key": "teamId",
"type": "text", "type": "text",
"value": "3" "value": "1",
"enabled": true
}, },
{ {
"enabled": true,
"key": "userId", "key": "userId",
"type": "text", "type": "text",
"value": "6" "value": "1",
"enabled": true
}, },
{ {
"enabled": true,
"key": "eventId", "key": "eventId",
"type": "text", "type": "text",
"value": "2" "value": "undefined",
"enabled": true
},
{
"key": "usersUrl",
"value": "{{baseUrl}}:{{usersPort}}",
"type": "text",
"enabled": true
},
{
"key": "eventsUrl",
"value": "{{baseUrl}}:{{eventsPort}}",
"type": "text",
"enabled": true
},
{
"key": "teamsUrl",
"value": "{{baseUrl}}:{{teamsPort}}",
"type": "text",
"enabled": true
} }
], ],
"timestamp": 1490733819308, "timestamp": 1492372247140,
"synced": false, "synced": false,
"syncedFilename": "", "syncedFilename": "",
"team": null, "team": null,