LogoLogo
  • Welcome
  • Landing in Transparent Edge
  • Sign up process
  • Getting Started
    • Basics concepts
      • Glosary
        • API
        • Brotli Compression
        • Cache-Control
        • Cache key
        • Caching
        • CNAME
        • Cloud Computing
        • Cloud Computing Architecture
        • Cloud Services
        • DASH
        • Data Center
        • Edge Server
        • ETag
        • GSLB
        • HLS (HTTP Live Streaming)
        • HTTP/2
        • Infrastructure as a Service (IaaS)
        • Internet Exchange Point
        • Last-Modified
        • Load Balancing
        • MultiCDN
        • NoSQL (not only SQL)
        • Origin
        • Origin Shield
        • OTT (Over The Top)
        • Platform as a Service (PaaS)
        • PoP (Point of Presence)
        • Private CDN
        • Private Cloud
        • Public Cloud
        • Purge
        • Query String
        • Reverse Proxy
        • RTT (Round-trip Time)
        • SaaS (Software as a Service)
        • SDS (Software Defined Storage)
        • Smooth Streaming
        • Status Code
        • TCP (Transmission Control Protocol)
        • TLS Acceleration
        • TLS (Transport Layer Security)
        • TTFB (Time-to-first-byte)
        • TTL (Time-to-live)
        • Virtual Machine
        • VPS (Virtual Private Server)
        • Web Services
      • Let's start at the beginning
      • Things to consider
      • Houston, we have a problem
      • HTTP, How does it work?
      • Invalidating methods
      • DNS Pointing
      • Log formats
      • Predefined headers
      • Default headers
        • geo_country_code
        • X-Device
        • Vary
        • Cache headers
        • Age
        • TP-Cache
        • True-Client-IP and X-Forwarded-For
      • Forcing No-Cache
      • Architecture
        • Transparent Edge’s IP addresses
        • Locations and PoP
        • Cache layers
      • Cache effectiveness
      • SSL
      • HTTP 5xx Error Codes
      • Features
        • Protection against origin failures
        • Rate Limit
        • Geolocation and geoblocking
        • Prefechting
        • Refetching
        • Fast purging
        • HTTP Redirects
        • Caching static vs. dynamic objects
        • Rewriting of headers
        • Device detection
    • Dashboard
      • Historic
      • Analytics
      • Invalidating content
      • Content invalidation by tags
      • Prefetching Cache
      • Log shipping
      • Provisioning
        • Initial configuration
        • Backends
        • Sites
        • Configuration deployments
        • Network ACLs
        • TLS/SSL Certificates
      • User management
  • Configuration
    • VCL Reference
      • Default Functions
      • VCL Objects
      • Callable Functions
      • Security restrictions
      • Varnish book
    • Network Access Control List
      • Initial configuration
      • Auto generated lists
      • Manage lists via API
    • i3
      • Quality adjustment
      • Cache timing allocation for transformed images
      • Conversion to grayscale
      • Conversion to WebP
      • Blurring
      • Inclusion of graphics in the footer (strip)
      • Automatic resizing
      • Definition of the maximum size (content-length)
    • Transcoding
      • Relaunch or requeue jobs
      • Create a transcode job
      • Get job information
      • Dashboard usage
    • OpenAPI de TransparentCDN
  • Security
    • HTTPS
    • Blocking User-Agent
    • Blocking by IP Address
    • Blocking Requests Geographically
    • Avoiding Hotlinking
    • Bot Mitigation
    • WAF
      • Configuration
      • CAPTCHA
      • Content protected by token
      • Rate limit
    • Anomaly Detection
      • Detection Types
      • Automatic Reactions
      • Detection History
    • Under attack mode
    • Global Whitelists
  • Integrations
    • Wordpress plugin
    • Google Cloud Platform
    • Amazon Web Services
  • GUIDES AND TUTORIALS
    • How to do things
    • Edge Computing
      • ESI Tags
    • Acting on the Query String
    • Working with cookies
    • Making decisions based on HTTP headers
    • Web Application Gateway
    • Configure your servers to send cache headers
    • Caching a version per device
    • True-Client-IP in the origin
    • A/B Testing
    • Routing traffic to different backends
    • JSON Web Tokens
    • Debug codes
    • Streaming logs
    • API
      • Authentication
      • Invalidation
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Configuration
  2. Transcoding

Get job information

PreviousCreate a transcode jobNextDashboard usage

Last updated 1 year ago

Was this helpful?

Our API has different endpoints that can be used to view the status of the different work orders. We can obtain a list of all the work orders registered for each company by launching a GET request, after , to this endpoint:

https://api.transparentcdn.com/v1/media/{company_id}/transcode

We will receive a list of all the work orders that we have enqueued for our company ID, whether they are processed by the TransparentEdge Transcoding Service or not. The format will be an array of objects containing the fields "order_id," which holds the unique identifier of the job, "status," indicating the current state of the request, and "timestamp," indicating the timestamp when the work request was processed by the TransparentEdge Transcoding Service. We can expect a response similar to this:

[
    {
        "id": "1631092552-1237",
        "created_on": "2021-09-08 09:15:55.875827+00:00",
        "status": "FINISHED"
    },
    {
        "id": "1631089188-8755",
        "created_on": "2021-09-08 08:19:50.679393+00:00",
        "status": "FINISHED"
    },
    {
        "id": "1630920819-1014",
        "created_on": "2021-09-06 09:33:40.051379+00:00",
        "status": "ERROR"
    },
    {
        "id": "1630920029-2222",
        "created_on": "2021-09-06 09:20:30.296758+00:00",
        "status": "FINISHED"
    },
    {
        "id": "1630919890-5510",
        "created_on": "2021-09-06 09:18:11.329456+00:00",
        "status": "FINISHED"
    },
    {
        "id": "1630919313-6156",
        "created_on": "2021-09-06 09:08:34.152847+00:00",
        "status": "FINISHED"
    },
    {
        "id": "1630919028-9762",
        "created_on": "2021-09-06 09:03:49.318187+00:00",
        "status": "FINISHED"
    },
]

To obtain information about a specific job, you can make a request to the following endpoint: https://api.transparentcdn.com/v1/media/{companyid}/transcode/{order_id}. This API call will provide you with more detailed information about the status of the order, as well as the sub-jobs that make it up. The response you will receive will be similar to this:

{
   "order_id":"163104952-137",
   "transcodingupload_set":[
      {
         "upload_url":"ftp://ftp.tuservidor.com",
         "upload_protocol":"FTP",
         "upload_user":"usuario"
      }
   ],
   "transcodingdownload":{
      "download_url":"ftp://ftp.tuservidor.com/otro.mp4",
      "download_protocol":"FTP",
      "download_user":"usuario"
   },
   "transcodingnotification_set":[
      {
         "callback_url":null,
         "email":"correo@tuservidor.com"
      }
   ],
   "transcodingjob_set":[
      {
         "profile":{
            "id":92,
            "name":"Prueba escalado"
         },
         "filename":"nombre.mp4",
         "label":"prioridad alta",
         "progress":0.0
      },
      {
         "profile":{
            "id":86,
            "name":"Test HLS"
         },
         "filename":"nombre2.mp4",
         "label":"prioridad media",
         "progress":0.0
      }
   ],
   "duration":95.143,
   "size":12118497,
   "filename":"nombre.mp4",
   "label":"prioridad alta",
   "status":"FINISHED",
   "timestamp":"2021-09-08 09:15:55.875827+00:00",
   "comment":"Order 163104952-11567 finished"
}
authentication