migration

Starts the migration from previous version of Invoice Ninja

Changed on

Starts the migration from previous version of Invoice Ninja

post/api/v1/migration/start

Request

Query parameters

migrationobject required

The migraton file

Headers

X-API-TOKENstring required
Example:TOKEN

The API token to be used for authentication

X-Requested-Withstring required
Example:XMLHttpRequest

Used to send the XMLHttpRequest header

X-API-PASSWORDstring required
Example:supersecretpassword

The login password when challenged on certain protected routes

Response

Success

Changes

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • breaking

      the response's body type changed from object to no type for status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status