cURL
curl --request POST \ --url http://localhost:3000/api/v1/git/pull \ --header 'Content-Type: application/json' \ --cookie nut-session= \ --data ' { "remote": "origin", "branch": "<string>" } '
{ "success": true, "data": {} }
Pull changes from remote repository
Session cookie authentication
Remote name
Branch name
Pull successful