Actors/Actor versions
Get version
Gets a Version object that contains all the details about a specific version of an Actor.
get/v2/actors/{actorId}/versions/{versionNumber}
Path parameters
actorIdstring required
Example:janedoe~my-actor
Actor ID or a tilde-separated owner's username and Actor name.
versionNumberstring required
Example:0.1
Actor version.
Response
Example response
{
"data": {
"versionNumber": "0.0",
"envVars": [
{
"name": "MY_ENV_VAR",
"value": "my-value"
}
],
"buildTag": "latest",
"sourceFiles": [
{
"format": "TEXT",
"content": "console.log('This is the main.js file');",
"name": "src/main.js"
}
]
}
}