Skip to content

Commit

Permalink
chore: Add/update bruno files for multiple relationship endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
MH321Productions committed Nov 6, 2024
1 parent 1736a46 commit 1221a52
Show file tree
Hide file tree
Showing 14 changed files with 221 additions and 8 deletions.
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
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ meta {
}

get {
url: {{baseUrl}}/RelationshipTemplates?Ids=RLTEb4Zmk5CZwoKYgLVT
url: {{baseUrl}}/RelationshipTemplates?Ids=RLTpUznhYQsBse545qLZ
body: none
auth: inherit
}

query {
Ids: RLTEb4Zmk5CZwoKYgLVT
params:query {
Ids: RLTpUznhYQsBse545qLZ
~PageNumber: 1
~PageSize: 1
}
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
}
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
}
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
}
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
}
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
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ post {

body:json {
{
"relationshipTemplateId": "",
"relationshipTemplateId": "RLTpUznhYQsBse545qLZ",
"content": ""
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ get {
}

vars:pre-request {
RelationshipId: RELUY2h3HVSFfYkdli0P
RelationshipId: RELquh4tVcr3zOTQGti7
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ meta {
}

get {
url: {{baseUrl}}/Relationships?Ids=REL6mRNeRz42f4R2OTKn
url: {{baseUrl}}/Relationships?Ids=RELquh4tVcr3zOTQGti7
body: none
auth: inherit
}

query {
Ids: REL6mRNeRz42f4R2OTKn
params:query {
Ids: RELquh4tVcr3zOTQGti7
~PageNumber: 1
~PageSize: 1
}
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
}
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
}
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
}
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
}

0 comments on commit 1221a52

Please sign in to comment.