database
Get a database migration
Changed onReturns the contents of a named migration for the specified branch.
get/sites/{site_id}/database/migrations/{name}
Request
- Base URLhttps://api.netlify.com/api/v1
- URLhttps://api.netlify.com/api/v1/sites/{site_id}/database/migrations/{name}
- AuthOAuth 2Implicit: https://app.netlify.com/authorize
Query parameters
branchstring
The branch ID to look up the migration on. Defaults to the currently published deploy's branch.
Response
OK
Changes
- breaking
api path removed without deprecation
- breaking