API referenceGitlab
Gitlab Oauth Import
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/integrations/gitlab/import" \ -H "Content-Type: application/json" \ -d '{ "account_id": "string", "repositories": [ "string" ] }'{ "imported": [ { "asset_id": "string", "full_name": "string" } ], "count": 0, "scans_started": 0, "scans_failed": 0, "hooks_created": 0, "hooks_failed": 0}