--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/aee436d7-9c27-4005-9d35-070aed4e048an%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/80994bd0-3d71-4a8d-9bd6-a929c01bada3n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/ff7c92b5-83f8-4a22-b013-a69657c95019n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/CAKns_UmS4e4vEb%2BLvYhcMLy5QqNSxp_uFy5Bm%2BwGm%3D-WsBBmbg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/CAPKX9jZ3TSpMPf2ZCH0TxF8GwqV9Y7YVtNLDZ%3D%2BsA0KycDaBGg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/CAKns_Un-5L9Ahe7wXRV3ch1PubGptBYhK%2BQEnL4EKh6DKnwZ6w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/CAD9m7Cx8b80M6uDb3KymCcLGS_-W3FkzQMyQ719Y8HkeA%2BP1-w%40mail.gmail.com.
Materials are part of a pipeline and so, they are updated using the “Edit pipeline config” API call: https://api.gocd.org/current/#edit-pipeline-config
You’ll need to do a GET and then a PUT with an If-Match header based on the GET response: https://developer.mozilla.org/en-US/docs/Web/HTTP/Conditional_requests
Materials are part of a pipeline and so, they are updated using the “Edit pipeline config” API call: https://api.gocd.org/current/#edit-pipeline-config
You’ll need to do a GET and then a PUT with an
If-Matchheader based on the GET response: https://developer.mozilla.org/en-US/docs/Web/HTTP/Conditional_requests
I’d suggest doing a GET and then makee no change and do a PUT. That should work. If it doesn’t, you probably have some of the parameters wrong in your request.