-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add/update bruno files for multiple relationship endpoints
- Loading branch information
1 parent
1736a46
commit 1221a52
Showing
14 changed files
with
221 additions
and
8 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
Applications/ConsumerApi/src/http/Authorization/Get OAuth Token (B).bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
meta { | ||
name: Get OAuth Token (B) | ||
type: http | ||
seq: 2 | ||
} | ||
|
||
post { | ||
url: {{auth.url}} | ||
body: formUrlEncoded | ||
auth: none | ||
} | ||
|
||
body:form-urlencoded { | ||
grant_type: password | ||
username: {{auth.username_b}} | ||
password: {{auth.password_b}} | ||
client_id: {{auth.client_id}} | ||
client_secret: {{auth.client_secret}} | ||
} | ||
|
||
vars:post-response { | ||
jwt.token: res.body.access_token | ||
jwt.expires_in: res.body.expires_in | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
Applications/ConsumerApi/src/http/Relationships/Actions/Accept Relationship.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
meta { | ||
name: /Relationships/{id}/Accept | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
put { | ||
url: {{baseUrl}}/Relationships/{{id}}/Accept | ||
body: json | ||
auth: inherit | ||
} | ||
|
||
body:json { | ||
{ | ||
"creationResponseContent": "" | ||
} | ||
} | ||
|
||
vars:pre-request { | ||
id: RELquh4tVcr3zOTQGti7 | ||
} |
21 changes: 21 additions & 0 deletions
21
Applications/ConsumerApi/src/http/Relationships/Actions/Decompose Relationship.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
meta { | ||
name: /Relationships/{id}/Decompose | ||
type: http | ||
seq: 5 | ||
} | ||
|
||
put { | ||
url: {{baseUrl}}/Relationships/{{id}}/Decompose | ||
body: json | ||
auth: inherit | ||
} | ||
|
||
body:json { | ||
{ | ||
"creationResponseContent": "" | ||
} | ||
} | ||
|
||
vars:pre-request { | ||
id: REL8DyBnfWYiXCzxkMiv | ||
} |
21 changes: 21 additions & 0 deletions
21
Applications/ConsumerApi/src/http/Relationships/Actions/Reject Relationship.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
meta { | ||
name: /Relationships/{id}/Reject | ||
type: http | ||
seq: 2 | ||
} | ||
|
||
put { | ||
url: {{baseUrl}}/Relationships/{{id}}/Reject | ||
body: json | ||
auth: inherit | ||
} | ||
|
||
body:json { | ||
{ | ||
"creationResponseContent": "" | ||
} | ||
} | ||
|
||
vars:pre-request { | ||
id: REL8DyBnfWYiXCzxkMiv | ||
} |
21 changes: 21 additions & 0 deletions
21
Applications/ConsumerApi/src/http/Relationships/Actions/Revoke Relationship.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
meta { | ||
name: /Relationships/{id}/Revoke | ||
type: http | ||
seq: 3 | ||
} | ||
|
||
put { | ||
url: {{baseUrl}}/Relationships/{{id}}/Revoke | ||
body: json | ||
auth: inherit | ||
} | ||
|
||
body:json { | ||
{ | ||
"creationResponseContent": "" | ||
} | ||
} | ||
|
||
vars:pre-request { | ||
id: REL8DyBnfWYiXCzxkMiv | ||
} |
21 changes: 21 additions & 0 deletions
21
Applications/ConsumerApi/src/http/Relationships/Actions/Terminate Relationship.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
meta { | ||
name: /Relationships/{id}/Terminate | ||
type: http | ||
seq: 4 | ||
} | ||
|
||
put { | ||
url: {{baseUrl}}/Relationships/{{id}}/Terminate | ||
body: json | ||
auth: inherit | ||
} | ||
|
||
body:json { | ||
{ | ||
"creationResponseContent": "" | ||
} | ||
} | ||
|
||
vars:pre-request { | ||
id: REL8DyBnfWYiXCzxkMiv | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,5 +11,5 @@ get { | |
} | ||
|
||
vars:pre-request { | ||
RelationshipId: RELUY2h3HVSFfYkdli0P | ||
RelationshipId: RELquh4tVcr3zOTQGti7 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...ions/ConsumerApi/src/http/Relationships/Reactivation/Accept Relationship Reactivation.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
meta { | ||
name: /Relationships/{id}/Reactivate/Accept | ||
type: http | ||
seq: 2 | ||
} | ||
|
||
put { | ||
url: {{baseUrl}}/Relationships/{{id}}/Reactivate/Accept | ||
body: json | ||
auth: inherit | ||
} | ||
|
||
body:json { | ||
{ | ||
"creationResponseContent": "" | ||
} | ||
} | ||
|
||
vars:pre-request { | ||
id: REL8DyBnfWYiXCzxkMiv | ||
} |
21 changes: 21 additions & 0 deletions
21
Applications/ConsumerApi/src/http/Relationships/Reactivation/Reactivate Relationship.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
meta { | ||
name: /Relationships/{id}/Reactivate | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
put { | ||
url: {{baseUrl}}/Relationships/{{id}}/Reactivate | ||
body: json | ||
auth: inherit | ||
} | ||
|
||
body:json { | ||
{ | ||
"creationResponseContent": "" | ||
} | ||
} | ||
|
||
vars:pre-request { | ||
id: REL8DyBnfWYiXCzxkMiv | ||
} |
21 changes: 21 additions & 0 deletions
21
...ions/ConsumerApi/src/http/Relationships/Reactivation/Reject Relationship Reactivation.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
meta { | ||
name: /Relationships/{id}/Reactivate/Reject | ||
type: http | ||
seq: 3 | ||
} | ||
|
||
put { | ||
url: {{baseUrl}}/Relationships/{{id}}/Reactivate/Reject | ||
body: json | ||
auth: inherit | ||
} | ||
|
||
body:json { | ||
{ | ||
"creationResponseContent": "" | ||
} | ||
} | ||
|
||
vars:pre-request { | ||
id: REL8DyBnfWYiXCzxkMiv | ||
} |
21 changes: 21 additions & 0 deletions
21
...ions/ConsumerApi/src/http/Relationships/Reactivation/Revoke Relationship Reactivation.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
meta { | ||
name: /Relationships/{id}/Reactivate/Revoke | ||
type: http | ||
seq: 4 | ||
} | ||
|
||
put { | ||
url: {{baseUrl}}/Relationships/{{id}}/Reactivate/Revoke | ||
body: json | ||
auth: inherit | ||
} | ||
|
||
body:json { | ||
{ | ||
"creationResponseContent": "" | ||
} | ||
} | ||
|
||
vars:pre-request { | ||
id: REL8DyBnfWYiXCzxkMiv | ||
} |