cosmicds / cds-api

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

Allow getting only complete class measurements #120

Closed Carifio24 closed 4 months ago

Carifio24 commented 4 months ago

It's often useful to get only class measurements that are complete (defined as the observed wavelength, velocity, angular size, and distance values all not being null). This PR allows doing that on the class measurements endpoint by using a complete_only=true query parameter. Note that the default behavior (without the query parameter) is unchanged.