GrafeasGroup / blossom

The website. The app. The everything.
6 stars 3 forks source link

Add `isnull` filters to endpoints #204

Closed TimJentzsch closed 3 years ago

TimJentzsch commented 3 years ago

Relevant issue: Closes #201

Description:

This PR adds isnull filters to the endpoints, allowing clients to exclude or include null entries in the listings. This allows several new queries, such as getting all posts in the queue and getting all in-progress posts by a user.

For example, the submission endpoint now allows query parameters like ?completed_by__isnull=true which gets all submissions that have not been completed yet.

Checklist: