hermes/routes/Hermes API/Backend/Create.bru
greysoh 0b73b4aa47
feature: Adds backend system and basic API.
This adds the backend API, as well as backend infrastructure, including
autostarting and basic communication between the Goroutine + Application.
2024-12-23 15:52:16 -05:00

25 lines
507 B
Text

meta {
name: Create
type: http
seq: 1
}
post {
url: http://127.0.0.1:8000/api/v1/backends/create
body: json
auth: none
}
body:json {
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiMSJdLCJleHAiOjE3MzUwNjY1NjksIm5iZiI6MTczNDk4MDE2OSwiaWF0IjoxNzM0OTgwMTY5fQ.-9IiM8N-azqBLwrAJkKqIzZ6yuumEzErKzSefXWpzaQ",
"name": "SSH",
"backend": "ssh",
"connectionDetails": {
"ip": "127.0.0.1",
"port": 22,
"username": "test",
"privateKey": ""
}
}
}