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

HTTP GET /token - GetTokenController #72

Closed
3 tasks done
Syndesi opened this issue Sep 3, 2023 · 2 comments
Closed
3 tasks done

HTTP GET /token - GetTokenController #72

Syndesi opened this issue Sep 3, 2023 · 2 comments
Labels
Feature Introducing new capabilities.
Milestone

Comments

@Syndesi
Copy link
Member

Syndesi commented Sep 3, 2023

Should GET /token return all tokens as a paginated response, or just the currently used token? If the later, under which endpoint should the other feature be available?

  • Implement endpoint.
  • Add feature tests.
  • Document feature.
@Syndesi Syndesi added this to the 0.1.0 milestone Sep 3, 2023
Syndesi added a commit to ember-nexus/reference-dataset that referenced this issue Sep 3, 2023
…exus API endpoints.

### Changed
- Refactor folder structure.
### Added
- Add test scenario `endpoint.user.postToken` for [Ember Nexus API #49: HTTP POST /token - PostTokenController](ember-nexus/api#49).
- Add test scenario `endpoint.user.deleteToken` for [Ember Nexus API #65: HTTP DELETE /token - DeleteTokenController](ember-nexus/api#65).
- Add test scenario `endpoint.user.getToken` for [Ember Nexus API #72: HTTP GET /token - GetTokenController](ember-nexus/api#72).
Syndesi added a commit that referenced this issue Sep 3, 2023
@Syndesi
Copy link
Member Author

Syndesi commented Sep 3, 2023

GET /token currently returns a paginated collection response containing all tokens available to the current user.

Behaviour might be changed at a later time.

@Syndesi
Copy link
Member Author

Syndesi commented Sep 8, 2023

Endpoint GET /token is changed to only return the currently used token.

Original behaviour can be got by getting all root elements and filtering for token elements.

@Syndesi Syndesi closed this as completed in d120a46 Oct 6, 2023
@Syndesi Syndesi added the Feature Introducing new capabilities. label May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Introducing new capabilities.
Projects
Status: Done
Development

No branches or pull requests

1 participant