LogoLogo
SolutionsResourcesHelp Docs
  • Getting Started
    • Setup Guide
    • Authentication
    • Webhook
    • Oversight Mounting Buckets
    • Rate Limiting
    • Uploading Media Assets
  • CloudFactory Public API
    • API Reference
      • WorkStream Performance
        • Secure Upload
        • Throughput
        • Quality
      • Oversight
        • Upload Media
        • Submit Task
        • Task Status
    • Snowflake Secure Data Sharing
    • Fivetran and Amazon S3 Data Sharing
Powered by GitBook

Contact Us

  • Book a Meeting

Company

  • About Us
  • Partnerships
  • Compliance
  • Data Security
On this page
  • Sample Request
  • Other Content Types

Was this helpful?

Export as PDF
  1. Getting Started

Uploading Media Assets

When uploading media to the oversight platform through signed urls, it is crucial to ensure that the Content-Type header is included in your request. This header specifies the media type of the resource being uploaded, which helps the oversight platform understand how to process the file.

Sample Request

Below is a sample curl request to upload a media file. Make sure to include the Content-Type header in your request with the correct type.

curl --location --request PUT '{signed_url}' \
--header 'Content-Type: image/jpeg' \
--data-binary '@{file-location}'

Other Content Types

Here are some examples of other Content-Type headers you might use depending on the type of file you are uploading:

  • For a PNG image:

    --header 'Content-Type: image/png'
  • For a PDF document:

    --header 'Content-Type: application/pdf'
  • For an MP4 video file:

    --header 'Content-Type: video/mp4'
  • For a plain text file:

    --header 'Content-Type: text/plain'

Always ensure that the Content-Type header is included and correctly set to the media type of the file you are uploading.

PreviousRate LimitingNextAPI Reference

Last updated 4 months ago

Was this helpful?