Description Summary Returns a single abiility as an object{} from database, using either the slug or the id as the parameter.
Queries
Select Example Request/Response
by ID
by slug
with language Example Request URL: https://kuriapi.onrender.com/ability/3 Example Response Body {
"success": true,
"data": {
"id": 3,
"name": "フエルミン",
"slug": "growthimin",
"description": "増殖力アップ"
}
}
Code: 200 Example Request URL: {{URL}}/ability/attackimin Example Response Body {
"success": true,
"data": {
"id": 1,
"name": "セメルミン",
"slug": "attackimin",
"description": "攻撃力アップ"
}
}
Code: 200 Example Request URL: {{URL}}/ability?lang=jp Query Key Value Description lang jp
Example Response Body {
"success": true,
"data": [
{
"id": 1,
"slug": "attackimin",
"name": "セメルミン",
"description": "攻撃力アップ"
},
{
"id": 2,
"slug": "defendimin",
"name": "マモルミン",
"description": "防御力アップ"
},
{
"id": 3,
"slug": "growthimin",
"name": "フエルミン",
"description": "増殖力アップ"
},
{
"id": 4,
"slug": "nightimin",
"name": "オヤスミン",
"description": "相手のキンを眠らせる"
},
{
"id": 5,
"slug": "tornadimin",
"name": "ナノトルネード",
"description": "爆発で相手のキンを倒す"
},
{
"id": 6,
"slug": "poisonimin",
"name": "ポイズンブラスト",
"description": "強烈の爆発で相手のキンを倒す"
},
{
"id": 7,
"slug": "wipimin",
"name": "キリングボム",
"description": "強烈の爆発で両側のキンを倒す"
}
]
}
Code: 200