1
0
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:
2024-05-10 02:44:50 +02:00
committed by GitHub
parent df154e6b9b
commit e4aba3bf1c
4 changed files with 106 additions and 10 deletions

View 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
}