BuildInformation

Create or update a specific build information record describing the vcs information for a given package

post/{spaceId}/build-information

Request

  • Base URL
    https://demo.octopus.app/api
  • URL
    https://demo.octopus.app/api/{spaceId}/build-information
  • Auth
    • API key in header X-Octopus-ApiKey
    • or API key in query parameter ApiKey
    • or API key in header X-NuGet-ApiKey

Path parameters

spaceIdstring required

Request body

OverwriteMode'FailIfExists' | 'OverwriteExisting' | 'IgnoreIfExists'
PackageIdstring required
Replaceboolean
SpaceIdstring required
Versionstring required

Example request

{
  "SpaceId": "Spaces-1"
}

Response

Build information updated.

Branchstring
BuildEnvironmentstring
BuildNumberstring
BuildUrlstring
Createdstring date-time
Idstring

Gets or sets a unique identifier for this resource.

IncompleteDataWarningstring
IssueTrackerNamestring
LastModifiedBystring

Gets or sets the username of the user who last modified this resource.

LastModifiedOnstring date-time

Gets or sets the date/time that this resource was last modified.

Linksobject

Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.

PackageIdstring
VcsCommitNumberstring
VcsCommitUrlstring
VcsRootstring
VcsTypestring
Versionstring

Example response

{
  "Links": {
    "Self": "/api/..."
  }
}

Changes

No recorded changes to this operation across all 13 revisions of this API.