v4

latestOpenAPI 3.1.2Apache 2.02026-08-04231238976.2 KB
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:compass~google-maps-extractor

Actor ID or the username of the Actor owner and the Actor name, separated by a tilde (~).

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"
      }
    ]
  }
}