Zone File Manager info
Zone File Manager info
curl -X GET "https://api.5centscdn.com/v2/zones/http/push/42/filemanager/info?file=example_string&media=example_string" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"
import requests
import json
url = "https://api.5centscdn.com/v2/zones/http/push/42/filemanager/info?file=example_string&media=example_string"
headers = {
"Content-Type": "application/json",
"X-API-Key": "YOUR_API_KEY"
}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch("https://api.5centscdn.com/v2/zones/http/push/42/filemanager/info?file=example_string&media=example_string", {
method: "GET",
headers: {
"Content-Type": "application/json",
"X-API-Key": "YOUR_API_KEY"
}
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://api.5centscdn.com/v2/zones/http/push/42/filemanager/info?file=example_string&media=example_string", nil)
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("X-API-Key", "YOUR_API_KEY")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://api.5centscdn.com/v2/zones/http/push/42/filemanager/info?file=example_string&media=example_string')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Get.new(uri)
request['Content-Type'] = 'application/json'
request['X-API-Key'] = 'YOUR_API_KEY'
response = http.request(request)
puts response.body
{
"dirname": "/",
"basename": "badguy.mp4",
"filesize": 44185321,
"lastChange": 1777227615,
"lastAccess": 1777227615,
"etag": "4d9916f660b76396ad42669e3ddc5ab2",
"perms": "0664",
"media": {
"streams": [
{
"index": 0,
"codec_name": "h264",
"codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
"profile": "High",
"codec_type": "video",
"codec_tag_string": "avc1",
"codec_tag": "0x31637661",
"width": 1920,
"height": 1080,
"coded_width": 1920,
"coded_height": 1080,
"closed_captions": 0,
"film_grain": 0,
"has_b_frames": 1,
"sample_aspect_ratio": "1:1",
"display_aspect_ratio": "16:9",
"pix_fmt": "yuv420p",
"level": 40,
"color_range": "tv",
"color_space": "bt709",
"color_transfer": "bt709",
"color_primaries": "bt709",
"chroma_location": "left",
"field_order": "progressive",
"refs": 1,
"is_avc": "true",
"nal_length_size": "4",
"sample_fmt": "fltp",
"sample_rate": "44100",
"channels": 2,
"channel_layout": "stereo",
"bits_per_sample": 0,
"initial_padding": 0,
"id": "0x1",
"r_frame_rate": "24000/1001",
"avg_frame_rate": "148110000/6177421",
"time_base": "1/90000",
"start_pts": 0,
"start_time": "0.000000",
"duration_ts": 18532263,
"duration": "205.914033",
"bit_rate": "1581916",
"bits_per_raw_sample": "8",
"nb_frames": "4937",
"extradata_size": 48,
"disposition": {
"default": 1,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0,
"timed_thumbnails": 0,
"non_diegetic": 0,
"captions": 0,
"descriptions": 0,
"metadata": 0,
"dependent": 0,
"still_image": 0
},
"tags": {
"language": "und",
"handler_name": "VideoHandler",
"vendor_id": "[0][0][0][0]"
}
}
],
"format": {
"nb_streams": 2,
"nb_programs": 0,
"nb_stream_groups": 0,
"format_name": "mov,mp4,m4a,3gp,3g2,mj2",
"format_long_name": "QuickTime / MOV",
"start_time": "0.000000",
"duration": "205.914558",
"size": "44185321",
"bit_rate": "1716646",
"probe_score": 100,
"tags": {
"major_brand": "isom",
"minor_version": "512",
"compatible_brands": "isomiso2avc1mp41",
"encoder": "Lavf60.16.100"
}
}
}
}
/zones/http/push/{zoneid}/filemanager/infoTarget server for requests. Edit to use your own host.
API key (sent in header)
Zone ID
Enter file name
show detailed media info if 1
Request Preview
Response
Response will appear here after sending the request
Authentication
API Key for authentication. Provide your API key in the header.
Path Parameters
Query Parameters
Enter file name
show detailed media info if 1
Responses
Directory name component of the file path
Base filename without directory path
File size in bytes
Unix timestamp of the last modification
Unix timestamp of the last access to this file or resource
ETag value of the stored object
File or directory permission string (e.g. drwxr-xr-x)
Zero-based stream index within the media container
Media stream metadata from the source file
Full human-readable codec name (e.g. H.264 / AVC / MPEG-4 AVC)
Codec profile used for encoding (e.g. High, Baseline)
Type of the codec stream: video or audio
FourCC codec tag string (e.g. avc1, mp4a)
Hex codec tag value (e.g. 0x31637661)
Video width in pixels
Video height in pixels
Raw encoded width in pixels before crop/padding
Raw encoded height in pixels before crop/padding
Whether this stream contains closed caption data (0 or 1)
Whether film grain synthesis data is present in the stream
Number of B-frames used in encoding (0 means none)
Pixel aspect ratio (e.g. 1:1 for square pixels)
Display aspect ratio of the video (e.g. 16:9)
Pixel format of the video stream (e.g. yuv420p)
Codec level value indicating complexity constraints
Color range: tv (limited) or pc (full)
Color space used for the video stream (e.g. bt709)
Transfer characteristics / gamma curve (e.g. bt709)
Color primaries defining the color gamut (e.g. bt709)
Chroma sample location within each pixel block
Field order for interlaced content (progressive, tt, bb, etc.)
Number of reference frames used by the codec
Whether the stream uses AVC/H.264 encoding (true or false)
Size of NAL length prefix in bytes (typically 4)
Audio sample format (e.g. fltp, s16)
Audio sample rate in Hz (e.g. 44100, 48000)
Number of audio channels (1=mono, 2=stereo)
Audio channel layout description (e.g. stereo, 5.1)
Bits per audio sample (e.g. 16, 24)
Initial padding samples in the audio stream
Unique numeric identifier of the zone
Real (base) frame rate as a fraction (e.g. 60000/1001)
Average frame rate as a fraction (e.g. 30/1)
Time base fraction used for timestamp calculations (e.g. 1/90000)
Start presentation timestamp in time_base units
Start timestamp of the media segment or event
Duration in time_base units
Duration of the media segment in seconds
Bitrate of the media stream in kbps
Number of bits per raw (uncompressed) sample
Total number of frames in this stream
Size of codec-specific extra configuration data in bytes
Whether this is the default stream for its type (1=yes, 0=no)
Whether this stream is a dubbed audio track
Whether this stream is the original language track
Stream disposition flags (default, forced, hearing_impaired, etc.)
Whether this stream contains lyric content
Whether this stream is a karaoke audio track
Whether playback of this stream is forced (1=yes, 0=no)
Whether this stream is designated for hearing-impaired viewers
Whether this stream is designated for visually-impaired viewers
Whether this audio stream has clean effects (no commentary)
Whether this stream is an attached picture/cover art (1=yes, 0=no)
Whether this stream contains timed thumbnail data
Whether this is a non-diegetic (background) audio track
Whether this stream contains caption data
Whether this stream contains descriptive audio narration
Whether this stream carries metadata only
Whether this stream depends on another stream to decode
Whether this video stream is a still image (1=yes, 0=no)
BCP-47 language tag for this stream (e.g. eng, fra)
Handler name string embedded in the media track
Vendor identifier embedded in the media file
Total number of streams in this media container
Number of programs in this media container
Number of stream groups in this media container
Output format of the encoded file
Full container format name
Start timestamp of the media segment or event
Duration of the media segment in seconds
Size in bytes
Bitrate of the media stream in kbps
Confidence score of the format detection (0-100)
ISO base media file format major brand (e.g. isom, mp42)
Minor version of the ISO base media file format
Space-separated list of compatible ISO base media format brands
Encoder type or identifier for this stream