CountriesController_create
POST/countries
CountriesController_create
Request
Header Parameters
x-futbolprode-path string
x-futbolprode-host string
- application/json
Body
required
name stringrequired
flagUrl stringrequired
alpha2Code stringrequired
Responses
- 201
- application/json
- Schema
- Example (from schema)
Schema
id numberrequired
name stringrequired
alpha2Code string
flagUrl string
teams string[]required
tournaments string[]required
{
"id": 0,
"name": "string",
"alpha2Code": "string",
"flagUrl": "string",
"teams": [
"string"
],
"tournaments": [
"string"
]
}
Loading...