You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the GET requests made to the /api/certificate and /api/template routes, query parameters may be used to filter the results to be sent back.
Examples:
GET /api/certificate?template=abcd should return all the certificates with the template of ID abcd.
GET /api/template?tags=%5B%22a%22%2C%22bc%22%2C%22d%22%5D should return all the templates with tags a, bc, and d at the same time. %5B%22a%22%2C%22bc%22%2C%22d%22%5D is nothing but the encoded form of JSON.stringify(['a', 'bc', 'd']).
For further discussion, use the Discussions tab or the Discord channel for the ongoing contest.
The text was updated successfully, but these errors were encountered:
Add support for search parameters
For the GET requests made to the
/api/certificate
and/api/template
routes, query parameters may be used to filter the results to be sent back.Examples:
GET /api/certificate?template=abcd
should return all the certificates with the template of IDabcd
.GET /api/template?tags=%5B%22a%22%2C%22bc%22%2C%22d%22%5D
should return all the templates with tagsa
,bc
, andd
at the same time.%5B%22a%22%2C%22bc%22%2C%22d%22%5D
is nothing but the encoded form ofJSON.stringify(['a', 'bc', 'd'])
.For further discussion, use the Discussions tab or the Discord channel for the ongoing contest.
The text was updated successfully, but these errors were encountered: