open5e-api icon indicating copy to clipboard operation
open5e-api copied to clipboard

API V2: Rules endpoint

Open calumbell opened this issue 5 months ago • 0 comments

Currently there is no equivilent to the /sections endpoint point from API V1, which was used to get sundry rules that didn't fall under other endpoints.

When this feature was discussed over discord Discord, there was a consensus that the name /sections is not a great name for this endpoint, being both vague and the name of a HTML element. I propose that we use the /rules endpoint.

The work that needs to be undertaken can be broken down like this:

1 - Create model for storing Rules 2 - Create views to return rules, either entire articles or specific sections from an article 3 - Migrate enough data from API V1 to adaquetly test this new endpoint

calumbell avatar Sep 25 '24 11:09 calumbell