Skip to content

Commit

Permalink
Merge pull request #138 from harena-lab/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
santanche authored Mar 28, 2022
2 parents 7438d82 + 249981f commit b41cfaa
Show file tree
Hide file tree
Showing 10 changed files with 471 additions and 76 deletions.
199 changes: 194 additions & 5 deletions harena-manager.postman_collection.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"info": {
"_postman_id": "08ac4a21-3c4d-4d90-a981-9567ab291246",
"_postman_id": "e94367f3-5fe8-4628-9973-b1d5951cd65a",
"name": "harena-manager",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
Expand Down Expand Up @@ -182,6 +182,62 @@
},
"response": []
},
{
"name": "/auth/login_event session",
"event": [
{
"listen": "test",
"script": {
"exec": [
"var response = pm.response.json();",
"console.log(response)",
"pm.environment.set(\"user-token\", response.token);",
"pm.environment.set(\"user-refreshToken\", response.refreshToken);",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "eventId",
"value": "",
"type": "text",
"disabled": true
},
{
"key": "username",
"value": "",
"type": "text",
"disabled": true
},
{
"key": "login",
"value": "",
"type": "text",
"disabled": true
}
]
},
"url": {
"raw": "{{api-base-url}}/auth/login_event",
"host": [
"{{api-base-url}}"
],
"path": [
"auth",
"login_event"
]
}
},
"response": []
},
{
"name": "/auth/logout session",
"event": [
Expand Down Expand Up @@ -2520,12 +2576,12 @@
"formdata": [
{
"key": "acronym",
"value": "unicamp",
"value": "progn",
"type": "text"
},
{
"key": "title",
"value": "Universidade Estadual de Campinas",
"value": "Prognosis Game",
"type": "text"
},
{
Expand Down Expand Up @@ -2988,6 +3044,49 @@
},
"response": []
},
{
"name": "/group/managers",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "groupId",
"value": "",
"description": "group id (hash code)",
"type": "text"
}
]
},
"url": {
"raw": "{{api-base-url}}/group/managers",
"host": [
"{{api-base-url}}"
],
"path": [
"group",
"managers"
]
}
},
"response": []
},
{
"name": "/group/user (wip)",
"event": [
Expand Down Expand Up @@ -3116,6 +3215,40 @@
}
},
"response": []
},
{
"name": "/group/link/manager",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "groupId",
"value": "",
"type": "text"
},
{
"key": "userId",
"value": "",
"type": "text"
}
]
},
"url": {
"raw": "{{api-base-url}}/group/link/manager",
"host": [
"{{api-base-url}}"
],
"path": [
"group",
"link",
"manager"
]
}
},
"response": []
}
]
},
Expand Down Expand Up @@ -3284,7 +3417,7 @@
},
{
"key": "open",
"value": "Title of this Event",
"value": "",
"description": "boolean indicating if the event allows participation of non registered users",
"type": "text"
},
Expand Down Expand Up @@ -3367,6 +3500,24 @@
}
},
"response": []
},
{
"name": "/events",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{api-base-url}}/event/list",
"host": [
"{{api-base-url}}"
],
"path": [
"event",
"list"
]
}
},
"response": []
}
]
},
Expand Down Expand Up @@ -3498,7 +3649,7 @@
"type": "text"
},
{
"key": "emaiResponsible",
"key": "emailResponsible",
"value": "",
"description": "email of the person responsible",
"type": "text"
Expand Down Expand Up @@ -3594,6 +3745,44 @@
},
"response": []
},
{
"name": "/term/list",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});"
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "formdata",
"formdata": []
},
"url": {
"raw": "{{api-base-url}}/term/list",
"host": [
"{{api-base-url}}"
],
"path": [
"term",
"list"
]
}
},
"response": []
},
{
"name": "/term/users",
"event": [
Expand Down
Loading

0 comments on commit b41cfaa

Please sign in to comment.