Api and exceptions#23
Merged
Merged
Conversation
yashiyadav1
approved these changes
Dec 3, 2024
This was
linked to
issues
Dec 4, 2024
Closed
This was
linked to
issues
Dec 5, 2024
Closed
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated and Added Video APIs
Set Up Scout + Meilisearch
I have set up Meilisearch to work in the project along with Scout, Laravel's overall full-text search API.
Video Upload API (test only)
A video upload API was created, but it only works when an s3 key is provided. I will be uploading this to handle video uploads using multi-part form content, but currently, this route works for testing uploads with a given s3 key instead.
All Videos API (test only)
This is an API for getting all video content. This should be used for testing only. Review the OpenAPI doc for more details.
Video Searching
Video searching using Scout + Meilisearch has been added and finished. Searching can be done on all fields or on specific fields. In the future, I will cut these down into one search API where a field parameter is used instead of multiple routes. This seems much better in the long run, but these multiple routes provide a "quick-and-dirty" solution while I hash that together.
User and Tag Searching (setup only)
I have set up User and Tag searching to work with Scout + Meilisearch. I need to set up APIs for this, but this is another PR.
Updated OpenAPI Documentation
API documentation for the new API routes.
Added Postman Route Testing Collections
I have exported my test routes for Postman, please import them to test any routes and add to them as necessary.
Updated .env.example
The example env file is updated for Meilisearch parameters.