Implemented a new API endpoint that allows for batch updating of multiple attributes of URL short links, including URL addresses, user IDs, expiration times, and custom properties.
The endpoint processes an array of records, performs update operations for each record, and returns a list of successful and failed updates.
Route Handler for Short Code-Based GET Requests:
Added a route handler that processes GET requests with short codes.
Extracts short code parameters from the event context and redirects the request to the URL associated with the short code.
Returns appropriate error responses if the short code is not found or if any issues occur during request processing.
API Endpoint for Batch Updating URL Records:
Route Handler for Short Code-Based GET Requests:
fix: #12