imports

Import GitHub gists into GitLab snippets

Imports personal GitHub gists into GitLab snippets. You can import gists with up to 10 files. GitHub gists with more than 10 files are skipped. You should manually migrate these GitHub gists. If any gists cannot be imported, an email is sent with a list of gists that were not imported.

post/api/v4/import/github/gists

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Request body

personal_access_tokenstring required

GitHub personal access token

Response

Import GitHub gists into GitLab snippets

Changes

No recorded changes to this operation across all 5 revisions of this API.