fix(middleware): update paths for bot generation and stockfish configuration
Build & Test (NowChessSystems) TeamCity build failed
Build & Test (NowChessSystems) TeamCity build failed
refactor(bru): standardize authentication settings across requests chore: add coordinator base URL to configuration files
This commit is contained in:
@@ -4,11 +4,15 @@ meta {
|
||||
seq: 1
|
||||
}
|
||||
|
||||
http {
|
||||
method: POST
|
||||
post {
|
||||
url: {{accountBaseUrl}}/account
|
||||
body: json
|
||||
auth: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
|
||||
@@ -4,11 +4,15 @@ meta {
|
||||
seq: 2
|
||||
}
|
||||
|
||||
http {
|
||||
method: POST
|
||||
post {
|
||||
url: {{accountBaseUrl}}/account/login
|
||||
body: json
|
||||
auth: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
|
||||
@@ -7,7 +7,12 @@ meta {
|
||||
get {
|
||||
url: {{accountBaseUrl}}/account/me
|
||||
body: none
|
||||
auth: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
|
||||
@@ -4,10 +4,15 @@ meta {
|
||||
seq: 4
|
||||
}
|
||||
|
||||
http {
|
||||
method: GET
|
||||
get {
|
||||
url: {{accountBaseUrl}}/account/{{username}}
|
||||
auth: none
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
|
||||
@@ -4,11 +4,15 @@ meta {
|
||||
seq: 5
|
||||
}
|
||||
|
||||
http {
|
||||
method: POST
|
||||
post {
|
||||
url: {{accountBaseUrl}}/account/bots
|
||||
body: json
|
||||
auth: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
|
||||
@@ -7,7 +7,12 @@ meta {
|
||||
get {
|
||||
url: {{accountBaseUrl}}/account/bots
|
||||
body: none
|
||||
auth: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
|
||||
@@ -4,11 +4,15 @@ meta {
|
||||
seq: 7
|
||||
}
|
||||
|
||||
http {
|
||||
method: PUT
|
||||
put {
|
||||
url: {{accountBaseUrl}}/account/bots/{{botId}}
|
||||
body: json
|
||||
auth: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
|
||||
@@ -4,10 +4,15 @@ meta {
|
||||
seq: 8
|
||||
}
|
||||
|
||||
http {
|
||||
method: POST
|
||||
post {
|
||||
url: {{accountBaseUrl}}/account/bots/{{botId}}/rotate-token
|
||||
auth: none
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
|
||||
@@ -4,10 +4,15 @@ meta {
|
||||
seq: 9
|
||||
}
|
||||
|
||||
http {
|
||||
method: DELETE
|
||||
delete {
|
||||
url: {{accountBaseUrl}}/account/bots/{{botId}}
|
||||
auth: none
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
|
||||
@@ -4,10 +4,15 @@ meta {
|
||||
seq: 10
|
||||
}
|
||||
|
||||
http {
|
||||
method: GET
|
||||
get {
|
||||
url: {{accountBaseUrl}}/account/official-bots
|
||||
auth: none
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
|
||||
@@ -4,10 +4,15 @@ meta {
|
||||
seq: 11
|
||||
}
|
||||
|
||||
http {
|
||||
method: POST
|
||||
post {
|
||||
url: {{accountBaseUrl}}/account/{{userId}}/ban
|
||||
auth: none
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
|
||||
@@ -4,10 +4,15 @@ meta {
|
||||
seq: 12
|
||||
}
|
||||
|
||||
http {
|
||||
method: POST
|
||||
post {
|
||||
url: {{accountBaseUrl}}/account/{{userId}}/unban
|
||||
auth: none
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
|
||||
@@ -4,11 +4,15 @@ meta {
|
||||
seq: 1
|
||||
}
|
||||
|
||||
http {
|
||||
method: POST
|
||||
post {
|
||||
url: {{accountBaseUrl}}/challenge/{{username}}
|
||||
body: json
|
||||
auth: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
|
||||
@@ -7,7 +7,12 @@ meta {
|
||||
get {
|
||||
url: {{accountBaseUrl}}/challenge
|
||||
body: none
|
||||
auth: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
|
||||
@@ -4,10 +4,15 @@ meta {
|
||||
seq: 3
|
||||
}
|
||||
|
||||
http {
|
||||
method: GET
|
||||
get {
|
||||
url: {{accountBaseUrl}}/challenge/{{challengeId}}
|
||||
auth: none
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
|
||||
@@ -4,10 +4,15 @@ meta {
|
||||
seq: 4
|
||||
}
|
||||
|
||||
http {
|
||||
method: POST
|
||||
post {
|
||||
url: {{accountBaseUrl}}/challenge/{{challengeId}}/accept
|
||||
auth: none
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
|
||||
@@ -4,11 +4,15 @@ meta {
|
||||
seq: 5
|
||||
}
|
||||
|
||||
http {
|
||||
method: POST
|
||||
post {
|
||||
url: {{accountBaseUrl}}/challenge/{{challengeId}}/decline
|
||||
body: json
|
||||
auth: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
|
||||
@@ -4,10 +4,15 @@ meta {
|
||||
seq: 6
|
||||
}
|
||||
|
||||
http {
|
||||
method: POST
|
||||
post {
|
||||
url: {{accountBaseUrl}}/challenge/{{challengeId}}/cancel
|
||||
auth: none
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
|
||||
@@ -4,10 +4,15 @@ meta {
|
||||
seq: 1
|
||||
}
|
||||
|
||||
http {
|
||||
method: POST
|
||||
post {
|
||||
url: {{accountBaseUrl}}/challenge/official/{{botName}}?difficulty={{difficulty}}&color={{color}}
|
||||
auth: none
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
@@ -15,7 +20,7 @@ headers {
|
||||
Accept: application/json
|
||||
}
|
||||
|
||||
notes {
|
||||
docs {
|
||||
Query Parameters:
|
||||
- difficulty: 1000-2800 (ELO)
|
||||
- color: white | black | random
|
||||
|
||||
@@ -4,11 +4,15 @@ meta {
|
||||
seq: 2
|
||||
}
|
||||
|
||||
http {
|
||||
method: POST
|
||||
post {
|
||||
url: {{accountBaseUrl}}/account/official-bots
|
||||
body: json
|
||||
auth: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
|
||||
@@ -4,10 +4,15 @@ meta {
|
||||
seq: 3
|
||||
}
|
||||
|
||||
http {
|
||||
method: DELETE
|
||||
delete {
|
||||
url: {{accountBaseUrl}}/account/official-bots/{{botId}}
|
||||
auth: none
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
|
||||
Reference in New Issue
Block a user