$ make build
$ make run
$ make run-external
$ make ps
$ make log
$ make run-local
$ make run-local
$ make integration-test
POST localhost:8080/api/bannerRotatorService/v1/banner/add
Content-Type: application/json
{
"slotID": 1,
"bannerID": 1
}
Пример ответа
{
"success": true,
"errors": []
}
POST localhost:8080/api/bannerRotatorService/v1/banner/remove
Content-Type: application/json
{
"slotID": 1,
"bannerID": 1
}
Пример ответа
{
"success": true,
"errors": []
}
POST localhost:8080/api/bannerRotatorService/v1/banner/hit
Content-Type: application/json
{
"slotID": 1,
"bannerID": 1,
"groupID": 2
}
Пример ответа
{
"success": true,
"errors": []
}
POST localhost:8080/api/bannerRotatorService/v1/banner/get
Content-Type: application/json
{
"slotID": 1,
"groupID": 2
}
Пример ответа
{
"success": true,
"errors": [],
"bannerID": "2"
}