Add tags to the matching build.
POST {{baseUrl}}/app/rest/buildQueue/:buildLocator/tags
Request Body
{"count"=>"<integer>", "tag"=>[{"name"=>"<string>", "owner"=>{"username"=>"<string>", "name"=>"<string>", "id"=>"<long>", "email"=>"<string>", "lastLogin"=>"<string>", "password"=>"<string>", "hasPassword"=>"<boolean>", "realm"=>"<string>", "href"=>"<string>", "properties"=>{"count"=>"<integer>", "href"=>"<string>", "property"=>[{"name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "value"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "inherited"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "value"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "inherited"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}, "roles"=>{"role"=>[{"roleId"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "scope"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"roleId"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "scope"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}, "groups"=>{"count"=>"<integer>", "group"=>[{"key"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "description"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parent-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "child-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "users"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "roles"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "properties"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"key"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "description"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parent-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "child-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "users"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "roles"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "properties"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}, "locator"=>"<string>", "avatars"=>{"urlToSize20"=>"<string>", "urlToSize28"=>"<string>", "urlToSize32"=>"<string>", "urlToSize40"=>"<string>", "urlToSize56"=>"<string>", "urlToSize64"=>"<string>", "urlToSize80"=>"<string>"}, "enabled2FA"=>"<boolean>"}, "private"=>"<boolean>"}, {"name"=>"<string>", "owner"=>{"username"=>"<string>", "name"=>"<string>", "id"=>"<long>", "email"=>"<string>", "lastLogin"=>"<string>", "password"=>"<string>", "hasPassword"=>"<boolean>", "realm"=>"<string>", "href"=>"<string>", "properties"=>{"count"=>"<integer>", "href"=>"<string>", "property"=>[{"name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "value"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "inherited"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "value"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "inherited"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}, "roles"=>{"role"=>[{"roleId"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "scope"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"roleId"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "scope"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}, "groups"=>{"count"=>"<integer>", "group"=>[{"key"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "description"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parent-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "child-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "users"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "roles"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "properties"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"key"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "description"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parent-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "child-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "users"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "roles"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "properties"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}, "locator"=>"<string>", "avatars"=>{"urlToSize20"=>"<string>", "urlToSize28"=>"<string>", "urlToSize32"=>"<string>", "urlToSize40"=>"<string>", "urlToSize56"=>"<string>", "urlToSize64"=>"<string>", "urlToSize80"=>"<string>"}, "enabled2FA"=>"<boolean>"}, "private"=>"<boolean>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |