Skip to main content
GET
/
directory
/
{dirId}
List files in one of your directories
curl --request GET \
  --url https://api.ffmpeg-api.com/v1/directory/{dirId} \
  --header 'Authorization: <authorization>'
{
  "ok": true,
  "files": [
    {
      "file_name": "<string>",
      "added_on": "<string>"
    }
  ]
}

Headers

Authorization
string
required

Your secret API key. Format: Basic <key>

Path Parameters

dirId
string
required

Directory ID to list files of. Obtain from POST /directory or GET /directory

Response

200 - application/json

Successful response with the files registered in this directory.

ok
boolean
required
files
object[]
required
I