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

Return all technologies #16

Open
sarahfossheim opened this issue Dec 6, 2023 · 1 comment
Open

Return all technologies #16

sarahfossheim opened this issue Dec 6, 2023 · 1 comment
Assignees

Comments

@sarahfossheim
Copy link

We need a way to return a list of all technologies:

  • All technologies, regardless of other parameters (like category)
  • All technologies for a specific category

This could be an improvement of the current /technologies,

  • /technologies?returnall=true: returns all technologies we have
  • /technologies?category=cms: returns all technologies with category cms

But open for other solutions too.

@maceto
Copy link
Collaborator

maceto commented Dec 7, 2023

Hello @sarahfossheim, I made the changes in the technologies endpoint.

If request without any parameters will return ALL technologies, it is a big response can take a second.

https://dev-gw-2vzgiib6.ue.gateway.dev/v1/technologies

If request with the param onlyname=true will return ALL technologies names

https://dev-gw-2vzgiib6.ue.gateway.dev/v1/technologies?onlyname=true

If request with the param category one or many will return all the technologies in that category o categories, and you can use onlyname=true to get only the names if you need it.

https://dev-gw-2vzgiib6.ue.gateway.dev/v1/technologies?category=CMS,Security

https://dev-gw-2vzgiib6.ue.gateway.dev/v1/technologies?category=CMS&onlyname=true

And the request just for a technology or many, you can use onlyname=true if you need it.

https://dev-gw-2vzgiib6.ue.gateway.dev/v1/technologies?technology=WordPress,Loja2

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

No branches or pull requests

2 participants