Actors/Actor versions
Get list of versions
Gets the list of versions of a specific Actor. The response is a JSON object with the list of Version objects, where each contains basic information about a single version.
get/v2/actors/{actorId}/versions
Path parameters
actorIdstring required
Example:janedoe~my-actor
Actor ID or a tilde-separated owner's username and Actor name.
Response
Example response
{
"data": {
"total": 5,
"items": [
{
"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"
}
]
}
]
}
}