Skip to main content
GET
/
compute
/
script
/
{id}
/
releases
/
active
Get Active Release
curl --request GET \
  --url https://api.bunny.net/compute/script/{id}/releases/active \
  --header 'AccessKey: <api-key>'
{
  "Id": 123,
  "Deleted": true,
  "DateReleased": "2023-11-07T05:31:56Z",
  "DatePublished": "2023-11-07T05:31:56Z",
  "Code": "<string>",
  "Uuid": "<string>",
  "Note": "<string>",
  "Author": "<string>",
  "AuthorEmail": "<string>",
  "CommitSha": "<string>",
  "Status": "Archived"
}

Authorizations

AccessKey
string
header
required

API Access Key authorization header

Path Parameters

id
integer<int64>
required

The ID of the script for which active release would be returned

Response

Currently active release of the script with the requested ID

Id
integer<int64>
required
Deleted
boolean
required
DateReleased
string<date-time>
required
DatePublished
string<date-time>
required
Code
string | null
Uuid
string | null
Note
string | null
Author
string | null
AuthorEmail
string | null
CommitSha
string | null
Status
enum<string>

0 = Archived
1 = Live

Available options:
Archived,
Live
Example:

"Archived"