modrinth/docs

`all_time` and `last_month` fields for `payouts` endpoint documented with wrong type

Closed this issue · 1 comments

Describe the bug

The all_time and last_month fields for the response in the payouts endpoint are documented as being integers instead of numbers, while the examples, as well as the API itself, give non-integer values for these fields.

Steps to reproduce

  1. Go to https://docs.modrinth.com/api-spec/#tag/users/operation/getPayoutHistory
  2. Open the 200 dropdown

Expected behavior

all_time and last_month are documented as being numbers.

Additional context

It might also be helpful to specify that these values are expressed in USD.

These fields are also returned as strings, so we’ll have to note that in the docs, too.