we have pipelines defined via config repositories and we have a ruby script triggering API calls on demand to reconfigure some parameters and environment variables. Can this even work with config repositories? I’m wondering now, because we are getting an error when editing some parameters via a call to https://api.gocd.org/current/#edit-pipeline-config.
No, it’s not possible to edit pipelines defined outside of GoCD via the API. If that worked, then a subsequent restart of GoCD or even a new commit to the repository would overwrite your changes. The repository is the only source of truth for those pipelines.
It seems like the error message is quite self-explanatory.