Skip to main content
GET
/
compute
/
script
/
{id}
/
code
Get Code
curl --request GET \
  --url https://api.bunny.net/compute/script/{id}/code \
  --header 'AccessKey: <api-key>'
{
  "LastModified": "2023-11-07T05:31:56Z",
  "Code": "<string>"
}

Authorizations

AccessKey
string
header
required

API Access Key authorization header

Path Parameters

id
integer<int64>
required

The ID of the code for which the script that will be returned

Response

The code of the script with the requested ID

LastModified
string<date-time>
required
Code
string | null