`request-upload`API endpoint is not returning a response
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 88
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
API should respond to `request-upload`endpoint with:
```
{
"id": "4c21895e-2488-4c0a-9377-3369ff586ddd",
"hash": [
{
"hash": "6dad0a8e7a92d537c6305fe6ae1e1881",
"algorithm": "md5"
},
{
"hash": "6132f4e43472b56b4047b7ad018147056c0c2dba9306cd04504e9c8208e72257",
"algorithm": "sha256"
}
],
"name": "Waterfall",
"size": 32407849,
"status": "ready",
"userId": "eada599f-3d58-499b-ba24-c7f3faf988de",
"createdAt": 1652901725324,
"updatedAt": 1652901778931,
"videoSpec": {
"format": "mp4",
"tracks": [
{
"fps": 23.976023976023978,
"type": "video",
"codec": "h264",
"width": 4096,
"height": 2048,
"bitrate": 21324821,
"duration": 12.011667,
"pixelFormat": "yuv420p"
},
{
"type": "audio",
"codec": "aac",
"bitrate": 253375,
"channels": 2,
"duration": 12.031667,
"sampleRate": 48000
}
],
"duration": 12.031667
},
"playbackId": "4c21k7z2tjcdg8wt",
"playbackUrl": "https://livepeercdn.com/recordings/54aeff83-404c-490a-9afa-99296a932401/index.m3u8",
"downloadUrl": "https://livepeercdn.com/asset/4c21k7z2tjcdg8wt/video"
}
```
This is important mostly due to the availability of the playbackUrl param in the response, which the end user would use in their application to display the video. However, without a response, they couldn't get this URL.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the `request-upload` API endpoint and inspect why it returns no response. Confirm the endpoint returns the requested upload object, including `playbackUrl`, and verify the response can be used by the end user to display the video.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100