本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
metadata.read_write
- Metadata Read & WriteAuthorization: Bearer ********************
{
"locales": [
{
"iso_code": "fr",
"sort_order": "1"
}
]
}
curl --location --request POST 'https://echo.apifox.com/anything/languages' \
--header 'Content-Type: application/json' \
--data-raw '{
"locales": [
{
"iso_code": "fr",
"sort_order": "1"
}
]
}'
enabled
or disabled
{
"status": 200,
"success": true,
"data": [
{
"id": 12,
"name": "suomen kieli",
"status": "enabled",
"rtl": false,
"flag": "https://assets.salla.sa/images/flags/fi.svg",
"iso_code": "fi",
"country_code": "fi",
"sort_order": 9
},
{
"id": 15,
"name": "Ελληνικά",
"status": "enabled",
"rtl": false,
"flag": "https://assets.salla.sa/images/flags/el.svg",
"iso_code": "el",
"country_code": "gr",
"sort_order": 10
}
]
}
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升