Skip to content
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

Updated API to saerch on availability prefLabels #654

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

qjhart
Copy link
Collaborator

@qjhart qjhart commented Nov 19, 2024

Searches now look like

 http http://localhost/api/search type==expert availability=='Collaborative projects' Authorization:"Bearer $jwt"

and normal aggregations liist like:

  "aggregations": {
    "availability": {
      "collaborative projects": 2,
      "community partnerships": 1,
      "industry projects": 1,
      "media enquiries": 1
    },
    "type": {
      "expert": 4
    },
    "status": {}
  },

@qjhart
Copy link
Collaborator Author

qjhart commented Nov 19, 2024

@UcDust the only confusion I see is that the keyword is lower case, but that doesn't match the actual URLs. I'm not sure what's best. Otherwise it's in your side now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[USER] - API for experts with media availability [bug] fix hasAvailability
2 participants