This commit is contained in:
2026-01-31 13:49:56 +01:00
parent 7074c85672
commit ecfa2d3985
203 changed files with 11592 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
meta {
name: Create Court
type: http
seq: 2
}
post {
url: {{baseUrl}}/courts
body: json
auth: bearer
}
auth:bearer {
token: {{token}}
}
body:json {
{
"name": "test",
"court_type": "indoor",
"is_active": true
}
}

View File

@@ -0,0 +1,19 @@
meta {
name: Delete Court
type: http
seq: 5
}
delete {
url: {{baseUrl}}/courts/:court_id
body: none
auth: bearer
}
params:path {
court_id:
}
auth:bearer {
token: {{token}}
}

View File

@@ -0,0 +1,19 @@
meta {
name: Get Court
type: http
seq: 3
}
get {
url: {{baseUrl}}/courts/:court_id
body: none
auth: bearer
}
params:path {
court_id:
}
auth:bearer {
token: {{token}}
}

View File

@@ -0,0 +1,21 @@
meta {
name: List Courts
type: http
seq: 1
}
get {
url: {{baseUrl}}/courts
body: none
auth: bearer
}
params:query {
~skip:
~limit:
~active_only:
}
auth:bearer {
token: {{token}}
}

View File

@@ -0,0 +1,27 @@
meta {
name: Update Court
type: http
seq: 4
}
patch {
url: {{baseUrl}}/courts/:court_id
body: json
auth: bearer
}
params:path {
court_id:
}
auth:bearer {
token: {{token}}
}
body:json {
{
"name": "",
"court_type": "",
"is_active": ""
}
}

View File

@@ -0,0 +1,7 @@
meta {
name: Courts
}
auth {
mode: inherit
}