add actions and auth

This commit is contained in:
2025-05-17 12:08:44 +07:00
parent 4bd18ee756
commit e1b342d12c
14 changed files with 487 additions and 246 deletions
+20 -1
View File
@@ -1,6 +1,8 @@
### Получение списка комад
GET http://localhost:8090/teams
###
### Добавление команд
POST http://localhost:8090/teams
@@ -14,3 +16,20 @@ POST http://localhost:8090/teams
}
]
}
### Получение команды
GET http://localhost:8090/team
X-Id: 1
X-Password: pass
### Ход команды
POST http://localhost:8090/team/actions
X-Id: 1
X-Password: pass
{
"place": "A-1"
}