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

feat: Add API endpoint for page aliases with tests and docs #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sourcery-ai[bot]
Copy link

@sourcery-ai sourcery-ai bot commented Nov 19, 2024

Resolves #5

Add a new API endpoint for page aliases with corresponding serializer, view, and URL routing. Include tests and documentation for the new functionality.

New Features:

  • Introduce a new API endpoint to expose page aliases, allowing users to retrieve alias information based on language.

Enhancements:

  • Implement an AliasSerializer to handle the representation of alias data, including fields for URL, redirect target, language, and active status.

Documentation:

  • Add documentation for the new aliases endpoint, detailing its usage and functionality.

Tests:

  • Add tests for the alias endpoint, including checks for correct data retrieval, language filtering, and permission handling.

This PR was automatically generated.

If you want to make changes to this PR:

  • Leave a review and I'll make the changes
  • Leave a comment with the changes you want to see
  • Push commits to the branch

Add a new API endpoint for page aliases with corresponding serializer, view, and URL routing. Include tests and documentation for the new functionality.

New Features:
- Introduce a new API endpoint to expose page aliases, allowing users to retrieve alias information based on language.

Enhancements:
- Implement an AliasSerializer to handle the representation of alias data, including fields for URL, redirect target, language, and active status.

Documentation:
- Add documentation for the new aliases endpoint, detailing its usage and functionality.

Tests:
- Add tests for the alias endpoint, including checks for correct data retrieval, language filtering, and permission handling.

Resolves #5
@sourcery-ai sourcery-ai bot requested a review from fsbraun November 19, 2024 12:21
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.

expose aliases in the REST API
0 participants