1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-05-28 10:49:55 +00:00
cards-database/.bruno/cards/get-cards-list.bru

29 lines
459 B
Plaintext

meta {
name: Get the cards list
type: http
seq: 1
}
get {
url: {{BASE_URL}}/v2/en/cards?sort:field=name&sort:order=DESC&pagination:page=1&pagination:itemsPerPage=4
body: none
auth: none
}
query {
sort:field: name
sort:order: DESC
pagination:page: 1
pagination:itemsPerPage: 4
~name: furret
}
assert {
res.status: eq 200
res.body.length: eq 4
}
docs {
Fully describe the card list request, it also has every parameters it can
}