putChangeSetFile
PUT/api/v1/change-sets/:number/files/:path
Writes a file into the draft. L0 and L1 run; diagnostics are returned. A write to a failed change set returns it to draft.
Request
Responses
- 200
- 403
- 404
- 409
Stored (canonicalised) with diagnostics
change_set.file_not_owned: the caller may not edit files of the owner team (old or new metadata.owner)
object.not_found: no such object, or not in the caller's scopes
change_set.state: the change set is validating, in review, merged or closed