- Documentation
- API Reference
- Projects
- importer.vidinfra.com
- Auth
- User Registration
- User Login
- Verify-email
- Forgot Password
- Forgot Password Verify OTP
- Forgot Password Set
- Resend OTP
- Logout
- Set Password
- Check Account exists
- Update Password
- Google Oauth Redirect
- Google Oauth Callback
- api-access-check
- New Auth token using Refresh token
- Github Oauth Redirect
- Google Oauth Callback Copy
- Get User Sessions
- Delete User Sessions
- User
- Organization
- Organization's invitations
- Audits
- Members
- API Keys
- Folders
- Videos
- Video Metas
- Video Captions
- Video Chapter
- Uploads
- Tags
- Players
- Webhook Endpoints
- Advertisements
- Webhook Event Logs
- Analytics Direct Api
- geo-distribution
- Project Views
- avg video watch
- Total watch Time
- Project Avg Watch per Unique user
- Total Player Error
- project popularity-analysis
- Project Collection Insights
- Collection Views
- Collection avg Watch time
- Collection Avg Watch per unique user
- Collection Geo Distribution
- Get all Users
- User media views
- User Avg video watch
- user Player log
- user sessions
- Get all Video
- video Player error
- Video View
- video Geo Distribution
- video Avg watch
- copy
- Streams
- Stream Metas
- Usages
- Encoding profile
- Project Matrics
- Access Control
- Analytics
- Project Get geo-distribution
- project views
- Project avg video watch
- Project Total Watch
- Project Avg Watch per Unique user
- Project All Player Errors
- Project Popularity Analysis
- Project Collections insights
- Collection Geo Distribution
- Collection avg watch time
- Collection avg watch per unique User
- Collection Player error
- Video Geo Distribution
- Video views
- Video Avg Watch
- Video Player Log
- User
- User Avg Video Watch
- User Total Watch
- User player error log
- Plan
- Upload Tokens
- subscribe
- Transaction
- Invoice
- vimeo video importer
- test
- transcoding service
- transcoding service v2
- Welcome to vidinfraGET
- health checkGET
- Regions ListGET
- keyPOST
- Untitled EndpointGET
create jobs
Developing
POST
/jobs
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
object {0}
Example
{
"source": {
"url": "https://storage.cloud.google.com/ugc-dataset/original_videos/Lecture/720P/Lecture_720P-3b7f.mkv"
},
"destination": {
"key": "HDPKW44H594CAGJRN6KW",
"bucket": "staging-chorki",
"region": "ap-southeast-1",
"secret": "kJE1sS42o78iZd1I4EPTIcwR9QeaBXU7H8cHKw7N",
"url": "https://s3.ap-southeast-1.wasabisys.com",
"permissions": true
},
"profiles": [
{
"name": "1080p",
"width": 1920,
"height": 1080,
"bitrate": "5000k",
"codec": "h264"
},
{
"name": "720p",
"width": 1280,
"height": 720,
"bitrate": "3000k",
"codec": "h264"
},
{
"name": "480p",
"width": 854,
"height": 480,
"bitrate": "1500k",
"codec": "h264"
},
{
"name": "360p",
"width": 640,
"height": 360,
"bitrate": "1000k",
"codec": "h264"
},
{
"name": "240p",
"width": 426,
"height": 240,
"bitrate": "500k",
"codec": "h264"
}
],
"webhook_url": "https://admin-chorki.nusratech.com/video/webhook",
"encryption": {
"iv": "318126ae9d5069ccb48c9077da232bd3",
"key": "712f6c3a6a8367a0425fa46309e9f58b",
"key_url": "https://kms.chorki.com/v1/keys?content_id=71a97e42-b95c-44e2-b21b-e0c24658dbd92"
},
"video_id" : "3013414810",
"type": "bytes"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:8080/v1/jobs' \
--header 'Content-Type: application/json' \
--data-raw '{
"source": {
"url": "https://storage.cloud.google.com/ugc-dataset/original_videos/Lecture/720P/Lecture_720P-3b7f.mkv"
},
"destination": {
"key": "HDPKW44H594CAGJRN6KW",
"bucket": "staging-chorki",
"region": "ap-southeast-1",
"secret": "kJE1sS42o78iZd1I4EPTIcwR9QeaBXU7H8cHKw7N",
"url": "https://s3.ap-southeast-1.wasabisys.com",
"permissions": true
},
"profiles": [
{
"name": "1080p",
"width": 1920,
"height": 1080,
"bitrate": "5000k",
"codec": "h264"
},
{
"name": "720p",
"width": 1280,
"height": 720,
"bitrate": "3000k",
"codec": "h264"
},
{
"name": "480p",
"width": 854,
"height": 480,
"bitrate": "1500k",
"codec": "h264"
},
{
"name": "360p",
"width": 640,
"height": 360,
"bitrate": "1000k",
"codec": "h264"
},
{
"name": "240p",
"width": 426,
"height": 240,
"bitrate": "500k",
"codec": "h264"
}
],
"webhook_url": "https://admin-chorki.nusratech.com/video/webhook",
"encryption": {
"iv": "318126ae9d5069ccb48c9077da232bd3",
"key": "712f6c3a6a8367a0425fa46309e9f58b",
"key_url": "https://kms.chorki.com/v1/keys?content_id=71a97e42-b95c-44e2-b21b-e0c24658dbd92"
},
"video_id" : "3013414810",
"type": "bytes"
}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}