Migrations
Import API
The import API lets you import a migration package from your Octopus Server's built-in package feed (which is where packages are pushed to when using the partial-export API).
post/migrations/import
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/migrations/import
- Auth
- API key in header X-Octopus-ApiKey
- or API key in query parameter ApiKey
- or API key in header X-NuGet-ApiKey
Request body
Example request
{
"IsDryRun": true,
"IsEncryptedPackage": true,
"PackageFeedSpaceId": "Spaces-1",
"PackageId": "MyAwesomeOctopusMigration",
"PackageVersion": "1.0.0",
"Password": "Demo1234"
}Response
The requested import task that has been queued.
Example response
{
"IsDryRun": true,
"Links": {
"Self": "/api/..."
},
"PackageFeedSpaceId": "Spaces-1",
"PackageId": "MyAwesomeOctopusMigration",
"PackageVersion": "1.0.0",
"TaskId": "ServerTasks-1234"
}Changes
No recorded changes to this operation across all 13 revisions of this API.