Functions
Get a function's source files
The source files of a managed-build deployment: the current one, or the one named by deployment_id. A function deployed as a single bundled module returns its deploymentId with an empty files list. deploymentId is null only when the function has no deployment.
get/functions/{id}/source
Request
- Base URLhttps://api.primitive.dev/v1
- URLhttps://api.primitive.dev/v1/functions/{id}/source
- AuthHTTP bearer
Path parameters
idstring uuid required
The function id.
Query parameters
deployment_idstring uuid
A deployment of this function. Defaults to the current deployment.
Response
Get a function's source files
Changes
No operation changes recorded.