diff --git a/README.md b/README.md new file mode 100644 index 0000000..0862d93 --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# ScreenRecordAPI +* Postman documentation available here [documenation](https://documenter.getpostman.com/view/29925722/2s9YJc1NWX) + +## Short (quick description) +The temporary base url is at https://screenrecordapi-production.up.railway.app + +1. To start recording, send a POST request to https://screenrecordapi-production.up.railway.app/record/start +you will get an UUID in the response JSON access it with .data.uuid + +2. The binary chunks should be sent to POST https://screenrecordapi-production.up.railway.app/record/upload/:uuid + +3. Stop the record with POST https://screenrecordapi-production.up.railway.app/record/stop/:uuid diff --git a/nixpacks.toml b/nixpacks.toml new file mode 100644 index 0000000..86c4e65 --- /dev/null +++ b/nixpacks.toml @@ -0,0 +1,2 @@ +[phases.setup] +nixPkgs = ["...", "ffmpeg"] \ No newline at end of file