Skip to content

Commit

Permalink
More Bruno requests
Browse files Browse the repository at this point in the history
  • Loading branch information
kimtore committed May 7, 2024
1 parent 3fac531 commit 220983d
Showing 1 changed file with 70 additions and 9 deletions.
79 changes: 70 additions & 9 deletions testdata/bruno.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
{
"type": "http",
"name": "Add Team Member",
"seq": 3,
"seq": 2,
"request": {
"url": "http://localhost:3000/api/teams/1/members",
"method": "POST",
"headers": [],
"body": {
"mode": "json",
"json": "{\n \"userID\": 2\n}",
"json": "{\n \"userID\": 2,\n \"permission\": \"Member\"\n}",
"formUrlEncoded": [],
"multipartForm": []
},
Expand All @@ -36,7 +36,7 @@
{
"type": "http",
"name": "Create Team",
"seq": 2,
"seq": 1,
"request": {
"url": "http://localhost:3000/api/teams",
"method": "POST",
Expand Down Expand Up @@ -72,7 +72,7 @@
{
"type": "http",
"name": "Lookup user",
"seq": 4,
"seq": 3,
"request": {
"url": "http://localhost:3000/api/users/lookup?loginOrEmail=kimt",
"method": "GET",
Expand Down Expand Up @@ -108,7 +108,7 @@
{
"type": "http",
"name": "Remove member from team",
"seq": 5,
"seq": 4,
"request": {
"url": "http://localhost:3000/api/teams/1/members/2",
"method": "DELETE",
Expand Down Expand Up @@ -138,7 +138,7 @@
{
"type": "http",
"name": "Assign user role in team",
"seq": 6,
"seq": 5,
"request": {
"url": "http://localhost:3000/api/access-control/teams/1/users/2",
"method": "POST",
Expand Down Expand Up @@ -169,7 +169,7 @@
{
"type": "http",
"name": "Create service account",
"seq": 7,
"seq": 6,
"request": {
"url": "http://localhost:3000/api/serviceaccounts",
"method": "POST",
Expand Down Expand Up @@ -200,9 +200,9 @@
{
"type": "http",
"name": "Add service account role assignment",
"seq": 8,
"seq": 7,
"request": {
"url": "http://localhost:3000/api/access-control/serviceaccounts/3/teams/1",
"url": "http://localhost:3000/api/access-control/serviceaccounts/4/teams/1",
"method": "POST",
"headers": [],
"body": {
Expand All @@ -227,6 +227,67 @@
"tests": "",
"query": []
}
},
{
"type": "http",
"name": "Delete service account",
"seq": 9,
"request": {
"url": "http://localhost:3000/api/serviceaccounts/3",
"method": "DELETE",
"headers": [],
"body": {
"mode": "none",
"formUrlEncoded": [],
"multipartForm": []
},
"auth": {
"mode": "none",
"basic": {
"username": "",
"password": ""
},
"bearer": {
"token": ""
}
},
"script": {},
"vars": {},
"assertions": [],
"tests": "",
"query": []
}
},
{
"type": "http",
"name": "Remove service account user role assignment",
"seq": 10,
"request": {
"url": "http://localhost:3000/api/access-control/serviceaccounts/4/users/1",
"method": "POST",
"headers": [],
"body": {
"mode": "json",
"json": "{\n \"permission\": \"\"\n}",
"formUrlEncoded": [],
"multipartForm": []
},
"auth": {
"mode": "none",
"basic": {
"username": "",
"password": ""
},
"bearer": {
"token": ""
}
},
"script": {},
"vars": {},
"assertions": [],
"tests": "",
"query": []
}
}
],
"environments": []
Expand Down

0 comments on commit 220983d

Please sign in to comment.