API ReferenceUpload

Upload permit

This endpoint will return an url where you can upload a part or all of your media. You will be uploading the media straight to S3 compatible storage by performing a PUT request with the content of the part.

NOTE:

  • Part numbers start from 1, strictly monotonic, and have no gaps

  • Search for guides on S3 multipart uploads on how it works

  • Upload ID is returned by the Start a new upload endpoint

POST/spaces/{spaceId}/recordings/{recordingId}/uploads/{uploadId}/parts/{partNumber}

Authorization API key in the x-api-key header

Path parameters

  • spaceIdstringrequired

    ID of the workspace. You can find from the url in dashboard when you open the workspace or using the list workspaces endpoint.

  • recordingIdstringrequired

    ID of the recording. You can find from the url in dashboard when you open the workspace or using the list recordings endpoint.

  • uploadIdstringrequired

    ID of the upload. You will receive this when you start an upload using the start upload endpoint

  • partNumberintegerrequired

    Index of the part you are uploading

Responses

  • 200Part upload permit

    application/json · object

    • partUploadUrlstringrequired

      Signed s3 url to upload the content of your multipart upload

  • 400Invalid input

    application/json · ApiError

    • errorstringrequired

      short description of the error

    • errorDetailsobject

      additional details for the cause of the error if available

  • 401Authentication failed

    application/json · ApiError

    • errorstringrequired

      short description of the error

    • errorDetailsobject

      additional details for the cause of the error if available

  • 403You don't have access

    application/json · ApiError

    • errorstringrequired

      short description of the error

    • errorDetailsobject

      additional details for the cause of the error if available

  • 404Not found or don't have access

    application/json · ApiError

    • errorstringrequired

      short description of the error

    • errorDetailsobject

      additional details for the cause of the error if available

curl 'https://transcript.lol/api/v1/spaces/string/recordings/string/uploads/string/parts/1' \
  --request POST \
  --header 'x-api-key: YOUR_API_KEY'
const response = await fetch("https://transcript.lol/api/v1/spaces/string/recordings/string/uploads/string/parts/1", {
  method: "POST",
  headers: {
    "x-api-key": "YOUR_API_KEY"
  },
});
const text = await response.text();
import requests

response = requests.post(
    "https://transcript.lol/api/v1/spaces/string/recordings/string/uploads/string/parts/1",
    headers={
        "x-api-key": "YOUR_API_KEY"
    },
)
print(response.text)
{
  "partUploadUrl": "string"
}
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}