cURL
curl --request POST \ --url https://api.veryfront.com/projects/{project_reference}/commit \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "file_ids": [ "<string>" ], "file_references": [ "<string>" ], "branch_reference": "<string>" } '
{ "success": true, "versions": [ { "version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "path": "<string>", "file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } ] }
Commits pending project file changes.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"my-project"
Commit successful
Show child attributes