cc-api-v3-style-guide icon indicating copy to clipboard operation
cc-api-v3-style-guide copied to clipboard

Style guide does not include any fine grained select/query mechanisms

Open sykesm opened this issue 11 years ago • 7 comments

The current v2 api supports query operators. These can be useful on collection endpoints to scope the query to a meaningful subset.

A similar concept should probably be present in the v3 api.

sykesm avatar Aug 04 '15 13:08 sykesm

We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/100511008.

cf-gitbot avatar Aug 04 '15 13:08 cf-gitbot

Yeah this is interesting. I wonder if we should define this now or wait till we have a feature that forces it.

I also wonder whether the >, <, etc cases are good to generalize or if when we implement a feature we'd rather have a specific query param for the desired use case eg ?events_after=738

zrob avatar Aug 05 '15 01:08 zrob

Whether or not you implement it, I think you should think about it how you would render it so there's some level of consistency across the endpoints.

sykesm avatar Aug 05 '15 02:08 sykesm

We will add some examples to the style guide for number/ date filtering.

Gerg avatar Aug 21 '15 20:08 Gerg

Added an example of filtering query parameters to the filtering section. 34bc264 :dart:

jeffpak avatar Aug 27 '15 17:08 jeffpak

We don't want to use the q= format, so we should still address this.

zrob avatar Sep 17 '15 16:09 zrob

We are archiving this repo in favor of colocating the information in the ccng repo, any issues or PRs are welcome in its new location. Thanks!

sweinstein22 avatar Apr 09 '21 18:04 sweinstein22