apicheats.dev Cheat sheet Raw .md
POST

Try POST /orgs/{org}/migrations — GitHub API

GitHub playground

Start an organization migration

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

9 body fields
  • repositories · required · string[] — A list of arrays indicating which repositories should be migrated.
  • lock_repositories · optional · boolean — Indicates whether repositories should be locked (to prevent manipulation) while migrating data.
  • exclude_metadata · optional · boolean — Indicates whether metadata should be excluded and only git source should be included for the migration.
  • exclude_git_data · optional · boolean — Indicates whether the repository git data should be excluded from the migration.
  • exclude_attachments · optional · boolean — Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).
  • exclude_releases · optional · boolean — Indicates whether releases should be excluded from the migration (to reduce migration archive file size).
  • exclude_owner_projects · optional · boolean — Indicates whether projects owned by the organization or users should be excluded. from the migration.
  • org_metadata_only · optional · boolean — Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).
  • exclude · optional · string[] — Exclude related items from being returned in the response in order to improve performance of the request.