Import GitHub gists into GitLab snippets
POST
/api/v4/import/github/gists
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.
Authorizations
Section titled “ Authorizations ”Request Body required
Section titled “ Request Body required ” Media type application/json
object
personal_access_token
required
GitHub personal access token
string
Example generated
{ "personal_access_token": "example"}Responses
Section titled “ Responses ”Accepted
Bad Request
Unauthorized
Unprocessable Entity
Too Many Requests