Skip to content

Media Feedback Portal

This endpoint serves a static web page for collecting media feedback.

Endpoint

GET https://revidapi.com/v1/media/feedback

Authentication

This endpoint does not require authentication and is publicly accessible.

Response

Returns the HTML feedback form page.

Static Files

Additional static files (CSS, JavaScript, images) can be accessed at:

GET /v1/media/feedback/<filename>

Replace <filename> with the path to the static resource relative to the static directory.

Development

The static website files are stored in:

services/v1/media/feedback/static/

This directory contains:

  • index.html - Main HTML file
  • css/styles.css - Stylesheet
  • js/script.js - JavaScript code
  • images/ - Directory for image assets

To modify the feedback page, edit these files directly.


Get Job Status

After submitting a job, you can check its status using the job_id returned in the response.

Endpoint

URL Path: https://revidapi.com/v1/job/status
HTTP Method: POST

Request

Headers

  • x-api-key (required): The API key for authentication.
  • Content-Type: application/json

Body Parameters

{
  "job_id": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6"
}

Example Request

curl -X POST \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"job_id": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6"}' \
  https://revidapi.com/v1/job/status

Response

Success Response

{
  "endpoint": "/v1/toolkit/job/status",
  "code": 200,
  "id": null,
  "job_id": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6",
  "response": {
    "job_status": "done",
    "job_id": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6",
    "queue_id": 140368864456064,
    "process_id": 123456,
    "response": {
      "endpoint": "/v1/endpoint/name",
      "code": 200,
      "id": "request-123",
      "job_id": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6",
      "response": "https://cloud-storage.example.com/output.mp4",
      "message": "success",
      "pid": 123456,
      "queue_id": 140368864456064,
      "run_time": 2.345,
      "queue_time": 0.123,
      "total_time": 2.468,
      "queue_length": 0,
      "build_number": "1.0.0"
    }
  },
  "message": "success",
  "pid": 123456,
  "queue_id": 140368864456064,
  "run_time": 0.001,
  "queue_time": 0.0,
  "total_time": 0.001,
  "queue_length": 0,
  "build_number": "1.0.0"
}

Error Responses

  • 404 Not Found: If the job with the provided job_id is not found:
{
  "error": "Job not found",
  "job_id": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6"
}
  • 500 Internal Server Error: If an unexpected error occurs:
{
  "error": "Failed to retrieve job status: <error_message>",
  "code": 500
}