cURL
curl --request GET \ --url https://api.bunny.net/compute/script/{id}/releases/active \ --header 'AccessKey: <api-key>'
{ "Id": 123, "Deleted": true, "Code": "<string>", "Uuid": "<string>", "Note": "<string>", "Author": "<string>", "AuthorEmail": "<string>", "CommitSha": "<string>", "Status": 0, "DateReleased": "2023-11-07T05:31:56Z", "DatePublished": "2023-11-07T05:31:56Z" }
API Access Key authorization header
The ID of the script for which active release would be returned
Currently active release of the script with the requested ID
0 = Archived 1 = Live
0
1
Was this page helpful?