POST /user/migrations
Initiates the generation of a user migration archive.
Servers
- https://api.github.com
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
repositories[] |
Array | Yes | |
exclude_attachments |
Boolean | No |
Do not include attachments in the migration |
exclude_owner_projects |
Boolean | No |
Indicates whether projects owned by the organization or users should be excluded. |
lock_repositories |
Boolean | No |
Lock the repositories being migrated at the start of the migration |
exclude_git_data |
Boolean | No |
Indicates whether the repository git data should be excluded from the migration. |
exclude_metadata |
Boolean | No |
Indicates whether metadata should be excluded and only git source should be included for the migration. |
exclude_releases |
Boolean | No |
Do not include releases in the migration |
org_metadata_only |
Boolean | No |
Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags). Default value: false |
exclude[] |
Array | No |
Exclude attributes from the API response to improve performance |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.