List Deployment Files
Allows to retrieve the file structure of the source code of a deployment by supplying the deployment unique identifier. If the deployment was created with the Vercel CLI or the API directly with the files
key, it will have a file tree that can be retrievable.
Authorizations
Default authentication mechanism
Path Parameters
The unique deployment identifier
Query Parameters
The Team identifier to perform the request on behalf of.
"team_1a2b3c4d5e6f7g8h9i0j1k2l"
The Team slug to perform the request on behalf of.
"my-team-url-slug"
Response
The name of the file tree entry
"my-file.json"
String indicating the type of file tree entry.
directory
, file
, symlink
, lambda
, middleware
, invalid
"file"
The file "mode" indicating file type and permissions.
The unique identifier of the file (only valid for the file
type)
"2d4aad419917f15b1146e9e03ddc9bb31747e4d0"
The list of children files of the directory (only valid for the directory
type)
A deployment file tree entry
The content-type of the file (only valid for the file
type)
"application/json"
Not currently used. See file-list-to-tree.ts
.