Skip to navigation

List site item history

View as MarkdownOpen in Claude

Returns the updates and downgrades applied to installed items, newest first. Use it to review what changed on your websites in a period. It covers the last 14 days unless you give a range; a range spans at most 14 days and starts no earlier than 2 years ago.

Your role must be allowed to see version history.

Errors

  • 422: the range is longer than 14 days, starts more than 2 years back or ends in the future.

Authentication

AuthorizationBearer

Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.

Query parameters

filter[type][]stringOptional

Item types: core, plugin or theme. Several values match any of them.

filter[site][]stringOptional
Website ids. Several values match any of them.
filter[site_item]stringOptional

Id of one site item: returns only its history.

filter[started_at]stringOptional

Start of the period, Y-m-d. Default: filter[ended_at] minus 14 days. Not earlier than 2 years ago.

filter[ended_at]stringOptional

End of the period, Y-m-d. Default: filter[started_at] plus 14 days, but not after today; today when filter[started_at] is omitted too. At most 14 days after filter[started_at].

sortstringOptional

Sort order: created_at. Default -created_at, newest first.

page[number]stringOptional
Page to return, starting at 1. Default 1.
page[size]stringOptional
Number of entries per page, 1 to 50. Default 15.

Response

200 - Site items history

datalist of objectsOptional
jsonapiobjectOptional
metaobjectOptional