What's the cleanest way to go about implementing get method for an object where only list API is available? #3132
Replies: 2 comments 1 reply
-
Some more examples of this same behaviour |
Beta Was this translation helpful? Give feedback.
-
@SachinKSingh28 we have some other endpoints where we can only list but not get individual items. Generally we haven't really handled this other than simply using the result of Does that work for you or are you thinking of something along the lines of a "lazy get mixin" that only does a lazy get on an ID but never calls the single GET endpoint? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to figure out a generic but cleanest way of implementing get method where only list API is exposed.
Example - https://docs.gitlab.com/ee/api/status_checks.html
My initial thought was why would gitlab not implement a get method but only list method but that is something to raise with Gitlab instead I guess.
Beta Was this translation helpful? Give feedback.
All reactions