CorefinityCorefinityDocs
Open the Control PanelControl Panel
PHP · 5 of 11

List a site's PHP changes

Answers every change of the site's PHP configuration, newest first: who made it, how, what changed and whether it applied. Paged by cursor: send next_cursor back as cursor; null means the last page.

GET/api/corestack/sites/{site}/php-runtime/history

Path parameters

siteintegerRequired

The id of a site row. A website's production site and each of its environments has its own id. Digits only. At least 1.

Query parameters

cursorstring

The next_cursor of the previous answer. Send only a cursor the list gave you; the list's own page says what any other value answers.

Returns

200 A page of changes and the cursor of the next page.

Fields of the 200 answer
next_cursorstring or nullRequired

Send as cursor to read the next page. Null on the last page.

revisionsarray of objectsRequired
Fields of each item
actorobjectRequired

Who made the change.

Fields
kindstringRequired

user, mcp_token, oauth or corefinity.

namestring or null

Not sent for corefinity.

atstring or nullRequired
currentbooleanRequired

True for the configuration the site has now.

revisionintegerRequired
sourcestringRequired

How the change was made, such as baseline, panel (the Control Panel or this API), mcp, copy, revert or version_change.

statusstringRequired

applied, applying, failed or unconfirmed.

summarystring or nullRequired

If it is refused

StatusReasonWhat to do
401noneSend a valid token as Authorization: Bearer <token>.
403company_unavailableYour company is unavailable.
403scope_requiredUse a token with the scope named in scope.
403two_factor_requiredTurn on two-factor on your account, then send again.
404feature_offThis feature is not on for your organisation yet.
422invalidFix the field named in field; errors says why.
429rate_limitedWait for the seconds in Retry-After.

Reasons are listed by name in Errors and refusals.

The same task elsewhere

curl https://manage.corefinity.com/api/corestack/sites/1042/php-runtime/history \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json"
{
  "next_cursor": null,
  "revisions": [
    {
      "actor": {
        "kind": "corefinity"
      },
      "at": "2026-11-09T21:35:23Z",
      "current": false,
      "revision": 5,
      "source": "panel",
      "status": "applied",
      "summary": "Starting configuration"
    }
  ]
}
Try it
Held in this tab's memory only. Never stored or sent to us.

Use a token with only the read scope. How to make one

Was this helpful?
Open in ClaudeOpen in ChatGPT