Actors/Actor versions
Get environment variable of Actor version
Changed onGets an EnvVar object that contains all the details about a specific environment variable of an Actor.
If isSecret is set to true, then value will never be returned.
get/v2/actors/{actorId}/versions/{versionNumber}/env-vars/{envVarName}
Request
- Base URLhttps://api.apify.com
- Auth
- HTTP bearer
- or API key in query parameter token
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.
envVarNamestring required
Example:MY_ENV_VAR
The name of the environment variable
Response
Example response
{
"data": {
"name": "MY_ENV_VAR",
"value": "my-value",
"valueHash": "a1b2c3"
}
}Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- info
added the optional property
/to the response with the status
- info