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

Allow request available workspaces for a specific user #3273

Closed
frascuchon opened this issue Jun 27, 2023 · 1 comment · Fixed by #3308
Closed

Allow request available workspaces for a specific user #3273

frascuchon opened this issue Jun 27, 2023 · 1 comment · Fixed by #3308
Assignees
Labels
area: api Indicates that an issue or pull request is related to the Fast API server or REST endpoints

Comments

@frascuchon
Copy link
Member

Given a user id, we should provide an endpoint to request available workspaces:

GET /api/v1/users/:user_id/workspaces

@frascuchon frascuchon added client area: api Indicates that an issue or pull request is related to the Fast API server or REST endpoints labels Jun 27, 2023
@nataliaElv
Copy link
Member

Related to #2682
I've added that issue to our backlog.

alvarobartt added a commit that referenced this issue Jul 4, 2023
# Description

This PR adds a new endpoint to API v1 to list the workspaces to which a
user belongs.

Closes #3273

**Type of change**

- [x] New feature (non-breaking change which adds functionality)

**How Has This Been Tested**

Manually and unit tests have been added to test this new endpoint.

**Checklist**

- [ ] I added relevant documentation
- [x] follows the style guidelines of this project
- [x] I did a self-review of my code
- [ ] I made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [ ] I filled out [the contributor form](https://tally.so/r/n9XrxK)
(see text above)
- [x] I have added relevant notes to the CHANGELOG.md file (See
https://keepachangelog.com/)

---------

Co-authored-by: Alvaro Bartolome <alvaro@argilla.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: api Indicates that an issue or pull request is related to the Fast API server or REST endpoints
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants