database

List database migrations

Changed on

Returns the list of migrations available for the specified branch, indicating which ones have been applied to the database.

get/sites/{site_id}/database/migrations

Request

  • Base URL
    https://api.netlify.com/api/v1
  • URL
    https://api.netlify.com/api/v1/sites/{site_id}/database/migrations
  • Auth
    OAuth 2
    Implicit: https://app.netlify.com/authorize

Query parameters

branchstring

The branch ID to list migrations for. Defaults to "production" if not specified.

Response

OK

Changes