add http files

This commit is contained in:
2025-07-25 00:57:05 +02:00
committed by swordsteel
parent 97991f243f
commit 203150749d
28 changed files with 326 additions and 6 deletions

View File

@@ -0,0 +1,5 @@
### get actuator
GET {{hostname}}/actuator`
Authorization: Bearer {{token}}
Content-Type: application/json`

View File

@@ -0,0 +1,8 @@
### account login
POST {{hostname}}/login
Content-Type: application/json
{
"username": "admin",
"password": "pass"
}

View File

@@ -0,0 +1,14 @@
{
"development": {
"hostname": "https://localhost:8443",
"token": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
},
"docker": {
"hostname": "https://localhost:9040",
"token": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
},
"testing": {
"hostname": "https://10.0.x.x",
"token": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
}
}

View File

@@ -0,0 +1,8 @@
### register device for a type
POST {{hostname}}/register
Authorization: Bearer {{token}}
Content-Type: application/json
{
"type": "00000000-0000-0000-0000-000000000000"
}