Skip to content

Commit 43ec71c

Browse files
author
Vikas Agarwal
committed
Postman collection update
1 parent 11adf6a commit 43ec71c

File tree

1 file changed

+135
-2
lines changed

1 file changed

+135
-2
lines changed

postman.json

Lines changed: 135 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"info": {
3-
"_postman_id": "efae2a9b-b869-4965-b889-3278870b29ea",
3+
"_postman_id": "2afc9fa0-06bb-4276-86c2-eb5cbb861d98",
44
"name": "tc-project-service",
55
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
66
},
@@ -8354,6 +8354,139 @@
83548354
"response": []
83558355
}
83568356
]
8357+
},
8358+
{
8359+
"name": "Project Reports",
8360+
"item": [
8361+
{
8362+
"name": "get report by admin",
8363+
"request": {
8364+
"method": "GET",
8365+
"header": [
8366+
{
8367+
"key": "Authorization",
8368+
"value": "Bearer {{jwt-token-admin-40051333}}",
8369+
"type": "text"
8370+
}
8371+
],
8372+
"url": {
8373+
"raw": "{{api-url}}/v4/projects/1/reports?reportName=summary",
8374+
"host": [
8375+
"{{api-url}}"
8376+
],
8377+
"path": [
8378+
"v4",
8379+
"projects",
8380+
"1",
8381+
"reports"
8382+
],
8383+
"query": [
8384+
{
8385+
"key": "reportName",
8386+
"value": "summary"
8387+
}
8388+
]
8389+
}
8390+
},
8391+
"response": []
8392+
},
8393+
{
8394+
"name": "get report with invalid project id",
8395+
"request": {
8396+
"method": "GET",
8397+
"header": [
8398+
{
8399+
"key": "Authorization",
8400+
"type": "text",
8401+
"value": "Bearer {{jwt-token-admin-40051333}}"
8402+
}
8403+
],
8404+
"url": {
8405+
"raw": "{{api-url}}/v4/projects/123456/reports?reportName=summary",
8406+
"host": [
8407+
"{{api-url}}"
8408+
],
8409+
"path": [
8410+
"v4",
8411+
"projects",
8412+
"123456",
8413+
"reports"
8414+
],
8415+
"query": [
8416+
{
8417+
"key": "reportName",
8418+
"value": "summary"
8419+
}
8420+
]
8421+
}
8422+
},
8423+
"response": []
8424+
},
8425+
{
8426+
"name": "get report with invalid report name",
8427+
"request": {
8428+
"method": "GET",
8429+
"header": [
8430+
{
8431+
"key": "Authorization",
8432+
"type": "text",
8433+
"value": "Bearer {{jwt-token-admin-40051333}}"
8434+
}
8435+
],
8436+
"url": {
8437+
"raw": "{{api-url}}/v4/projects/1/reports?reportName=summary123",
8438+
"host": [
8439+
"{{api-url}}"
8440+
],
8441+
"path": [
8442+
"v4",
8443+
"projects",
8444+
"1",
8445+
"reports"
8446+
],
8447+
"query": [
8448+
{
8449+
"key": "reportName",
8450+
"value": "summary123"
8451+
}
8452+
]
8453+
}
8454+
},
8455+
"response": []
8456+
},
8457+
{
8458+
"name": "get report by member",
8459+
"request": {
8460+
"method": "GET",
8461+
"header": [
8462+
{
8463+
"key": "Authorization",
8464+
"value": "Bearer {{jwt-token-member2-40051335}}",
8465+
"type": "text"
8466+
}
8467+
],
8468+
"url": {
8469+
"raw": "{{api-url}}/v4/projects/1/reports?reportName=summary",
8470+
"host": [
8471+
"{{api-url}}"
8472+
],
8473+
"path": [
8474+
"v4",
8475+
"projects",
8476+
"1",
8477+
"reports"
8478+
],
8479+
"query": [
8480+
{
8481+
"key": "reportName",
8482+
"value": "summary"
8483+
}
8484+
]
8485+
}
8486+
},
8487+
"response": []
8488+
}
8489+
]
83578490
}
83588491
]
8359-
}
8492+
}

0 commit comments

Comments
 (0)