Ashes of War 请求路由

简介

This route fetches a list of all ashes of war 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 ash of war item
namestringName of the ash of war item
imagestringImage URL of the ash of war item
descriptionstringShort description of the ash of war item
affinitystringAffinity of an Ash of War.
skillstringSkill activated when this Ash of War is equipped in a weapon

响应示例

{
success: true,
count: 2,
data: [{
id: "17f699db6b0l0hzn9xsxxwtgyfky3",
name: "Ash Of War: Prelate's Charge",
image: "https://eldenring-api.vercel.app/images/ashes/17f699db6b0l0hzn9xsxxwtgyfky3.png",
description: "This Ash of War grants an armament the Flame affinity and the following skill:"
Prelate 's Charge: Slam armament into the ground to create a surge of flames, then charge in. Hold to continue the charge."Usable on large and colossal axes and hammers.",
affinity: "Flame",
skill: "Prelate's Charge"
},
{
id: "17f69632311l0hzna19sl4rzmmvk4",
name: "Ash Of War: Barrage",
image: "https://eldenring-api.vercel.app/images/ashes/17f69632311l0hzna19sl4rzmmvk4.png",
description: "This Ash of War grants no affinity to an armament, but imparts the following skill:"
Barrage: Archery skill using a bow held horizontally
.Ready the bow,
then fire off a rapid succession of
shots faster than the eye can see
.
"Usable on light bows.",
affinity: "Standard",
skill: "Barrage"
}
]
}

请求路由

请求方法URL描述
GEThttps://eldenring-api.vercel.app/api/ashesThis route retrieves a list of all the ashes of war present in Elden Ring.
GEThttps://eldenring-api.vercel.app/api/ashes/:ash_of_war_idThis route retrieves one Elden Ring Ash of War using its ID.

请求参数

This route supports the following 请求参数:

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