Skip to content

[Feature] Added endpoint for retrieving snippets by category #277

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

Conversation

lille-morille
Copy link
Contributor

Description

Since creating the new backend structure, snippets are no longer organized by category. The Raycast extension - which relies on this feature - had to remove a feature because of this.

This pull request aims to create a new endpoint which works like the previous version before this breaking change.

I'm creating a new endpoint to avoid causing breaking changes to existing code on the frontend, since I'm not quite sure how the API is used there.

  • Added new endpoint at /languages/:language

Type of Change

  • ✨ New snippet
  • 🛠 Improvement to an existing snippet
  • 🐞 Bug fix
  • 📖 Documentation update
  • 🔧 Other (please describe): New backend endpoint

Checklist

  • I have tested my code and verified it works as expected.
  • My code follows the style and contribution guidelines of this project.
  • Comments are added where necessary for clarity.
  • Documentation has been updated (if applicable).
  • There are no new warnings or errors from my changes.

Related Issues

Additional Context

Screenshots (Optional)

@technoph1le
Copy link
Collaborator

Thanks for your contribution. API will be down for a short time until I find a good alternative to host the backend. Or might just as well hop onto Hobby plan in Railway. Let's see.

@technoph1le technoph1le merged commit fedee1f into quicksnip-dev:main Jun 23, 2025
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.

2 participants