Values in the Build Bundle
This resource lets you work with the values in a specific set of builds (build bundle).
Resource | /api/admin/customFieldSettings/bundles/build/{bundleID}/values |
Returned entity | BuildBundleElement. For the description of the entity attributes, see Supported Fields section. |
Supported methods |
|
BuildBundleElement attributes
Represents a build - a single element of a builds bundle.
Related Resources
Below you can find the list of resources that let you work with this entity.
Extends BundleElement
Attributes
This table describes attributes of the BuildBundleElement
entity.
To receive an attribute in the response from the server, specify it explicitly in the
fields
request parameter.To update an attribute, provide it in the body of a POST request.
Field | Type | Description |
---|---|---|
id | String | The ID of the build. |
assembleDate | Long | The timestamp in milliseconds indicating the moment when the build was assembled. Stored as a unix timestamp at UTC. |
name | String | The name of the value. |
bundle | Bundle | The reference to the bundle that contains this value. |
description | String | The description of the value. |
archived | Boolean | When |
ordinal | Int | The position of the value in the set of values for the custom field. |
color | FieldStyle | The color that is assigned to the value in the custom field. |
hasRunningJob | Boolean | If true, there are some jobs running in the background for this bundle element. Otherwise, false. |
Read a List of BuildBundleElements
Get the list of all build values in the specific build bundle.
Request syntax
Request parameters
Parameter | Type | Description |
---|---|---|
fields | String | A list of BuildBundleElement attributes that should be returned in the response. If no field is specified, only the |
$skip | Int | Optional. Lets you set a number of returned entities to skip before returning the first one. |
$top | Int | Optional. Lets you specify the maximum number of entries that are returned in the response. If you don't set the $top value, the server limits the maximum number of returned entries. The server returns a maximum of 42 entries for most resources that return collections. For more information, see Pagination. |
Sample
Sample request
Sample response body
Add a New BuildBundleElement
Add a new build to the bundle.
Required fields: name
.
Required permissions
Requires Update Project permission in all projects where the bundle is used. If the bundle is not used in any field, Update Project permission is required in at least one project.
Request syntax
Request parameters
Parameter | Type | Description |
---|---|---|
fields | String | A list of BuildBundleElement attributes that should be returned in the response. If no field is specified, only the |