lunakv / academyruins-api

Rules API for Magic: The Gathering
https://api.academyruins.com/docs
GNU Affero General Public License v3.0
4 stars 1 forks source link

Trace #51

Closed lunakv closed 1 year ago

lunakv commented 1 year ago

Resolves #9.

Adds endpoint for getting the trace of a (current) rule. Currently a pretty cured solution, but should be OK for low usage. #50 should probably set a separate lower limit for this endpoint.

It also changes ruleNum in the response for CR diffs into ruleNumber (through an alias, the database schema stays the same).