Semaphore API Doc
Semaphore Update Inventory API
https://semaphore/api/project/4/inventory/2
Json Examaple
{
"id": 2,
"name": "Static-hosts-file",
"project_id": 4,
"inventory": "1.2.2.1\n1.1.1.1",
"ssh_key_id": 1,
"become_key_id": null,
"type": "static"
}
API Login
https://semaphore/api/auth/login
Local user only no SSO supported in semaphore API
{
"auth":"username",
"password":"password"
}