Skip to content

Commit

Permalink
Merge pull request #525 from jmpsec/update-bruno-files
Browse files Browse the repository at this point in the history
Keeping bruno files up to date to osctrl-api definition
  • Loading branch information
javuto authored Oct 2, 2024
2 parents 15ae963 + 75ae121 commit 496abb9
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta {
name: get -environments--env--remove--target-
type: http
seq: 4
seq: 6
}

get {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
meta {
name: post -environments--env--enroll--action-
type: http
seq: 5
}

post {
url: https://osctrl.net/api/v1/environments/{env}/enroll/{action}
body: json
auth: bearer
}

params:path {
env:
action:
}

auth:bearer {
token: {{token}}
}

body:json {
{
"Certificate": "",
"MacPkgURL": "",
"MsiPkgURL": "",
"RpmPkgURL": "",
"DebPkgURL": ""
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
meta {
name: post -environments--env--enroll--target-
type: http
seq: 4
}

post {
url: https://osctrl.net/api/v1/environments/{env}/enroll/{target}
body: none
auth: bearer
}

params:path {
env:
target:
}

auth:bearer {
token: {{token}}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
meta {
name: post -environments--env--remove--action-
type: http
seq: 7
}

post {
url: https://osctrl.net/api/v1/environments/{env}/remove/{action}
body: json
auth: bearer
}

params:path {
env:
action:
}

auth:bearer {
token: {{token}}
}

0 comments on commit 496abb9

Please sign in to comment.