mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-06-12 15:59:18 +00:00
feat: Add random card/set/serie endpoint (#484)
Co-authored-by: Avior <git@avior.me>
This commit is contained in:
20
.bruno/random/Random Set.bru
Normal file
20
.bruno/random/Random Set.bru
Normal file
@ -0,0 +1,20 @@
|
||||
meta {
|
||||
name: Random Set
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{BASE_URL}}/v2/en/random/set?name=sword
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
query {
|
||||
name: sword
|
||||
}
|
||||
|
||||
assert {
|
||||
res.status: eq 200
|
||||
res.body.name: contains Sword
|
||||
}
|
Reference in New Issue
Block a user