Hey guys,

I have created a shell script to create and accept a merge request.

The first action (creating) is working fine, but the second action 
(accepting) fails.

This is my code:

curl -X PUT -H "PRIVATE-TOKEN: abc123" -d id=86 -d merge_request_id=323 
https://gitlab/api/v3/projects/86/merge_requests/323/merge

API feedback:

{"message":"404 Not found"}

GitLab API documentation on merge requests: 
https://gitlab.com/help/api/merge_requests.md#accept-mr

Regards

Tobias

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/6ac057e3-8b61-4bb2-b5ef-c195e9f6adef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to