Description
Create a new GIF V2 system that improves on the current system. This new system will use the existing search route, but add some new routes.
- categories: A route that returns a list of categories for the user to select. To get GIFs from that category, pass the encoded category name into the search route.
- get gif: Get a gif by its ID.
Messages sent with this new system should be sent with the GIF2 message type. Additionally, instead of using "GIF_URL", we should use "GIF_ID" instead and fetch the GIF info from the server. Finally, a rating of "g" should be added to GIF search results. This ensures that only content appropriate for all ages is served to users.
Description
Create a new GIF V2 system that improves on the current system. This new system will use the existing search route, but add some new routes.
Messages sent with this new system should be sent with the
GIF2message type. Additionally, instead of using "GIF_URL", we should use "GIF_ID" instead and fetch the GIF info from the server. Finally, a rating of "g" should be added to GIF search results. This ensures that only content appropriate for all ages is served to users.