cosmicds / cds-api

API for accessing the CosmicDS database
GNU General Public License v3.0
0 stars 3 forks source link

Allow getting all questions for a story #83

Closed Carifio24 closed 1 year ago

Carifio24 commented 1 year ago

This PR adds an endpoint GET /questions/<story-name> which will allow getting all questions associated with a given story. By default, only the newest version for each question tag will be returned. If one instead wants all versions of the questions returned, this can be done by using the query newest_only=false.

CC @johnarban