-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gateway: implement sets of filter to return function by specific criteria #1456
Comments
Do you need help with this, @IceKhan13 ? |
Yes, I'm pretty busy in next few days. If somebody can take it during this time, it will be great! |
@IceKhan13 Are the values below instead of "user" or "providers" ?
|
This is the snippet of job client. This needs some changes, doesn't it?
The
|
Open to discuss but I would not attach the client to the end-point. If other client would like to retrieve |
I believe that this is the current behavior without the filter, right? @IceKhan13 @Tansito |
I would say the logic changes a little bit:
That way |
What is the expected behavior?
We want to have
jobs
andprograms
endpoints to have additional filtering parameter (https:///v1/jobs?filter=<filter_name>).Initially we need only 2 filters (names might change):
providers
/programs?filter=providers
will return function uploaded by providers only/jobs?filter=providers
will return only user jobs associated with providers onlyuser
/programs?filter=user
will return function uploaded by this user only/jobs?filter=user
will return only user jobs associated with only user programs2 filters above are mutually exclusive.
The text was updated successfully, but these errors were encountered: