shahanneda / supertonic

https://getsupertonic.com
0 stars 0 forks source link

Add API endpoint for renaming a recording #13

Open sweep-ai[bot] opened 1 year ago

sweep-ai[bot] commented 1 year ago

Description

This PR adds a new API endpoint for renaming a recording in the Supertonic application. The endpoint allows users to update the name of a recording by providing the recording ID and the new name.

Changes Made

How to Test

  1. Start the Supertonic application.
  2. Use an API testing tool (e.g., Postman) to send a PATCH request to the /recordings/:id endpoint, where :id is the ID of the recording you want to rename.
  3. In the request body, include the new name for the recording.
  4. Verify that the recording name is updated in the database.

Related Issue

Add a new API endpoint for renaming a recording

Fixes #11.

To checkout this PR branch, run the following command in your terminal:

git checkout sweep/feature/renaming-endpoint