deployments
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.
GET
listDeploymentFiles
Authorizations
Default authentication mechanism
Path Parameters
The unique deployment identifier
Query Parameters
The Team identifier to perform the request on behalf of.
Example:
"team_1a2b3c4d5e6f7g8h9i0j1k2l"
The Team slug to perform the request on behalf of.
Example:
"my-team-url-slug"
Response
200
application/json
Retrieved the file tree successfully
The response is of type object[]
.
listDeploymentFiles