Bosses 请求路由

简介

This route fetches a list of all the bosses that can be encountered in Elden Ring, and outputs that in JSON format. The user can define his own pagination and also use search queries to find the desired output.

响应

参数名称类型描述
idstringId of the boss
namestringName of the boss
imagestringImage of the boss
descriptionstringShort description of the boss
locationstringWhere is the boss located
dropsstring[]List of items and spoils this boss drops
healthPointsstringHow much HP this boss has

响应示例

{
success: true,
count: 2,
data: [{
id: "17f69590896l0i1ul0hnmor8iyf9xd",
name: "Ancestor Spirit",
image: "https://eldenring-api.vercel.app/images/bosses/17f69590896l0i1ul0hnmor8iyf9xd.png",
description: "A glowing spirit that takes the form of a large deer, making it a menacing threat when charging at targets.",
location: "Siofra River",
drops: [
"13.000 Runes",
"Ancestral Follower Ashes"
],
healthPoints: "???"
},
{
id: "17f69878c4al0i1ul0i7dsfou8igrk",
name: "Ancient Hero Of Zamor",
image: "https://eldenring-api.vercel.app/images/bosses/17f69878c4al0i1ul0i7dsfou8igrk.png",
description: "Noticeably agile, frost-made creature suceptible to magic attacks.",
location: "Weeping Evergaol, Giant-Conquering Hero's Grave",
drops: [
"5,400 Runes",
"Radagon's Scarseal",
"83,000 Runes",
"Zamor Curved Sword",
"Zamor Mask",
"Zamor Armor",
"Zamor Bracelets",
"Zamor Legwraps"
],
healthPoints: " 2200"
}
]
}

请求路由

请求方法URL描述
GEThttps://eldenring-api.vercel.app/api/bossesThis route retrieves a list of all the bosses of Elden Ring.
GEThttps://eldenring-api.vercel.app/api/bosses/:boss_idThis route retrieves one Elden Ring boss using its ID.

请求参数

This route supports the following 请求参数:

参数名称默认值示例URL描述
limit20https://eldenring-api.vercel.app/api/bosses?limit=100This parameter is used to set the maximum amount of items in the response
page0https://eldenring-api.vercel.app/api/bosses?limit=20&page=3This parameter is used no navigate between pages of results
namenonehttps://eldenring-api.vercel.app/api/bosses?name=Ancestor%20SpiritThis parameter is used to search for fields by their names