Update all VCS roots of the matching build configuration.
PUT {{baseUrl}}/app/rest/buildTypes/:btLocator/vcs-root-entries?fields=<string>
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
fields | string |
Request Body
{"count"=>"<integer>", "vcs-root-entry"=>[{"id"=>"<string>", "inherited"=>"<boolean>", "vcs-root"=>{"id"=>"<string>", "internalId"=>"<string>", "uuid"=>"<string>", "name"=>"<string>", "vcsName"=>"<string>", "modificationCheckInterval"=>"<integer>", "href"=>"<string>", "project"=>{"id"=>"<string>", "internalId"=>"<string>", "uuid"=>"<string>", "name"=>"<string>", "parentProjectId"=>"<string>", "parentProjectInternalId"=>"<string>", "parentProjectName"=>"<string>", "archived"=>"<boolean>", "description"=>"<string>", "href"=>"<string>", "webUrl"=>"<string>", "links"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parentProject"=>{"value"=>"<Circular reference to #/components/schemas/project detected>"}, "readOnlyUI"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "defaultTemplate"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "buildTypes"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "templates"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parameters"=>{"count"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "property"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "vcsRoots"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "projectFeatures"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "projects"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "cloudProfiles"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "locator"=>"<string>"}, "properties"=>{"count"=>"<integer>", "href"=>"<string>", "property"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, "vcsRootInstances"=>{"count"=>"<integer>", "href"=>"<string>", "nextHref"=>"<string>", "prevHref"=>"<string>", "vcs-root-instance"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, "repositoryIdStrings"=>{"item"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, "projectLocator"=>"<string>", "locator"=>"<string>"}, "checkout-rules"=>"<string>"}, {"id"=>"<string>", "inherited"=>"<boolean>", "vcs-root"=>{"id"=>"<string>", "internalId"=>"<string>", "uuid"=>"<string>", "name"=>"<string>", "vcsName"=>"<string>", "modificationCheckInterval"=>"<integer>", "href"=>"<string>", "project"=>{"id"=>"<string>", "internalId"=>"<string>", "uuid"=>"<string>", "name"=>"<string>", "parentProjectId"=>"<string>", "parentProjectInternalId"=>"<string>", "parentProjectName"=>"<string>", "archived"=>"<boolean>", "description"=>"<string>", "href"=>"<string>", "webUrl"=>"<string>", "links"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parentProject"=>{"value"=>"<Circular reference to #/components/schemas/project detected>"}, "readOnlyUI"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "defaultTemplate"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "buildTypes"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "templates"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parameters"=>{"count"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "property"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "vcsRoots"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "projectFeatures"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "projects"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "cloudProfiles"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "locator"=>"<string>"}, "properties"=>{"count"=>"<integer>", "href"=>"<string>", "property"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, "vcsRootInstances"=>{"count"=>"<integer>", "href"=>"<string>", "nextHref"=>"<string>", "prevHref"=>"<string>", "vcs-root-instance"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, "repositoryIdStrings"=>{"item"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, "projectLocator"=>"<string>", "locator"=>"<string>"}, "checkout-rules"=>"<string>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"count":"\u003cinteger\u003e","vcs-root-entry":[{"id":"\u003cstring\u003e","inherited":"\u003cboolean\u003e","vcs-root":{"id":"\u003cstring\u003e","internalId":"\u003cstring\u003e","uuid":"\u003cstring\u003e","name":"\u003cstring\u003e","vcsName":"\u003cstring\u003e","modificationCheckInterval":"\u003cinteger\u003e","href":"\u003cstring\u003e","project":{"id":"\u003cstring\u003e","internalId":"\u003cstring\u003e","uuid":"\u003cstring\u003e","name":"\u003cstring\u003e","parentProjectId":"\u003cstring\u003e","parentProjectInternalId":"\u003cstring\u003e","parentProjectName":"\u003cstring\u003e","archived":"\u003cboolean\u003e","description":"\u003cstring\u003e","href":"\u003cstring\u003e","webUrl":"\u003cstring\u003e","links":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"parentProject":{"value":"\u003cCircular reference to #/components/schemas/project detected\u003e"},"readOnlyUI":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"defaultTemplate":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"buildTypes":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"templates":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"parameters":{"count":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"property":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"vcsRoots":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"projectFeatures":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"projects":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"cloudProfiles":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"locator":"\u003cstring\u003e"},"properties":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","property":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"vcsRootInstances":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","nextHref":"\u003cstring\u003e","prevHref":"\u003cstring\u003e","vcs-root-instance":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"repositoryIdStrings":{"item":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"projectLocator":"\u003cstring\u003e","locator":"\u003cstring\u003e"},"checkout-rules":"\u003cstring\u003e"},{"id":"\u003cstring\u003e","inherited":"\u003cboolean\u003e","vcs-root":{"id":"\u003cstring\u003e","internalId":"\u003cstring\u003e","uuid":"\u003cstring\u003e","name":"\u003cstring\u003e","vcsName":"\u003cstring\u003e","modificationCheckInterval":"\u003cinteger\u003e","href":"\u003cstring\u003e","project":{"id":"\u003cstring\u003e","internalId":"\u003cstring\u003e","uuid":"\u003cstring\u003e","name":"\u003cstring\u003e","parentProjectId":"\u003cstring\u003e","parentProjectInternalId":"\u003cstring\u003e","parentProjectName":"\u003cstring\u003e","archived":"\u003cboolean\u003e","description":"\u003cstring\u003e","href":"\u003cstring\u003e","webUrl":"\u003cstring\u003e","links":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"parentProject":{"value":"\u003cCircular reference to #/components/schemas/project detected\u003e"},"readOnlyUI":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"defaultTemplate":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"buildTypes":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"templates":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"parameters":{"count":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"property":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"vcsRoots":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"projectFeatures":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"projects":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"cloudProfiles":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"locator":"\u003cstring\u003e"},"properties":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","property":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"vcsRootInstances":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","nextHref":"\u003cstring\u003e","prevHref":"\u003cstring\u003e","vcs-root-instance":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"repositoryIdStrings":{"item":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"projectLocator":"\u003cstring\u003e","locator":"\u003cstring\u003e"},"checkout-rules":"\u003cstring\u003e"}]}