cURL
curl --request POST \ --url https://api.mudstack.com/workspaces/import/commit/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-account-id: <x-account-id>' \ --header 'x-workspace-id: <x-workspace-id>' \ --data ' { "sync_commit_id": "<string>", "title": "<string>", "description": "<string>" } '
{ "success": true, "commit_id": "<string>" }
Create a commit for the import. Requires workspace_id, sync_commit_id, title, and description.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The sync commit ID
The title of the commit
The description of the commit
The result of the created commit
Was this page helpful?