{"openapi":"3.0.1","info":{"title":"Bamboo","description":"This is the reference document for the Atlassian Bamboo REST API. The REST API is for developers who want to: \n\n - integrate Bamboo with other applications;\n\n - create scripts that interact with Bamboo; or\n\n - develop plugins that enhance the Bamboo UI, using REST to interact with the backend. \n\n You can read more about developing Bamboo plugins in the [Bamboo Developer Documentation](https://developer.atlassian.com/bamboo/server/docs/latest/).","termsOfService":"https://www.atlassian.com/legal/customer-agreement","contact":{"name":"Bamboo Jira Project","url":"https://jira.atlassian.com/projects/BAM/summary"},"version":"10.1.0"},"servers":[{"url":"http://{baseurl}/rest/","variables":{"baseurl":{"default":"example.com:8085","description":"Bamboo URL"}}}],"components":{"securitySchemes":{"basic":{"type":"http","description":"In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.","scheme":"basic"}},"schemas":{"RestBrokenPlan":{"properties":{"planResultKey":{"type":"string","example":"PROJ-PLAN-2"},"responsibleUsers":{"type":"array","items":{"$ref":"#/components/schemas/RestUserResponsible"}}}},"RestErrorCollection":{"properties":{"errors":{"type":"array","items":{"type":"string"}},"fieldErrors":{"type":"object"}}},"RestPageModelRestBrokenPlan":{"type":"object","properties":{"limit":{"type":"integer","format":"int32"},"next":{"type":"string","writeOnly":true},"prev":{"type":"string","writeOnly":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestBrokenPlan"}},"self":{"type":"string","readOnly":true},"start":{"type":"integer","format":"int32"}}},"RestUserResponsible":{"properties":{"assignedBy":{"type":"string"},"assignedUser":{"type":"string"}}},"AgentStatus":{"properties":{"allowDelete":{"type":"boolean"},"displayName":{"type":"string"},"icon":{"type":"string"},"idle":{"type":"boolean"},"label":{"type":"string"},"orderIndex":{"type":"integer","format":"int32"},"url":{"type":"string"}}},"ArtifactLink":{"properties":{"artifact":{"$ref":"#/components/schemas/MutableArtifact"},"buildResultsSummary":{"$ref":"#/components/schemas/ResultsSummary"},"id":{"type":"integer","format":"int64"},"label":{"type":"string"},"linkType":{"type":"string"},"producerJobResult":{"$ref":"#/components/schemas/BuildResultsSummary"},"sharedArtifact":{"type":"boolean"},"subscriptions":{"type":"array","items":{"$ref":"#/components/schemas/ConsumedSubscription"}}}},"Author":{"properties":{"allTriggeredBuildResults":{"type":"array","items":{"$ref":"#/components/schemas/ResultsSummary"}},"breakages":{"type":"array","items":{"$ref":"#/components/schemas/ResultsSummary"}},"email":{"type":"string"},"failedBuilds":{"type":"array","items":{"$ref":"#/components/schemas/ResultsSummary"}},"fixes":{"type":"array","items":{"$ref":"#/components/schemas/ResultsSummary"}},"fullName":{"type":"string"},"linkedUserName":{"type":"string"},"name":{"type":"string"},"numberOfBreakages":{"type":"integer","format":"int32"},"numberOfFailedBuilds":{"type":"integer","format":"int32"},"numberOfFixes":{"type":"integer","format":"int32"},"numberOfSuccessfulBuilds":{"type":"integer","format":"int32"},"numberOfTriggeredBuilds":{"type":"integer","format":"int32"},"successfulBuilds":{"type":"array","items":{"$ref":"#/components/schemas/ResultsSummary"}},"triggeredBuildResults":{"type":"array","items":{"$ref":"#/components/schemas/ResultsSummary"}}}},"AuthorContext":{"properties":{"email":{"type":"string"},"linkedUserName":{"type":"string"},"name":{"type":"string"}}},"BambooEntityOid":{"properties":{"entityOid":{"type":"integer","format":"int64"},"entityType":{"type":"string","enum":["CHAIN","STAGE","JOB","REPOSITORY","CHAIN_BRANCH","JOB_BRANCH","TASK","PROJECT","ARTIFACT_DEFINITION","DEPLOYMENT_PROJECT","SHARED_CREDENTIAL"]},"serverKey":{"type":"integer","format":"int32"},"value":{"type":"integer","format":"int64"}}},"BranchIntegrationConfiguration":{"properties":{"enabled":{"type":"boolean"},"integrationPlanBranchKey":{"$ref":"#/components/schemas/PlanKey"},"integrationPoint":{"$ref":"#/components/schemas/BranchIntegrationPoint"},"pushEnabled":{"type":"boolean"},"strategy":{"type":"string","enum":["BRANCH_UPDATER","GATE_KEEPER"]},"valid":{"type":"boolean"}}},"BranchIntegrationPoint":{"properties":{"integrationPlanBranchKey":{"$ref":"#/components/schemas/PlanKey"},"integrationVcsReference":{"type":"string"}}},"BranchMonitoringConfiguration":{"properties":{"branchTriggeringOption":{"type":"string","enum":["INHERITED","MANUAL_ONLY","CUSTOM"]},"defaultBranchIntegrationConfiguration":{"$ref":"#/components/schemas/BranchIntegrationConfiguration"},"defaultBranchNotificationStrategy":{"type":"string","enum":["NOTIFY_COMMITTERS","INHERIT","NONE"]},"defaultTrigger":{"$ref":"#/components/schemas/TriggerDefinition"},"inactiveBranchCleanUpEnabled":{"type":"boolean"},"inactiveBranchCleanUpPeriodInDays":{"type":"integer","format":"int32"},"matchingPattern":{"type":"string"},"planBranchCreationEnabled":{"type":"boolean"},"planBranchWorkflow":{"type":"string","enum":["BRANCH_WORKFLOW","MANUAL_WORKFLOW","PULL_REQUEST_WORKFLOW","FORK_ENABLED_PULL_REQUEST_WORKFLOW"]},"remoteJiraBranchLinkingEnabled":{"type":"boolean"},"removedBranchCleanUpEnabled":{"type":"boolean"},"removedBranchCleanUpPeriodInDays":{"type":"integer","format":"int32"},"valid":{"type":"boolean"}}},"BranchSpecificConfiguration":{"properties":{"awaitingSpecsExecution":{"type":"boolean"},"branchCleanupDisabled":{"type":"boolean"},"ignoreSpecs":{"type":"boolean"},"notificationStrategy":{"type":"string","enum":["NOTIFY_COMMITTERS","INHERIT","NONE"]},"planBranchWorkflow":{"type":"string","enum":["BRANCH_WORKFLOW","MANUAL_WORKFLOW","PULL_REQUEST_WORKFLOW","FORK_ENABLED_PULL_REQUEST_WORKFLOW"]},"valid":{"type":"boolean"}}},"BuildAgent":{"properties":{"active":{"type":"boolean"},"agentStatus":{"$ref":"#/components/schemas/AgentStatus"},"busy":{"type":"boolean"},"dedicated":{"type":"boolean"},"definition":{"$ref":"#/components/schemas/PipelineDefinition"},"enabled":{"type":"boolean"},"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"requestedToBeStopped":{"type":"boolean"},"type":{"type":"string","enum":["LOCAL","REMOTE","ELASTIC","EPHEMERAL"]},"unresponsive":{"type":"boolean"}}},"BuildDefinition":{"properties":{"branchIntegrationConfiguration":{"$ref":"#/components/schemas/BranchIntegrationConfiguration"},"branchMonitoringConfiguration":{"$ref":"#/components/schemas/BranchMonitoringConfiguration"},"branchSpecificConfiguration":{"$ref":"#/components/schemas/BranchSpecificConfiguration"},"cleanWorkingDirectory":{"type":"boolean"},"configObjects":{"type":"object"},"customConfiguration":{"type":"object"},"dockerPipelineConfiguration":{"$ref":"#/components/schemas/DockerPipelineConfiguration"},"merged":{"type":"boolean"},"repositoryIdDefiningWorkingDir":{"type":"integer","format":"int64"},"taskDefinitions":{"type":"array","items":{"$ref":"#/components/schemas/TaskDefinition"}},"triggerDefinitions":{"type":"array","items":{"$ref":"#/components/schemas/TriggerDefinition"}}}},"BuildDefinitionForBuild":{"properties":{"id":{"type":"integer","format":"int64"},"merged":{"type":"boolean"},"plan":{"$ref":"#/components/schemas/Plan"},"xmlData":{"type":"string"}}},"BuildLogger":{"properties":{"interceptorStack":{"$ref":"#/components/schemas/LogInterceptorStack"},"logEntryCount":{"type":"integer","format":"int32"},"mutatorStack":{"$ref":"#/components/schemas/LogMutatorStack"},"persistent":{"type":"boolean"},"timeOfLastLog":{"type":"integer","format":"int64"}}},"BuildMonitoringLink":{"properties":{"link":{"type":"string","example":"http://{baseurl}/rest/admin/latest/config/build/monitoring"}}},"BuildResultsSummary":{"properties":{"active":{"type":"boolean"},"artifactLinksThatExist":{"type":"array","items":{"$ref":"#/components/schemas/ArtifactLink"}},"buildAgentId":{"type":"integer","format":"int64"},"buildAgentType":{"type":"string","enum":["LOCAL","REMOTE","ELASTIC","EPHEMERAL"]},"buildCancelledDate":{"type":"string","format":"date-time"},"buildCompletedDate":{"type":"string","format":"date-time"},"buildDate":{"type":"string","format":"date-time"},"buildKey":{"type":"string"},"buildNumber":{"type":"integer","format":"int32"},"buildResultKey":{"type":"string"},"buildState":{"type":"string","enum":["Unknown","Successful","Failed"]},"buildTime":{"type":"string"},"chainResultsSummary":{"$ref":"#/components/schemas/ChainResultsSummary"},"changesListSummary":{"type":"string"},"commits":{"type":"array","items":{"$ref":"#/components/schemas/Commit"},"properties":{}},"customBuild":{"type":"boolean"},"customBuildData":{"type":"object"},"deltaState":{"type":"string","enum":["NONE","PASSING","FAILING","BROKEN","FIXED"]},"duration":{"type":"integer","format":"int64"},"durationDescription":{"type":"string"},"extraBuildResultsData":{"$ref":"#/components/schemas/ExtraBuildResultsData"},"failed":{"type":"boolean"},"filteredTestResults":{"$ref":"#/components/schemas/FilteredTestResultsTestClassResult"},"finished":{"type":"boolean"},"fixingJiraIssues":{"type":"array","items":{"$ref":"#/components/schemas/LinkedJiraIssue"},"uniqueItems":true},"formatVersion":{"type":"integer","format":"int32"},"fullPlanName":{"type":"string"},"id":{"type":"integer","format":"int64"},"immutableChain":{"$ref":"#/components/schemas/ImmutableChain"},"immutablePlan":{"$ref":"#/components/schemas/ImmutablePlan"},"inProgress":{"type":"boolean"},"jiraIssueKeys":{"type":"array","items":{"type":"string"},"uniqueItems":true},"jiraIssues":{"type":"array","items":{"$ref":"#/components/schemas/LinkedJiraIssue"},"uniqueItems":true},"labelNames":{"type":"array","items":{"type":"string"}},"lifeCycleState":{"type":"string","enum":["Pending","Queued","InProgress","Finished","NotBuilt"]},"logSize":{"type":"integer","format":"int64"},"manuallyOverriddenVariables":{"type":"array","items":{"$ref":"#/components/schemas/VariableSubstitution"}},"markedForDeletion":{"type":"boolean"},"notBuilt":{"type":"boolean"},"notRunYet":{"type":"boolean"},"onceOff":{"type":"boolean"},"pending":{"type":"boolean"},"planIfExists":{"$ref":"#/components/schemas/ImmutablePlan"},"planKey":{"$ref":"#/components/schemas/PlanKey"},"planName":{"type":"string"},"planResultKey":{"$ref":"#/components/schemas/PlanResultKey"},"processingDuration":{"type":"integer","format":"int64"},"processingDurationDescription":{"type":"string"},"queueDuration":{"type":"integer","format":"int64"},"queueTime":{"type":"string","format":"date-time"},"queued":{"type":"boolean"},"reasonSummary":{"type":"string"},"rebuild":{"type":"boolean"},"relatedJiraIssues":{"type":"array","items":{"$ref":"#/components/schemas/LinkedJiraIssue"},"uniqueItems":true},"relativeBuildDate":{"type":"string"},"relativeBuildStartedDate":{"type":"string"},"relativeQueueDate":{"type":"string"},"repositoryChangesets":{"type":"array","items":{"$ref":"#/components/schemas/RepositoryChangeset"}},"restartCount":{"type":"integer","format":"int32"},"resultVariables":{"type":"object"},"shortReasonSummary":{"type":"string"},"statDate":{"type":"string","format":"date-time"},"subscriptions":{"type":"array","items":{"$ref":"#/components/schemas/ConsumedSubscription"}},"substitutedVariables":{"type":"array","items":{"$ref":"#/components/schemas/VariableSubstitution"}},"substitutedVariablesEncrypted":{"type":"array","items":{"$ref":"#/components/schemas/VariableSubstitution"}},"successful":{"type":"boolean"},"testResultsSummary":{"$ref":"#/components/schemas/TestResultsSummary"},"testSummary":{"type":"string"},"timeToFix":{"type":"integer","format":"int64"},"triggerReason":{"$ref":"#/components/schemas/TriggerReason"},"uniqueAuthors":{"type":"array","items":{"$ref":"#/components/schemas/Author"},"uniqueItems":true},"variableContextBaselineId":{"type":"integer","format":"int64"},"variableContextLogs":{"type":"array","items":{"$ref":"#/components/schemas/VariableContextSnapshot"}},"variableContextLogsEncrypted":{"type":"array","items":{"$ref":"#/components/schemas/VariableContextSnapshot"}},"vcsUpdateDuration":{"type":"integer","format":"int64"},"vcsUpdateTime":{"type":"string","format":"date-time"},"waiting":{"type":"boolean"}}},"ChainResultsSummary":{"properties":{"active":{"type":"boolean"},"artifactLinks":{"type":"array","items":{"$ref":"#/components/schemas/ArtifactLink"}},"artifactLinksThatExist":{"type":"array","items":{"$ref":"#/components/schemas/ArtifactLink"}},"buildAgentId":{"type":"integer","format":"int64"},"buildAgentType":{"type":"string","enum":["LOCAL","REMOTE","ELASTIC","EPHEMERAL"]},"buildCancelledDate":{"type":"string","format":"date-time"},"buildCompletedDate":{"type":"string","format":"date-time"},"buildDate":{"type":"string","format":"date-time"},"buildKey":{"type":"string"},"buildNumber":{"type":"integer","format":"int32"},"buildResultKey":{"type":"string"},"buildState":{"type":"string","enum":["Unknown","Successful","Failed"]},"buildTime":{"type":"string"},"changesListSummary":{"type":"string"},"commits":{"type":"array","items":{"$ref":"#/components/schemas/Commit"},"properties":{}},"continuable":{"type":"boolean"},"customBuild":{"type":"boolean"},"customBuildData":{"type":"object"},"deltaState":{"type":"string","enum":["NONE","PASSING","FAILING","BROKEN","FIXED"]},"duration":{"type":"integer","format":"int64"},"durationDescription":{"type":"string"},"failed":{"type":"boolean"},"failedJobResults":{"type":"array","items":{"$ref":"#/components/schemas/BuildResultsSummary"}},"finished":{"type":"boolean"},"fixedInResult":{"type":"integer","format":"int32"},"fixingJiraIssues":{"type":"array","items":{"$ref":"#/components/schemas/LinkedJiraIssue"},"uniqueItems":true},"formatVersion":{"type":"integer","format":"int32"},"fullPlanName":{"type":"string"},"id":{"type":"integer","format":"int64"},"immutableChain":{"$ref":"#/components/schemas/ImmutableChain"},"immutablePlan":{"$ref":"#/components/schemas/ImmutableChain"},"inProgress":{"type":"boolean"},"jiraIssueKeys":{"type":"array","items":{"type":"string"},"uniqueItems":true},"jiraIssues":{"type":"array","items":{"$ref":"#/components/schemas/LinkedJiraIssue"},"uniqueItems":true},"labelNames":{"type":"array","items":{"type":"string"}},"labellings":{"type":"array","items":{"$ref":"#/components/schemas/Labelling"}},"lifeCycleState":{"type":"string","enum":["Pending","Queued","InProgress","Finished","NotBuilt"]},"logSize":{"type":"integer","format":"int64"},"manuallyOverriddenVariables":{"type":"array","items":{"$ref":"#/components/schemas/VariableSubstitution"}},"markedForDeletion":{"type":"boolean"},"mergeResult":{"$ref":"#/components/schemas/MergeResultSummary"},"notBuilt":{"type":"boolean"},"notRunYet":{"type":"boolean"},"onceOff":{"type":"boolean"},"orderedJobResultSummaries":{"type":"array","items":{"$ref":"#/components/schemas/ResultsSummary"}},"pending":{"type":"boolean"},"planIfExists":{"$ref":"#/components/schemas/ImmutableChain"},"planKey":{"$ref":"#/components/schemas/PlanKey"},"planName":{"type":"string"},"planResultKey":{"$ref":"#/components/schemas/PlanResultKey"},"processingDuration":{"type":"integer","format":"int64"},"processingDurationDescription":{"type":"string"},"queueTime":{"type":"string","format":"date-time"},"queued":{"type":"boolean"},"reasonSummary":{"type":"string"},"rebuild":{"type":"boolean"},"relatedJiraIssues":{"type":"array","items":{"$ref":"#/components/schemas/LinkedJiraIssue"},"uniqueItems":true},"relativeBuildDate":{"type":"string"},"relativeBuildStartedDate":{"type":"string"},"relativeQueueDate":{"type":"string"},"repositoryChangesets":{"type":"array","items":{"$ref":"#/components/schemas/RepositoryChangeset"}},"restartCount":{"type":"integer","format":"int32"},"restartable":{"type":"boolean"},"shortReasonSummary":{"type":"string"},"specsResult":{"type":"boolean"},"stageResults":{"type":"array","items":{"$ref":"#/components/schemas/ChainStageResult"}},"statDate":{"type":"string","format":"date-time"},"subscriptions":{"type":"array","items":{"$ref":"#/components/schemas/ConsumedSubscription"}},"substitutedVariables":{"type":"array","items":{"$ref":"#/components/schemas/VariableSubstitution"}},"substitutedVariablesEncrypted":{"type":"array","items":{"$ref":"#/components/schemas/VariableSubstitution"}},"successful":{"type":"boolean"},"testResultsSummary":{"$ref":"#/components/schemas/TestResultsSummary"},"testSummary":{"type":"string"},"timeToFix":{"type":"integer","format":"int64"},"totalJobCount":{"type":"integer","format":"int32"},"triggerReason":{"$ref":"#/components/schemas/TriggerReason"},"uniqueAuthors":{"type":"array","items":{"$ref":"#/components/schemas/Author"},"uniqueItems":true},"variableContextBaselineId":{"type":"integer","format":"int64"},"variableContextLogs":{"type":"array","items":{"$ref":"#/components/schemas/VariableContextSnapshot"}},"variableContextLogsEncrypted":{"type":"array","items":{"$ref":"#/components/schemas/VariableContextSnapshot"}},"waiting":{"type":"boolean"}}},"ChainStageResult":{"properties":{"allJobsExist":{"type":"boolean"},"allNotSuccessfulJobsExist":{"type":"boolean"},"buildResults":{"type":"array","items":{"$ref":"#/components/schemas/BuildResultsSummary"},"uniqueItems":true},"chainResult":{"$ref":"#/components/schemas/ChainResultsSummary"},"completed":{"type":"boolean"},"description":{"type":"string"},"failed":{"type":"boolean"},"failedBuildResults":{"type":"array","items":{"$ref":"#/components/schemas/BuildResultsSummary"}},"final":{"type":"boolean"},"finished":{"type":"boolean"},"id":{"type":"integer","format":"int64"},"lifeCycleState":{"type":"string","enum":["Pending","Queued","InProgress","Finished","NotBuilt"]},"manual":{"type":"boolean"},"manualVariables":{"type":"array","items":{"$ref":"#/components/schemas/StageVariableContext"}},"manualVariablesEncrypted":{"type":"array","items":{"$ref":"#/components/schemas/StageVariableContext"}},"name":{"type":"string"},"notBuilt":{"type":"boolean"},"pending":{"type":"boolean"},"processingDuration":{"type":"integer","format":"int64"},"restartable":{"type":"boolean"},"runnable":{"type":"boolean"},"sortedBuildResults":{"type":"array","items":{"$ref":"#/components/schemas/BuildResultsSummary"}},"state":{"type":"string","enum":["Unknown","Successful","Failed"]},"successful":{"type":"boolean"},"successfulBuildResults":{"type":"array","items":{"$ref":"#/components/schemas/BuildResultsSummary"}}}},"ChainStorageTag":{},"Commit":{"properties":{"author":{"$ref":"#/components/schemas/Author"},"authorContext":{"$ref":"#/components/schemas/AuthorContext"},"changeSetId":{"type":"string"},"comment":{"type":"string"},"date":{"type":"string","format":"date-time"},"files":{"type":"array","items":{"$ref":"#/components/schemas/CommitFile"}},"foreignCommit":{"type":"boolean"},"id":{"type":"integer","format":"int64"},"repositoryChangeset":{"$ref":"#/components/schemas/RepositoryChangeset"}}},"CommitFile":{"properties":{"changesetId":{"type":"string"},"cleanName":{"type":"string"},"name":{"type":"string"},"revision":{"type":"string"},"revisionKnown":{"type":"boolean"}}},"ConsumedSubscription":{"properties":{"artifactLink":{"$ref":"#/components/schemas/ArtifactLink"},"consumerResultSummary":{"$ref":"#/components/schemas/ResultsSummary"},"destinationDirectory":{"type":"string"},"id":{"type":"integer","format":"int64"},"name":{"type":"string"}}},"CreateAccessTokenRequest":{"type":"object","properties":{"daysUntilExpiry":{"type":"integer","format":"int32"},"name":{"type":"string","example":"token name"},"permissions":{"type":"array","items":{"type":"string"}}}},"CreateCommentRequest":{"type":"object","properties":{"content":{"type":"string","example":"first successful build"}},"xml":{"name":"comment"}},"DashboardProjectWithEnvironmentStatus":{"type":"object","properties":{"deploymentProject":{"$ref":"#/components/schemas/RestDeploymentProject"},"environmentStatuses":{"type":"array","items":{"$ref":"#/components/schemas/RestEnvironmentDashboardStatus"}},"futureVersion":{"$ref":"#/components/schemas/RestDeploymentVersion"},"relatedVersion":{"$ref":"#/components/schemas/RestDeploymentVersion"}}},"DataVolume":{"properties":{"containerDirectory":{"type":"string"},"hostDirectory":{"type":"string"}}},"DeploymentKey":{"properties":{"key":{"type":"string"}}},"DeploymentResultKey":{"properties":{"deploymentResultId":{"type":"integer","format":"int64"},"entityKey":{"$ref":"#/components/schemas/Key"},"key":{"type":"string"},"resultNumber":{"type":"integer","format":"int32"},"resultNumberLong":{"type":"integer","format":"int64"}}},"DeploymentVersion":{"properties":{"ageZeroPoint":{"type":"string","format":"date-time"},"creationDate":{"type":"string","format":"date-time"},"creatorDisplayName":{"type":"string"},"creatorUserName":{"type":"string"},"deploymentProjectId":{"type":"integer","format":"int64"},"id":{"type":"integer","format":"int64"},"items":{"type":"array","items":{"$ref":"#/components/schemas/DeploymentVersionItem"}},"name":{"type":"string"},"operations":{"$ref":"#/components/schemas/Operations"},"planBranchName":{"type":"string"},"variableContext":{"type":"array","items":{"$ref":"#/components/schemas/VariableSubstitutionContext"},"properties":{}},"versionStatus":{"$ref":"#/components/schemas/DeploymentVersionStatus"},"versionStatuses":{"type":"array","items":{"$ref":"#/components/schemas/DeploymentVersionStatus"}}}},"DeploymentVersionItem":{"properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"type":{"type":"string","enum":["BAM_ARTIFACT","SOURCE"]}}},"DeploymentVersionStatus":{"properties":{"creationDate":{"type":"string","format":"date-time"},"displayName":{"type":"string"},"id":{"type":"integer","format":"int64"},"sanitizedUserName":{"type":"string"},"userName":{"type":"string"},"versionState":{"type":"string","enum":["Unknown","Approved","Broken","Incomplete"]}}},"DirectoryInformationResponse":{"properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/DirectoryInformationResult"}}}},"DirectoryInformationResult":{"properties":{"artifactPlanRoots":{"type":"array","items":{"type":"string","xml":{"name":"artifact_plan_roots"}},"xml":{"name":"artifact_plan_roots"}},"buildLogJobRoots":{"type":"object","xml":{"name":"build_log_job_roots"}},"isBranchBuild":{"type":"boolean"},"planName":{"type":"string"},"storageTag":{"type":"string"}}},"DockerPipelineConfiguration":{"properties":{"additionalArgs":{"type":"array","items":{"type":"string"}},"dataVolumes":{"type":"array","items":{"$ref":"#/components/schemas/DataVolume"}},"enabled":{"type":"boolean"},"image":{"type":"string"},"valid":{"type":"boolean"}}},"Environment":{"properties":{"configurationState":{"type":"string","enum":["CREATED","DETAILED","TASKED"]},"deploymentProjectId":{"type":"integer","format":"int64"},"description":{"type":"string"},"id":{"type":"integer","format":"int64"},"key":{"$ref":"#/components/schemas/DeploymentKey"},"name":{"type":"string"},"operations":{"$ref":"#/components/schemas/Operations"},"position":{"type":"integer","format":"int32"},"releaseApprovalPrerequisite":{"type":"string","enum":["NONE","NOT_BROKEN","APPROVED"]},"requirementSet":{"$ref":"#/components/schemas/ImmutableRequirementSet"},"requirementSetSupplier":{"type":"object"},"suspended":{"type":"boolean"},"taskDefinitions":{"type":"array","items":{"$ref":"#/components/schemas/TaskDefinition"}},"taskDefinitionsSupplier":{"type":"object"},"triggerDefinitions":{"type":"array","items":{"$ref":"#/components/schemas/TriggerDefinition"}},"triggerDefinitionsSupplier":{"type":"object"}}},"EnvironmentIds":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"integer","format":"int64"}}}},"EphemeralAgentsConfigurationDTO":{"properties":{"enabled":{"type":"boolean"},"label":{"type":"string"},"pathToConfig":{"type":"string"},"podsCleanup":{"$ref":"#/components/schemas/PodsCleanup"},"waitForEphemeralAgentDuration":{"type":"integer","format":"int32"}}},"Expansion":{"type":"object","properties":{"name":{"type":"string"},"root":{"type":"boolean"},"subExpansions":{"type":"array","items":{"$ref":"#/components/schemas/Expansion"}}}},"ExpiryConfig":{"properties":{"buildsToKeep":{"type":"integer","format":"int32"},"duration":{"type":"integer","format":"int32"},"expiryBuildLog":{"type":"boolean"},"expiryTypeArtifact":{"type":"boolean"},"expiryTypeNothing":{"type":"boolean"},"expiryTypeResult":{"type":"boolean"},"labelsList":{"type":"string"},"maximumBuildsToKeep":{"type":"integer","format":"int32"},"period":{"type":"string"}}},"ExtraBuildResultsData":{"properties":{"buildErrors":{"type":"array","items":{"type":"string"}},"buildReturnCode":{"type":"integer","format":"int32"}}},"FilePart":{"type":"object","properties":{"contentType":{"type":"string"},"formField":{"type":"boolean"},"inputStream":{"type":"object"},"name":{"type":"string"},"size":{"type":"integer","format":"int64"},"value":{"type":"string"}}},"FilteredTestResultsTestClassResult":{"properties":{"allFailedTestList":{"type":"array","items":{"$ref":"#/components/schemas/TestCaseResult"}},"allFailedTests":{"$ref":"#/components/schemas/MultimapTestClassResultTestCaseResult"},"existingFailedTests":{"$ref":"#/components/schemas/MultimapTestClassResultTestCaseResult"},"fixedTests":{"$ref":"#/components/schemas/MultimapTestClassResultTestCaseResult"},"newFailedTests":{"$ref":"#/components/schemas/MultimapTestClassResultTestCaseResult"},"quarantinedTests":{"$ref":"#/components/schemas/MultimapTestClassResultTestCaseResult"},"skippedTestList":{"type":"array","items":{"$ref":"#/components/schemas/TestCaseResult"}},"skippedTests":{"$ref":"#/components/schemas/MultimapTestClassResultTestCaseResult"}}},"ImmutableArtifactDefinition":{"properties":{"copyPattern":{"type":"string"},"copyPatterns":{"type":"array","items":{"type":"string"}},"exclusionPatterns":{"type":"array","items":{"type":"string"}},"httpCompressionOn":{"type":"boolean"},"id":{"type":"integer","format":"int64"},"location":{"type":"string"},"name":{"type":"string"},"producerJob":{"$ref":"#/components/schemas/ImmutableJob"},"required":{"type":"boolean"},"sharedArtifact":{"type":"boolean"},"subscriptions":{"type":"array","items":{"$ref":"#/components/schemas/ImmutableArtifactSubscription"}}}},"ImmutableArtifactSubscription":{"properties":{"artifactDefinition":{"$ref":"#/components/schemas/ImmutableArtifactDefinition"},"consumerJob":{"$ref":"#/components/schemas/ImmutableJob"},"destinationDirectory":{"type":"string"},"id":{"type":"integer","format":"int64"},"name":{"type":"string"}}},"ImmutableChain":{"properties":{"active":{"type":"boolean"},"allJobs":{"type":"array","items":{"$ref":"#/components/schemas/ImmutableJob"}},"allStages":{"type":"array","items":{"$ref":"#/components/schemas/ImmutableChainStage"}},"averageBuildDuration":{"type":"integer","format":"int64"},"buildDefinition":{"$ref":"#/components/schemas/BuildDefinition"},"buildKey":{"type":"string"},"buildLogger":{"$ref":"#/components/schemas/BuildLogger"},"buildName":{"type":"string"},"busy":{"type":"boolean"},"creationDate":{"type":"string","format":"date-time"},"currentStatus":{"type":"string"},"databaseId":{"type":"integer","format":"int64"},"description":{"type":"string"},"effectiveVariables":{"type":"array","items":{"$ref":"#/components/schemas/VariableDefinition"}},"entityType":{"type":"string","enum":["CHAIN","STAGE","JOB","REPOSITORY","CHAIN_BRANCH","JOB_BRANCH","TASK","PROJECT","ARTIFACT_DEFINITION","DEPLOYMENT_PROJECT","SHARED_CREDENTIAL"]},"executing":{"type":"boolean"},"firstBuildNumber":{"type":"integer","format":"int32"},"id":{"type":"integer","format":"int64"},"jobCount":{"type":"integer","format":"int32"},"key":{"type":"string"},"labelNames":{"type":"array","items":{"type":"string"}},"lastBuildNumber":{"type":"integer","format":"int32"},"lastResultKey":{"$ref":"#/components/schemas/PlanResultKey"},"latestResultsSummary":{"$ref":"#/components/schemas/ImmutableResultsSummary"},"markedForDeletion":{"type":"boolean"},"master":{"$ref":"#/components/schemas/ImmutableChain"},"masterId":{"type":"integer","format":"int64"},"masterIdIfExists":{"type":"integer","format":"int64"},"name":{"type":"string"},"notificationSet":{"$ref":"#/components/schemas/NotificationSet"},"oid":{"$ref":"#/components/schemas/BambooEntityOid"},"planKey":{"$ref":"#/components/schemas/PlanKey"},"planRepositoryDefinitions":{"type":"array","items":{"$ref":"#/components/schemas/PlanRepositoryDefinition"}},"planType":{"type":"string","enum":["CHAIN","JOB","CHAIN_BRANCH"]},"project":{"$ref":"#/components/schemas/Project"},"stages":{"type":"array","items":{"$ref":"#/components/schemas/ImmutableChainStage"}},"storageTag":{"$ref":"#/components/schemas/ChainStorageTag"},"suspended":{"type":"boolean"},"suspendedFromBuilding":{"type":"boolean"},"triggerDefinitions":{"type":"array","items":{"$ref":"#/components/schemas/TriggerDefinition"}},"type":{"type":"string"},"variables":{"type":"array","items":{"$ref":"#/components/schemas/VariableDefinition"}},"vcsBambooSpecsSource":{"$ref":"#/components/schemas/ImmutableVcsBambooSpecsSource"},"version":{"type":"integer","format":"int64"}}},"ImmutableChainStage":{"properties":{"chain":{"$ref":"#/components/schemas/ImmutableChain"},"databaseId":{"type":"integer","format":"int64"},"description":{"type":"string"},"entityType":{"type":"string","enum":["CHAIN","STAGE","JOB","REPOSITORY","CHAIN_BRANCH","JOB_BRANCH","TASK","PROJECT","ARTIFACT_DEFINITION","DEPLOYMENT_PROJECT","SHARED_CREDENTIAL"]},"final":{"type":"boolean"},"id":{"type":"integer","format":"int64"},"jobs":{"type":"array","items":{"$ref":"#/components/schemas/ImmutableJob"},"uniqueItems":true},"manual":{"type":"boolean"},"markedForDeletion":{"type":"boolean"},"master":{"$ref":"#/components/schemas/ImmutableChainStage"},"name":{"type":"string"},"oid":{"$ref":"#/components/schemas/BambooEntityOid"}}},"ImmutableJob":{"properties":{"active":{"type":"boolean"},"artifactDefinitions":{"type":"array","items":{"$ref":"#/components/schemas/ImmutableArtifactDefinition"}},"artifactSubscriptions":{"type":"array","items":{"$ref":"#/components/schemas/ImmutableArtifactSubscription"}},"averageBuildDuration":{"type":"integer","format":"int64"},"buildDefinition":{"$ref":"#/components/schemas/BuildDefinition"},"buildKey":{"type":"string"},"buildLogger":{"$ref":"#/components/schemas/BuildLogger"},"buildName":{"type":"string"},"busy":{"type":"boolean"},"currentStatus":{"type":"string"},"databaseId":{"type":"integer","format":"int64"},"description":{"type":"string"},"divergent":{"type":"boolean"},"effectiveRequirementSet":{"$ref":"#/components/schemas/RequirementSet"},"effectiveVariables":{"type":"array","items":{"$ref":"#/components/schemas/VariableDefinition"}},"entityType":{"type":"string","enum":["CHAIN","STAGE","JOB","REPOSITORY","CHAIN_BRANCH","JOB_BRANCH","TASK","PROJECT","ARTIFACT_DEFINITION","DEPLOYMENT_PROJECT","SHARED_CREDENTIAL"]},"executing":{"type":"boolean"},"firstBuildNumber":{"type":"integer","format":"int32"},"id":{"type":"integer","format":"int64"},"key":{"type":"string"},"labelNames":{"type":"array","items":{"type":"string"}},"lastBuildNumber":{"type":"integer","format":"int32"},"latestResultsSummary":{"$ref":"#/components/schemas/ImmutableResultsSummary"},"markedForDeletion":{"type":"boolean"},"master":{"$ref":"#/components/schemas/ImmutableJob"},"masterId":{"type":"integer","format":"int64"},"masterIdIfExists":{"type":"integer","format":"int64"},"name":{"type":"string"},"oid":{"$ref":"#/components/schemas/BambooEntityOid"},"parent":{"$ref":"#/components/schemas/ImmutableChain"},"planKey":{"$ref":"#/components/schemas/PlanKey"},"planType":{"type":"string","enum":["CHAIN","JOB","CHAIN_BRANCH"]},"project":{"$ref":"#/components/schemas/Project"},"requirementSet":{"$ref":"#/components/schemas/RequirementSet"},"stage":{"$ref":"#/components/schemas/ImmutableChainStage"},"suspendedFromBuilding":{"type":"boolean"},"taskDefinitions":{"type":"array","items":{"$ref":"#/components/schemas/TaskDefinition"}},"type":{"type":"string"},"variables":{"type":"array","items":{"$ref":"#/components/schemas/VariableDefinition"}},"version":{"type":"integer","format":"int64"}}},"ImmutableListCommit":{"properties":{}},"ImmutableListVariableSubstitutionContext":{"properties":{}},"ImmutableMapStringString":{"properties":{}},"ImmutablePlan":{"properties":{"active":{"type":"boolean"},"averageBuildDuration":{"type":"integer","format":"int64"},"buildDefinition":{"$ref":"#/components/schemas/BuildDefinition"},"buildKey":{"type":"string"},"buildLogger":{"$ref":"#/components/schemas/BuildLogger"},"buildName":{"type":"string"},"busy":{"type":"boolean"},"currentStatus":{"type":"string"},"databaseId":{"type":"integer","format":"int64"},"description":{"type":"string"},"effectiveVariables":{"type":"array","items":{"$ref":"#/components/schemas/VariableDefinition"}},"entityType":{"type":"string","enum":["CHAIN","STAGE","JOB","REPOSITORY","CHAIN_BRANCH","JOB_BRANCH","TASK","PROJECT","ARTIFACT_DEFINITION","DEPLOYMENT_PROJECT","SHARED_CREDENTIAL"]},"executing":{"type":"boolean"},"firstBuildNumber":{"type":"integer","format":"int32"},"id":{"type":"integer","format":"int64"},"key":{"type":"string"},"labelNames":{"type":"array","items":{"type":"string"}},"lastBuildNumber":{"type":"integer","format":"int32"},"latestResultsSummary":{"$ref":"#/components/schemas/ImmutableResultsSummary"},"markedForDeletion":{"type":"boolean"},"master":{"$ref":"#/components/schemas/ImmutablePlan"},"masterId":{"type":"integer","format":"int64"},"masterIdIfExists":{"type":"integer","format":"int64"},"name":{"type":"string"},"oid":{"$ref":"#/components/schemas/BambooEntityOid"},"planKey":{"$ref":"#/components/schemas/PlanKey"},"planType":{"type":"string","enum":["CHAIN","JOB","CHAIN_BRANCH"]},"project":{"$ref":"#/components/schemas/Project"},"suspendedFromBuilding":{"type":"boolean"},"type":{"type":"string"},"variables":{"type":"array","items":{"$ref":"#/components/schemas/VariableDefinition"}},"version":{"type":"integer","format":"int64"}}},"ImmutableRequirement":{"properties":{"id":{"type":"integer","format":"int64"},"key":{"type":"string"},"matchValue":{"type":"string"},"ownerId":{"type":"integer","format":"int64"},"pluginModuleKey":{"type":"string"},"readonly":{"type":"boolean"},"regexMatch":{"type":"boolean"},"typeOfMatch":{"type":"string","enum":["EXISTS","EQUALS","MATCHES"]}}},"ImmutableRequirementSet":{"properties":{"requirements":{"type":"array","items":{"$ref":"#/components/schemas/ImmutableRequirement"},"uniqueItems":true}}},"ImmutableResultsSummary":{"properties":{"active":{"type":"boolean"},"artifactLinks":{"type":"array","items":{"$ref":"#/components/schemas/ArtifactLink"}},"artifactLinksThatExist":{"type":"array","items":{"$ref":"#/components/schemas/ArtifactLink"}},"buildAgentId":{"type":"integer","format":"int64"},"buildAgentType":{"type":"string","enum":["LOCAL","REMOTE","ELASTIC","EPHEMERAL"]},"buildCancelledDate":{"type":"string","format":"date-time"},"buildCompletedDate":{"type":"string","format":"date-time"},"buildDate":{"type":"string","format":"date-time"},"buildNumber":{"type":"integer","format":"int32"},"buildState":{"type":"string","enum":["Unknown","Successful","Failed"]},"buildTime":{"type":"string"},"changesListSummary":{"type":"string"},"commits":{"type":"array","items":{"$ref":"#/components/schemas/Commit"},"properties":{}},"customBuild":{"type":"boolean"},"customBuildData":{"type":"object"},"deltaState":{"type":"string","enum":["NONE","PASSING","FAILING","BROKEN","FIXED"]},"duration":{"type":"integer","format":"int64"},"durationDescription":{"type":"string"},"failed":{"type":"boolean"},"finished":{"type":"boolean"},"fixingJiraIssues":{"type":"array","items":{"$ref":"#/components/schemas/LinkedJiraIssue"},"uniqueItems":true},"fullPlanName":{"type":"string"},"id":{"type":"integer","format":"int64"},"immutableChain":{"$ref":"#/components/schemas/ImmutableChain"},"immutablePlan":{"$ref":"#/components/schemas/ImmutablePlan"},"inProgress":{"type":"boolean"},"jiraIssueKeys":{"type":"array","items":{"type":"string"},"uniqueItems":true},"jiraIssues":{"type":"array","items":{"$ref":"#/components/schemas/LinkedJiraIssue"},"uniqueItems":true},"labelNames":{"type":"array","items":{"type":"string"}},"labellings":{"type":"array","items":{"$ref":"#/components/schemas/Labelling"}},"lifeCycleState":{"type":"string","enum":["Pending","Queued","InProgress","Finished","NotBuilt"]},"logSize":{"type":"integer","format":"int64"},"manuallyOverriddenVariables":{"type":"array","items":{"$ref":"#/components/schemas/VariableSubstitution"}},"notBuilt":{"type":"boolean"},"notRunYet":{"type":"boolean"},"onceOff":{"type":"boolean"},"pending":{"type":"boolean"},"planIfExists":{"$ref":"#/components/schemas/ImmutablePlan"},"planKey":{"$ref":"#/components/schemas/PlanKey"},"planName":{"type":"string"},"planResultKey":{"$ref":"#/components/schemas/PlanResultKey"},"processingDuration":{"type":"integer","format":"int64"},"processingDurationDescription":{"type":"string"},"queueTime":{"type":"string","format":"date-time"},"queued":{"type":"boolean"},"reasonSummary":{"type":"string"},"rebuild":{"type":"boolean"},"relatedJiraIssues":{"type":"array","items":{"$ref":"#/components/schemas/LinkedJiraIssue"},"uniqueItems":true},"relativeBuildDate":{"type":"string"},"relativeBuildStartedDate":{"type":"string"},"relativeQueueDate":{"type":"string"},"repositoryChangesets":{"type":"array","items":{"$ref":"#/components/schemas/RepositoryChangeset"}},"restartCount":{"type":"integer","format":"int32"},"shortReasonSummary":{"type":"string"},"statDate":{"type":"string","format":"date-time"},"subscriptions":{"type":"array","items":{"$ref":"#/components/schemas/ConsumedSubscription"}},"substitutedVariables":{"type":"array","items":{"$ref":"#/components/schemas/VariableSubstitution"}},"successful":{"type":"boolean"},"testResultsSummary":{"$ref":"#/components/schemas/TestResultsSummary"},"testSummary":{"type":"string"},"timeToFix":{"type":"integer","format":"int64"},"triggerReason":{"$ref":"#/components/schemas/TriggerReason"},"uniqueAuthors":{"type":"array","items":{"$ref":"#/components/schemas/Author"},"uniqueItems":true},"variableContextLogs":{"type":"array","items":{"$ref":"#/components/schemas/VariableContextSnapshot"}},"waiting":{"type":"boolean"}}},"ImmutableVcsBambooSpecsSource":{"properties":{"id":{"type":"integer","format":"int64"},"sourceLocation":{"type":"string"},"vcsLocationBambooSpecsState":{"$ref":"#/components/schemas/ImmutableVcsLocationBambooSpecsState"},"yamlConfiguration":{"type":"boolean"}}},"ImmutableVcsLocationBambooSpecsState":{"properties":{"branch":{"type":"string"},"id":{"type":"integer","format":"int64"},"logFilename":{"type":"string"},"revision":{"type":"string"},"specImportState":{"type":"string","enum":["SUCCESS","ERROR"]},"specsExecutionDate":{"type":"string","format":"date-time"},"specsNotFound":{"type":"boolean"},"vcsLocationId":{"type":"integer","format":"int64"}}},"JiraAssignee":{"properties":{"displayName":{"type":"string"},"name":{"type":"string"}}},"JiraIssueDetails":{"properties":{"assignee":{"$ref":"#/components/schemas/JiraAssignee"},"displayUrl":{"type":"string","format":"url"},"fixVersions":{"type":"array","items":{"type":"string"}},"issueKey":{"type":"string"},"status":{"$ref":"#/components/schemas/JiraStatus"},"summary":{"type":"string"},"type":{"$ref":"#/components/schemas/JiraType"}}},"JiraStatus":{"properties":{"statusDescription":{"type":"string"},"statusIconUrl":{"type":"string"}}},"JiraType":{"properties":{"typeDescription":{"type":"string"},"typeIconUrl":{"type":"string"}}},"JsonArray":{"properties":{"asBigDecimal":{"type":"number"},"asBigInteger":{"type":"integer"},"asBoolean":{"type":"boolean"},"asByte":{"type":"string","format":"byte"},"asCharacter":{"type":"string"},"asDouble":{"type":"number","format":"double"},"asFloat":{"type":"number","format":"float"},"asInt":{"type":"integer","format":"int32"},"asJsonArray":{"$ref":"#/components/schemas/JsonArray"},"asJsonNull":{"$ref":"#/components/schemas/JsonNull"},"asJsonObject":{"$ref":"#/components/schemas/JsonObject"},"asJsonPrimitive":{"$ref":"#/components/schemas/JsonPrimitive"},"asLong":{"type":"integer","format":"int64"},"asNumber":{"type":"number"},"asShort":{"type":"integer","format":"int32"},"asString":{"type":"string"},"jsonArray":{"type":"boolean"},"jsonNull":{"type":"boolean"},"jsonObject":{"type":"boolean"},"jsonPrimitive":{"type":"boolean"}}},"JsonElement":{"properties":{"asBigDecimal":{"type":"number"},"asBigInteger":{"type":"integer"},"asBoolean":{"type":"boolean"},"asByte":{"type":"string","format":"byte"},"asCharacter":{"type":"string"},"asDouble":{"type":"number","format":"double"},"asFloat":{"type":"number","format":"float"},"asInt":{"type":"integer","format":"int32"},"asJsonArray":{"$ref":"#/components/schemas/JsonArray"},"asJsonNull":{"$ref":"#/components/schemas/JsonNull"},"asJsonObject":{"$ref":"#/components/schemas/JsonObject"},"asJsonPrimitive":{"$ref":"#/components/schemas/JsonPrimitive"},"asLong":{"type":"integer","format":"int64"},"asNumber":{"type":"number"},"asShort":{"type":"integer","format":"int32"},"asString":{"type":"string"},"jsonArray":{"type":"boolean"},"jsonNull":{"type":"boolean"},"jsonObject":{"type":"boolean"},"jsonPrimitive":{"type":"boolean"}}},"JsonNull":{"properties":{"asBigDecimal":{"type":"number"},"asBigInteger":{"type":"integer"},"asBoolean":{"type":"boolean"},"asByte":{"type":"string","format":"byte"},"asCharacter":{"type":"string"},"asDouble":{"type":"number","format":"double"},"asFloat":{"type":"number","format":"float"},"asInt":{"type":"integer","format":"int32"},"asJsonArray":{"$ref":"#/components/schemas/JsonArray"},"asJsonNull":{"$ref":"#/components/schemas/JsonNull"},"asJsonObject":{"$ref":"#/components/schemas/JsonObject"},"asJsonPrimitive":{"$ref":"#/components/schemas/JsonPrimitive"},"asLong":{"type":"integer","format":"int64"},"asNumber":{"type":"number"},"asShort":{"type":"integer","format":"int32"},"asString":{"type":"string"},"jsonArray":{"type":"boolean"},"jsonNull":{"type":"boolean"},"jsonObject":{"type":"boolean"},"jsonPrimitive":{"type":"boolean"}}},"JsonObject":{"properties":{"asBigDecimal":{"type":"number"},"asBigInteger":{"type":"integer"},"asBoolean":{"type":"boolean"},"asByte":{"type":"string","format":"byte"},"asCharacter":{"type":"string"},"asDouble":{"type":"number","format":"double"},"asFloat":{"type":"number","format":"float"},"asInt":{"type":"integer","format":"int32"},"asJsonArray":{"$ref":"#/components/schemas/JsonArray"},"asJsonNull":{"$ref":"#/components/schemas/JsonNull"},"asJsonObject":{"$ref":"#/components/schemas/JsonObject"},"asJsonPrimitive":{"$ref":"#/components/schemas/JsonPrimitive"},"asLong":{"type":"integer","format":"int64"},"asNumber":{"type":"number"},"asShort":{"type":"integer","format":"int32"},"asString":{"type":"string"},"jsonArray":{"type":"boolean"},"jsonNull":{"type":"boolean"},"jsonObject":{"type":"boolean"},"jsonPrimitive":{"type":"boolean"}}},"JsonPrimitive":{"properties":{"asBigDecimal":{"type":"number"},"asBigInteger":{"type":"integer"},"asBoolean":{"type":"boolean"},"asByte":{"type":"string","format":"byte"},"asCharacter":{"type":"string"},"asDouble":{"type":"number","format":"double"},"asFloat":{"type":"number","format":"float"},"asInt":{"type":"integer","format":"int32"},"asJsonArray":{"$ref":"#/components/schemas/JsonArray"},"asJsonNull":{"$ref":"#/components/schemas/JsonNull"},"asJsonObject":{"$ref":"#/components/schemas/JsonObject"},"asJsonPrimitive":{"$ref":"#/components/schemas/JsonPrimitive"},"asLong":{"type":"integer","format":"int64"},"asNumber":{"type":"number"},"asShort":{"type":"integer","format":"int32"},"asString":{"type":"string"},"boolean":{"type":"boolean"},"jsonArray":{"type":"boolean"},"jsonNull":{"type":"boolean"},"jsonObject":{"type":"boolean"},"jsonPrimitive":{"type":"boolean"},"number":{"type":"boolean"},"string":{"type":"boolean"}}},"JsonSearchResultsList":{"properties":{"json":{"$ref":"#/components/schemas/JsonElement"},"maxResult":{"type":"integer","format":"int32"},"searchResults":{"type":"array","items":{"$ref":"#/components/schemas/JsonElement"}},"size":{"type":"integer","format":"int32"},"startIndex":{"type":"integer","format":"int32"}}},"Key":{"properties":{"key":{"type":"string"}}},"Label":{"properties":{"creationDate":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"lastModificationDate":{"type":"string","format":"date-time"},"name":{"type":"string"},"namespace":{"type":"string"}}},"Labelling":{"properties":{"buildResultsSummary":{"$ref":"#/components/schemas/ResultsSummary"},"creationDate":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"label":{"$ref":"#/components/schemas/Label"},"lastModificationDate":{"type":"string","format":"date-time"},"plan":{"$ref":"#/components/schemas/Plan"},"project":{"$ref":"#/components/schemas/Project"},"root":{"$ref":"#/components/schemas/Plan"},"userName":{"type":"string"}}},"Link":{"properties":{"href":{"type":"string","format":"uri","xml":{"attribute":true}},"rel":{"type":"string","xml":{"attribute":true}}}},"LinkedJiraIssue":{"properties":{"id":{"type":"integer","format":"int64"},"issueKey":{"type":"string"},"issueType":{"type":"string","enum":["BUILD_RELATES","BUILD_FIXES","BUILD_CAUSES"]},"jiraIssueDetails":{"$ref":"#/components/schemas/JiraIssueDetails"},"resultsSummary":{"$ref":"#/components/schemas/ResultsSummary"}}},"ListWrapperCallbackRestArtifactDefinition":{},"ListWrapperCallbackRestBranch":{},"ListWrapperCallbackRestBuildArtifact":{},"ListWrapperCallbackRestBuildLabel":{},"ListWrapperCallbackRestCapability":{},"ListWrapperCallbackRestChange":{},"ListWrapperCallbackRestChangeFile":{},"ListWrapperCallbackRestComment":{},"ListWrapperCallbackRestEnvironment":{},"ListWrapperCallbackRestGlobalVariable":{},"ListWrapperCallbackRestJiraIssue":{},"ListWrapperCallbackRestJob":{},"ListWrapperCallbackRestPlan":{},"ListWrapperCallbackRestPlanAction":{},"ListWrapperCallbackRestPlanBranch":{},"ListWrapperCallbackRestPlanLabel":{"type":"object"},"ListWrapperCallbackRestProject":{},"ListWrapperCallbackRestQueuedBuild":{},"ListWrapperCallbackRestQueuedDeployment":{},"ListWrapperCallbackRestReport":{},"ListWrapperCallbackRestRepository":{},"ListWrapperCallbackRestResource":{},"ListWrapperCallbackRestStage":{},"ListWrapperCallbackRestStageResult":{},"ListWrapperCallbackRestVariable":{},"ListWrapperCallbackRestVariableDefinitionContext":{},"ListWrapperCallbackResult":{},"LogInterceptorStack":{},"LogMutatorStack":{},"ManualEncryptionRequest":{"type":"object","properties":{"text":{"type":"string","example":"Password123"}}},"ManualEncryptionResponse":{"properties":{"encryptedText":{"type":"string","example":"BAMSCRT@0@0@6WC1Z7Vl7tYo+w6Kx4Oasw=="}}},"MergeResultSummary":{"properties":{"branchName":{"type":"string"},"branchTargetVcsKey":{"type":"string"},"emptyMerge":{"type":"boolean"},"failureReason":{"type":"string"},"id":{"type":"integer","format":"int64"},"integrationBranchVcsKey":{"type":"string"},"integrationRepositoryBranchName":{"type":"string"},"integrationRepositoryId":{"type":"integer","format":"int64"},"integrationStrategy":{"type":"string","enum":["BRANCH_UPDATER","GATE_KEEPER"]},"mergeResultVcsKey":{"type":"string"},"mergeState":{"type":"string","enum":["NOT_ATTEMPTED","TO_BE_ATTEMPTED","IN_PROGRESS","SUCCESS","FAILED","NOT_REQUIRED"]},"pushState":{"type":"string","enum":["NOT_ATTEMPTED","TO_BE_ATTEMPTED","IN_PROGRESS","SUCCESS","FAILED","NOT_REQUIRED"]}}},"MultimapTestClassResultTestCaseResult":{"properties":{}},"MutableArtifact":{"properties":{"archiverType":{"type":"string","enum":["NONE","ZIP"]},"globallyStored":{"type":"boolean"},"id":{"type":"integer","format":"int64"},"label":{"type":"string"},"linkType":{"type":"string"},"planResultKey":{"$ref":"#/components/schemas/PlanResultKey"},"sharedArtifact":{"type":"boolean"},"size":{"type":"integer","format":"int64"}}},"NextBuildNumber":{"properties":{"nextBuildNumber":{"type":"integer","format":"int32"}}},"NodeLifecycleState":{"properties":{"PAUSED":{"type":"string","enum":["SETUP","STARTING","RUNNING","RUNNING_AS_SECONDARY","PAUSING","PAUSED","PREPARING_FOR_RESTART","READY_FOR_RESTART"]},"PAUSING":{"type":"string","enum":["SETUP","STARTING","RUNNING","RUNNING_AS_SECONDARY","PAUSING","PAUSED","PREPARING_FOR_RESTART","READY_FOR_RESTART"]},"PREPARING_FOR_RESTART":{"type":"string","enum":["SETUP","STARTING","RUNNING","RUNNING_AS_SECONDARY","PAUSING","PAUSED","PREPARING_FOR_RESTART","READY_FOR_RESTART"]},"READY_FOR_RESTART":{"type":"string","enum":["SETUP","STARTING","RUNNING","RUNNING_AS_SECONDARY","PAUSING","PAUSED","PREPARING_FOR_RESTART","READY_FOR_RESTART"]},"RUNNING":{"type":"string","enum":["SETUP","STARTING","RUNNING","RUNNING_AS_SECONDARY","PAUSING","PAUSED","PREPARING_FOR_RESTART","READY_FOR_RESTART"]},"RUNNING_AS_SECONDARY":{"type":"string","enum":["SETUP","STARTING","RUNNING","RUNNING_AS_SECONDARY","PAUSING","PAUSED","PREPARING_FOR_RESTART","READY_FOR_RESTART"]},"SETUP":{"type":"string","enum":["SETUP","STARTING","RUNNING","RUNNING_AS_SECONDARY","PAUSING","PAUSED","PREPARING_FOR_RESTART","READY_FOR_RESTART"]},"STARTING":{"type":"string","enum":["SETUP","STARTING","RUNNING","RUNNING_AS_SECONDARY","PAUSING","PAUSED","PREPARING_FOR_RESTART","READY_FOR_RESTART"]},"correspondingClusterState":{"type":"string","enum":["STARTING","RUNNING","PAUSING","PAUSED","UNKNOWN"]}}},"NotificationManager":{"properties":{"allNotificationRecipients":{"type":"array","items":{"$ref":"#/components/schemas/NotificationRecipient"}},"allNotificationTypes":{"type":"array","items":{"$ref":"#/components/schemas/NotificationType"}},"chainNotificationTypes":{"type":"array","items":{"$ref":"#/components/schemas/NotificationType"}},"deploymentNotificationTypes":{"type":"array","items":{"$ref":"#/components/schemas/NotificationType"}},"planNotificationTypes":{"type":"array","items":{"$ref":"#/components/schemas/NotificationType"}},"systemNotificationTypes":{"type":"array","items":{"$ref":"#/components/schemas/NotificationType"}}}},"NotificationRecipient":{"properties":{"description":{"type":"string"},"editHtml":{"type":"string"},"key":{"type":"string"},"moduleDescriptor":{"$ref":"#/components/schemas/WeightedDescriptor"},"recipientConfig":{"type":"string"},"scopes":{"type":"array","items":{"type":"string","enum":["CHAIN","SYSTEM","DEPLOYMENT"]},"uniqueItems":true},"transports":{"type":"array","items":{"$ref":"#/components/schemas/NotificationTransport"}},"viewHtml":{"type":"string"}}},"NotificationRule":{"properties":{"conditionData":{"type":"string"},"conditionKey":{"type":"string"},"id":{"type":"integer","format":"int64"},"notificationManager":{"$ref":"#/components/schemas/NotificationManager"},"notificationSet":{"$ref":"#/components/schemas/NotificationSet"},"recipient":{"type":"string"},"recipientType":{"type":"string"}}},"NotificationSet":{"properties":{"id":{"type":"integer","format":"int64"},"notificationRules":{"type":"array","items":{"$ref":"#/components/schemas/NotificationRule"},"uniqueItems":true},"notificationSetType":{"type":"string","enum":["PLAN","SYSTEM"]},"sortedNotificationRules":{"type":"array","items":{"$ref":"#/components/schemas/NotificationRule"}}}},"NotificationTransport":{},"NotificationType":{"properties":{"configurationData":{"type":"string"},"description":{"type":"string"},"editHtml":{"type":"string"},"key":{"type":"string"},"moduleDescriptor":{"$ref":"#/components/schemas/WeightedDescriptor"},"name":{"type":"string"},"scope":{"type":"string","enum":["PLAN","CHAIN","SYSTEM","DEPLOYMENT"]},"viewHtml":{"type":"string"}}},"Operations":{"properties":{"allowedToCreateVersion":{"type":"boolean"},"allowedToExecute":{"type":"boolean"},"allowedToSetVersionStatus":{"type":"boolean"},"canDelete":{"type":"boolean"},"canEdit":{"type":"boolean"},"canExecute":{"type":"boolean"},"canView":{"type":"boolean"},"canViewConfiguration":{"type":"boolean"},"cantExecuteReason":{"type":"string"}}},"PipelineDefinition":{"properties":{"creationDate":{"type":"string","format":"date-time"},"dedicated":{"type":"boolean"},"description":{"type":"string"},"enabled":{"type":"boolean"},"ephemeralAgentDedication":{"$ref":"#/components/schemas/ResultKey"},"ephemeralAgentDedicationUntyped":{"type":"string"},"id":{"type":"integer","format":"int64"},"lastModificationDate":{"type":"string","format":"date-time"},"name":{"type":"string"},"type":{"type":"string","enum":["LOCAL","REMOTE","ELASTIC","EPHEMERAL"]}}},"Plan":{"properties":{"active":{"type":"boolean"},"averageBuildDuration":{"type":"integer","format":"int64"},"buildDefinition":{"$ref":"#/components/schemas/BuildDefinition"},"buildDefinitionXml":{"$ref":"#/components/schemas/BuildDefinitionForBuild"},"buildKey":{"type":"string"},"buildLogger":{"$ref":"#/components/schemas/BuildLogger"},"buildName":{"type":"string"},"busy":{"type":"boolean"},"currentStatus":{"type":"string"},"databaseId":{"type":"integer","format":"int64"},"description":{"type":"string"},"effectiveVariables":{"type":"array","items":{"$ref":"#/components/schemas/VariableDefinition"}},"entityType":{"type":"string","enum":["CHAIN","STAGE","JOB","REPOSITORY","CHAIN_BRANCH","JOB_BRANCH","TASK","PROJECT","ARTIFACT_DEFINITION","DEPLOYMENT_PROJECT","SHARED_CREDENTIAL"]},"executing":{"type":"boolean"},"firstBuildNumber":{"type":"integer","format":"int32"},"id":{"type":"integer","format":"int64"},"key":{"type":"string"},"labelNames":{"type":"array","items":{"type":"string"}},"labellings":{"type":"array","items":{"$ref":"#/components/schemas/Labelling"}},"lastBuildNumber":{"type":"integer","format":"int32"},"latestResultsSummary":{"$ref":"#/components/schemas/ResultsSummary"},"markedForDeletion":{"type":"boolean"},"master":{"$ref":"#/components/schemas/ImmutablePlan"},"masterId":{"type":"integer","format":"int64"},"masterIdIfExists":{"type":"integer","format":"int64"},"name":{"type":"string"},"oid":{"$ref":"#/components/schemas/BambooEntityOid"},"planKey":{"$ref":"#/components/schemas/PlanKey"},"planType":{"type":"string","enum":["CHAIN","JOB","CHAIN_BRANCH"]},"project":{"$ref":"#/components/schemas/Project"},"suspendedFromBuilding":{"type":"boolean"},"type":{"type":"string"},"variables":{"type":"array","items":{"$ref":"#/components/schemas/VariableDefinition"}},"version":{"type":"integer","format":"int64"}}},"PlanKey":{"properties":{"key":{"type":"string"},"partialKey":{"type":"string"}}},"PlanRepositoryDefinition":{"properties":{"bambooSpecsDetectionOptions":{"$ref":"#/components/schemas/VcsBambooSpecsDetectionOptions"},"branch":{"$ref":"#/components/schemas/VcsBranchDefinition"},"description":{"type":"string"},"entityType":{"type":"string","enum":["CHAIN","STAGE","JOB","REPOSITORY","CHAIN_BRANCH","JOB_BRANCH","TASK","PROJECT","ARTIFACT_DEFINITION","DEPLOYMENT_PROJECT","SHARED_CREDENTIAL"]},"id":{"type":"integer","format":"int64"},"legacyRepository":{"type":"boolean"},"linked":{"type":"boolean"},"markedForDeletion":{"type":"boolean"},"name":{"type":"string"},"oid":{"$ref":"#/components/schemas/BambooEntityOid"},"parentId":{"type":"integer","format":"int64"},"parentOid":{"$ref":"#/components/schemas/BambooEntityOid"},"pluginKey":{"type":"string"},"position":{"type":"integer","format":"int32"},"projectId":{"type":"integer","format":"int64"},"rootVcsLinked":{"type":"boolean"},"rootVcsProject":{"type":"boolean"},"rootVcsRepositoryId":{"type":"integer","format":"int64"},"rootVcsShared":{"type":"boolean"},"shared":{"type":"boolean"},"vcsBranchDetectionOptions":{"$ref":"#/components/schemas/VcsBranchDetectionOptions"},"vcsChangeDetectionOptions":{"$ref":"#/components/schemas/VcsChangeDetectionOptions"},"vcsLocation":{"$ref":"#/components/schemas/VcsLocationDefinition"},"version":{"type":"integer","format":"int64"},"viewerConfiguration":{"$ref":"#/components/schemas/VcsRepositoryViewerDefinition"}}},"PlanResultKey":{"properties":{"buildNumber":{"type":"integer","format":"int32"},"entityKey":{"$ref":"#/components/schemas/Key"},"key":{"type":"string"},"planKey":{"$ref":"#/components/schemas/PlanKey"},"resultNumber":{"type":"integer","format":"int32"},"resultNumberLong":{"type":"integer","format":"int64"}}},"PlanWithCustomExpirySettings":{"properties":{"configLink":{"$ref":"#/components/schemas/Link"},"expiryConfig":{"$ref":"#/components/schemas/ExpiryConfig"},"planKey":{"type":"string"},"planName":{"type":"string"},"self":{"type":"string","readOnly":true}}},"PodsCleanup":{"properties":{"delay":{"type":"integer","format":"int32"},"enabled":{"type":"boolean"}}},"Project":{"properties":{"description":{"type":"string"},"entityType":{"type":"string","enum":["CHAIN","STAGE","JOB","REPOSITORY","CHAIN_BRANCH","JOB_BRANCH","TASK","PROJECT","ARTIFACT_DEFINITION","DEPLOYMENT_PROJECT","SHARED_CREDENTIAL"]},"id":{"type":"integer","format":"int64"},"key":{"type":"string"},"labellings":{"type":"array","items":{"$ref":"#/components/schemas/Labelling"}},"markedForDeletion":{"type":"boolean"},"name":{"type":"string"},"oid":{"$ref":"#/components/schemas/BambooEntityOid"},"relatedLabellings":{"type":"array","items":{"$ref":"#/components/schemas/Labelling"}},"vcsBambooSpecsSource":{"$ref":"#/components/schemas/VcsBambooSpecsSource"}}},"QuarantineStatistics":{"properties":{"quarantineDate":{"type":"string","format":"date-time"},"quarantineExpiryDate":{"type":"string","format":"date-time"},"quarantiningUsername":{"type":"string"}}},"ReindexBean":{"properties":{"reindexInProgress":{"type":"boolean"},"reindexPending":{"type":"boolean"}}},"RepositoryChangeset":{"properties":{"buildTrigger":{"type":"boolean"},"changesetId":{"type":"string"},"commits":{"type":"array","items":{"$ref":"#/components/schemas/Commit"},"uniqueItems":true},"id":{"type":"integer","format":"int64"},"position":{"type":"integer","format":"int32"},"repositoryData":{"$ref":"#/components/schemas/RepositoryDataEntity"},"resultsSummary":{"$ref":"#/components/schemas/ResultsSummary"},"skippedCommitsCount":{"type":"integer","format":"int64"}}},"RepositoryDataEntity":{"properties":{"description":{"type":"string"},"entityType":{"type":"string","enum":["CHAIN","STAGE","JOB","REPOSITORY","CHAIN_BRANCH","JOB_BRANCH","TASK","PROJECT","ARTIFACT_DEFINITION","DEPLOYMENT_PROJECT","SHARED_CREDENTIAL"]},"global":{"type":"boolean"},"id":{"type":"integer","format":"int64"},"markedForDeletion":{"type":"boolean"},"name":{"type":"string"},"oid":{"$ref":"#/components/schemas/BambooEntityOid"},"parent":{"$ref":"#/components/schemas/RepositoryDataEntity"},"pluginKey":{"type":"string"},"projectId":{"type":"integer","format":"int64"},"version":{"type":"integer","format":"int64"},"xmlData":{"type":"string"}}},"Requirement":{"properties":{"id":{"type":"integer","format":"int64"},"key":{"type":"string"},"matchValue":{"type":"string"},"ownerId":{"type":"integer","format":"int64"},"pluginModuleKey":{"type":"string"},"readonly":{"type":"boolean"},"regexMatch":{"type":"boolean"},"requirementSet":{"$ref":"#/components/schemas/RequirementSet"},"systemRequirement":{"type":"boolean"},"typeOfMatch":{"type":"string","enum":["EXISTS","EQUALS","MATCHES"]}}},"RequirementOperations":{"properties":{"canDelete":{"type":"boolean"}}},"RequirementReadonlyData":{"properties":{"matchingAgents":{"type":"integer","format":"int32"},"matchingImages":{"type":"integer","format":"int32"},"matchingTemplates":{"type":"integer","format":"int32"}}},"RequirementSet":{"properties":{"id":{"type":"integer","format":"int64"},"requirements":{"type":"array","items":{"$ref":"#/components/schemas/Requirement"},"uniqueItems":true}}},"RestAccessToken":{"properties":{"creationDate":{"type":"string","format":"date-time"},"daysUntilExpiry":{"type":"integer","format":"int32"},"name":{"type":"string"},"permissions":{"type":"array","items":{"type":"string"}},"rawToken":{"type":"string"},"self":{"type":"string","readOnly":true},"tokenId":{"type":"string"}}},"RestAgent":{"properties":{"description":{"type":"string","example":"This is a description"},"enabled":{"type":"boolean"},"id":{"type":"integer","format":"int64","example":131073},"link":{"type":"string","example":"https://bamboo/rest/admin/latest/agent/131073"},"name":{"type":"string","example":"Default Agent"},"type":{"type":"string","example":"local"}}},"RestAgentAssignmentExecutorDetails":{"properties":{"agentType":{"type":"string","enum":["LOCAL","REMOTE","ELASTIC","EPHEMERAL"]},"capabilitiesMatch":{"type":"boolean"},"disabled":{"type":"boolean"},"id":{"type":"integer","format":"int64"},"key":{"type":"string"},"name":{"type":"string"},"removable":{"type":"boolean"},"type":{"type":"string","enum":["AGENT","IMAGE","EPHEMERAL"]}}},"RestAgentCapabilities":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestCapability"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestCapability"},"capabilities":{"type":"array","items":{"$ref":"#/components/schemas/RestCapability"}},"expand":{"type":"string","xml":{"attribute":true}},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestAgentInformation":{"properties":{"capabilities":{"$ref":"#/components/schemas/RestAgentCapabilities"},"executableEnvironments":{"$ref":"#/components/schemas/RestExecutableEnvironmentList"},"executableJobs":{"$ref":"#/components/schemas/RestExecutableJobList"},"expand":{"type":"string","xml":{"attribute":true}},"general":{"$ref":"#/components/schemas/RestBuildAgent"},"link":{"$ref":"#/components/schemas/Link"},"restAgentExecutableEnvironments":{"$ref":"#/components/schemas/RestExecutableEnvironmentList"},"restAgentExecutableJobs":{"$ref":"#/components/schemas/RestExecutableJobList"}}},"RestAgentSummary":{"properties":{"self":{"type":"string","readOnly":true}}},"RestAnonymousServerStatusInfo":{"properties":{"status":{"$ref":"#/components/schemas/NodeLifecycleState"}}},"RestArtifactDefinition":{"properties":{"copyPatterns":{"type":"array","items":{"type":"string"}},"exclusionPatterns":{"type":"array","items":{"type":"string"}},"httpCompressionOn":{"type":"boolean"},"id":{"type":"integer","format":"int64"},"location":{"type":"string"},"name":{"type":"string"},"required":{"type":"boolean"},"shared":{"type":"boolean"}}},"RestArtifactDefinitionList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestArtifactDefinition"}},"artifacts":{"type":"array","items":{"$ref":"#/components/schemas/RestArtifactDefinition"},"writeOnly":true},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestArtifactDefinition"},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestArtifactDefinitions":{"properties":{"artifacts":{"$ref":"#/components/schemas/RestArtifactDefinitionList"},"link":{"$ref":"#/components/schemas/Link"}}},"RestArtifactHandler":{"properties":{"attributes":{"type":"object"},"nonsharedArtifactsEnabled":{"type":"boolean"},"self":{"type":"string","readOnly":true},"sharedArtifactsEnabled":{"type":"boolean"}}},"RestAuditLogConfiguration":{"properties":{"auditLoggingEnabled":{"type":"boolean","example":false},"self":{"type":"string","readOnly":true}}},"RestBranch":{"properties":{"name":{"type":"string"}}},"RestBranchList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestBranch"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestBranch"},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"searchResults":{"type":"array","items":{"$ref":"#/components/schemas/RestBranch"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestBranches":{},"RestBruteForceProtection":{"properties":{"enabled":{"type":"boolean"},"loginAttempts":{"type":"integer","format":"int32"}}},"RestBuildAgent":{"properties":{"active":{"type":"boolean"},"busy":{"type":"boolean"},"enabled":{"type":"boolean"},"id":{"type":"integer","format":"int64"},"name":{"type":"string","example":"agent-name"},"type":{"type":"string","enum":["LOCAL","REMOTE","ELASTIC","EPHEMERAL"]}}},"RestBuildArtifact":{"properties":{"link":{"$ref":"#/components/schemas/Link"},"name":{"type":"string","writeOnly":true},"prettySizeDescription":{"type":"string","writeOnly":true},"producerJobKey":{"$ref":"#/components/schemas/PlanResultKey"},"shared":{"type":"boolean","writeOnly":true},"size":{"type":"integer","format":"int64","writeOnly":true}}},"RestBuildArtifactList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestBuildArtifact"}},"artifacts":{"type":"array","items":{"$ref":"#/components/schemas/RestBuildArtifact"},"writeOnly":true},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestBuildArtifact"},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestBuildConcurrency":{"properties":{"buildConcurrencyEnabled":{"type":"boolean"},"defaultConcurrentBuildsNumber":{"type":"integer","format":"int32","example":10},"self":{"type":"string","readOnly":true}}},"RestBuildLabel":{"properties":{"name":{"type":"string","example":"someLabel","xml":{"attribute":true}}}},"RestBuildLabelList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestBuildLabel"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestBuildLabel"},"label":{"type":"array","items":{"$ref":"#/components/schemas/RestBuildLabel"}},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestBuildLabels":{"properties":{"labels":{"$ref":"#/components/schemas/RestBuildLabelList"},"link":{"$ref":"#/components/schemas/Link"}}},"RestBuildMonitoring":{"properties":{"buildMonitoringEnabled":{"type":"boolean"},"buildQueueMinutesTimeoutDefault":{"type":"integer","format":"int32","example":30},"buildTimeMultiplierDefault":{"type":"number","format":"double","example":2.5},"enableLogLineCountLimit":{"type":"boolean"},"enableLogLineLengthLimit":{"type":"boolean"},"enableLogSizeLimit":{"type":"boolean"},"forceStopHangingBuilds":{"type":"boolean"},"liveLogsAreActive":{"type":"boolean"},"logQuietMinutesTimeDefault":{"type":"integer","format":"int32","example":10},"maxLogLineCount":{"type":"integer","format":"int32"},"maxLogLineLength":{"type":"integer","format":"int32"},"maxLogSizeKilobytes":{"type":"integer","format":"int32"}}},"RestCapability":{"properties":{"key":{"type":"string","example":"capability.key"},"self":{"type":"string","readOnly":true},"value":{"type":"string","example":"/usr/local/path"}}},"RestChange":{"properties":{"author":{"type":"string","xml":{"attribute":true}},"changeFiles":{"$ref":"#/components/schemas/RestChangeFileList"},"changesetId":{"type":"string","xml":{"attribute":true}},"comment":{"type":"string"},"commitUrl":{"type":"string"},"date":{"type":"string","format":"date-time"},"expand":{"type":"string","xml":{"attribute":true}},"fullName":{"type":"string","xml":{"attribute":true}},"userName":{"type":"string","xml":{"attribute":true}}}},"RestChangeFile":{"properties":{"name":{"type":"string"},"revision":{"type":"string"}}},"RestChangeFileList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestChangeFile"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestChangeFile"},"changeFiles":{"type":"array","items":{"$ref":"#/components/schemas/RestChangeFile"},"xml":{"name":"file"}},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestChangeList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestChange"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestChange"},"change":{"type":"array","items":{"$ref":"#/components/schemas/RestChange"}},"expand":{"type":"string","writeOnly":true},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestChart":{"properties":{"height":{"type":"integer","format":"int32"},"imageMap":{"type":"string"},"imageMapName":{"type":"string"},"location":{"type":"string"},"width":{"type":"integer","format":"int32"}}},"RestCombinedExpiryConfiguration":{"properties":{"buildsToKeep":{"type":"integer","format":"int32"},"cronExpression":{"type":"string"},"deploymentsToKeep":{"type":"integer","format":"int32"},"duration":{"type":"integer","format":"int32"},"expireArtifacts":{"type":"boolean"},"expireLogs":{"type":"boolean"},"expireResults":{"type":"boolean"},"labelsToExclude":{"type":"string"},"maximumBuildsToKeep":{"type":"integer","format":"int32"},"maximumIgnoredLogSize":{"type":"integer","format":"int64"},"period":{"type":"string"}}},"RestCombinedExpiryStatus":{"properties":{"buildExpiryStatus":{"$ref":"#/components/schemas/RestExpiryStatus"},"deploymentExpiryStatus":{"$ref":"#/components/schemas/RestExpiryStatus"}}},"RestComment":{"properties":{"author":{"type":"string","writeOnly":true},"content":{"type":"string","example":"first successful build"},"creationDate":{"type":"string","format":"date-time","writeOnly":true},"id":{"type":"integer","format":"int64","readOnly":true,"xml":{"attribute":true}},"modificationDate":{"type":"string","format":"date-time","writeOnly":true}}},"RestCommentList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestComment"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestComment"},"comment":{"type":"array","items":{"$ref":"#/components/schemas/RestComment"}},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestComments":{"properties":{"comments":{"$ref":"#/components/schemas/RestCommentList"},"link":{"$ref":"#/components/schemas/Link"}}},"RestCreateDeploymentProjectRequest":{"type":"object","properties":{"description":{"type":"string"},"name":{"type":"string"},"planKey":{"$ref":"#/components/schemas/PlanKey"},"publicAccess":{"type":"boolean"}},"xml":{"name":"createDeploymentProjectRequest"}},"RestCreateVersionRequest":{"type":"object","properties":{"name":{"type":"string"},"nextVersionName":{"type":"string"},"planResultKey":{"type":"string"}}},"RestDarkFeature":{"properties":{"enabled":{"type":"boolean"},"key":{"type":"string","example":"my.bamboo.feature.key"}}},"RestDataVolume":{"properties":{"containerDirectory":{"type":"string"},"hostDirectory":{"type":"string"}}},"RestDedicatedAgent":{"properties":{"executableId":{"type":"integer","format":"int64"},"executableType":{"type":"string","enum":["Build project","Build plan","Build job","Deployment project","Deployment environment"]},"executorId":{"type":"integer","format":"int64"},"executorType":{"type":"string","enum":["AGENT","IMAGE","EPHEMERAL"]}}},"RestDependencies":{"properties":{"dependencies":{"$ref":"#/components/schemas/RestPlanList"},"expand":{"type":"string","xml":{"attribute":true}},"link":{"$ref":"#/components/schemas/Link"}}},"RestDeploymentProject":{"properties":{"description":{"type":"string"},"environments":{"type":"array","items":{"$ref":"#/components/schemas/RestEnvironment"}},"id":{"type":"integer","format":"int64"},"key":{"$ref":"#/components/schemas/DeploymentKey"},"name":{"type":"string"},"oid":{"$ref":"#/components/schemas/BambooEntityOid"},"operations":{"$ref":"#/components/schemas/RestOperations"},"planKey":{"$ref":"#/components/schemas/PlanKey"},"repositorySpecsManaged":{"type":"boolean"},"vcsBambooSpecsSource":{"$ref":"#/components/schemas/ImmutableVcsBambooSpecsSource"}}},"RestDeploymentProjectLink":{"properties":{"environmentCount":{"type":"integer","format":"int32"},"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"upToDateEnvironmentCount":{"type":"integer","format":"int32"},"url":{"type":"string"}}},"RestDeploymentProjectStatusForJiraIssue":{"properties":{"deploymentProject":{"$ref":"#/components/schemas/RestDeploymentProjectLink"},"environments":{"type":"array","items":{"$ref":"#/components/schemas/RestEnvironmentStatusOfIssue"}},"versions":{"type":"array","items":{"$ref":"#/components/schemas/RestDeploymentVersionLink"}}}},"RestDeploymentResult":{"properties":{"agent":{"$ref":"#/components/schemas/BuildAgent"},"agentId":{"type":"integer","format":"int64"},"agentType":{"type":"string","enum":["LOCAL","REMOTE","ELASTIC","EPHEMERAL"]},"customData":{"type":"object","properties":{}},"deploymentState":{"type":"string","enum":["Unknown","Successful","Failed"]},"deploymentVersion":{"$ref":"#/components/schemas/DeploymentVersion"},"deploymentVersionName":{"type":"string"},"environment":{"$ref":"#/components/schemas/Environment"},"environmentId":{"type":"integer","format":"int64"},"executedDate":{"type":"string","format":"date-time"},"finishedDate":{"type":"string","format":"date-time"},"id":{"type":"integer","format":"int64"},"key":{"$ref":"#/components/schemas/DeploymentResultKey"},"lifeCycleState":{"type":"string","enum":["Pending","Queued","InProgress","Finished","NotBuilt"]},"operations":{"$ref":"#/components/schemas/RestOperations"},"queuedDate":{"type":"string","format":"date-time"},"reasonSummary":{"type":"string"},"startedDate":{"type":"string","format":"date-time"},"triggerReason":{"$ref":"#/components/schemas/TriggerReason"}}},"RestDeploymentResultList":{"properties":{"expand":{"type":"string","writeOnly":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestDeploymentResult"}}}},"RestDeploymentVersion":{"properties":{"ageZeroPoint":{"type":"string","format":"date-time"},"creationDate":{"type":"string","format":"date-time"},"creatorDisplayName":{"type":"string"},"creatorUserName":{"type":"string"},"deploymentProjectId":{"type":"integer","format":"int64"},"id":{"type":"integer","format":"int64"},"items":{"type":"array","items":{"$ref":"#/components/schemas/DeploymentVersionItem"}},"name":{"type":"string"},"operations":{"$ref":"#/components/schemas/Operations"},"planBranchName":{"type":"string"},"variableContext":{"type":"array","items":{"$ref":"#/components/schemas/VariableSubstitutionContext"},"properties":{}},"versionStatus":{"$ref":"#/components/schemas/RestDeploymentVersionStatus"},"versionStatuses":{"type":"array","items":{"$ref":"#/components/schemas/DeploymentVersionStatus"}}}},"RestDeploymentVersionAndPlanResult":{"properties":{"deploymentVersion":{"$ref":"#/components/schemas/RestDeploymentVersion"},"planResultKey":{"$ref":"#/components/schemas/PlanResultKey"}}},"RestDeploymentVersionLink":{"properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"url":{"type":"string"}}},"RestDeploymentVersionList":{},"RestDeploymentVersionStatus":{"properties":{"creationDate":{"type":"string","format":"date-time"},"displayName":{"type":"string","example":"Admin"},"id":{"type":"integer","format":"int64"},"sanitizedUserName":{"type":"string","example":"admin"},"userName":{"type":"string","example":"admin"},"versionState":{"type":"string","enum":["Unknown","Approved","Broken","Incomplete"],"example":"APPROVED"}}},"RestDeploymentVersionStatusForDashboard":{"type":"object","properties":{"deploymentVersionState":{"type":"string","enum":["Unknown","Approved","Broken","Incomplete"]},"versionStatusSanitizedUserName":{"type":"string"},"versionStatusUserDisplayName":{"type":"string"},"versionStatusUserName":{"type":"string"}},"xml":{"name":"deploymentVersionStatus"}},"RestDeploymentVersionStatuses":{"properties":{"currentUserState":{"type":"string","enum":["Unknown","Approved","Broken","Incomplete"],"example":"APPROVED"},"statuses":{"type":"array","items":{"$ref":"#/components/schemas/RestDeploymentVersionStatus"}},"versionGeneralState":{"type":"string","enum":["Unknown","Approved","Broken","Incomplete"],"example":"APPROVED"}}},"RestDockerPipelineConfiguration":{"properties":{"additionalArguments":{"type":"array","items":{"type":"string"}},"dataVolumes":{"type":"array","items":{"$ref":"#/components/schemas/RestDataVolume"}},"dockerImage":{"type":"string"},"enabled":{"type":"boolean"}}},"RestElasticConfiguration":{"properties":{"accessKeyId":{"type":"string","example":"TEST-ACCESS-KEY-ID"},"allocatePublicIpToVpcInstances":{"type":"boolean"},"awsCredentialsType":{"type":"string","enum":["INSTANCE_PROFILE","ACCESS_KEY"],"example":"ACCESS_KEY"},"certificateFile":{"type":"string","example":"/path/to/certificate"},"elasticInstanceManagement":{"$ref":"#/components/schemas/RestElasticInstanceManagement"},"elasticTerminationConfiguration":{"$ref":"#/components/schemas/RestElasticTerminationConfiguration"},"enabled":{"type":"boolean"},"maxNumOfElasticInstances":{"type":"integer","format":"int32","example":15},"privateKeyFile":{"type":"string","example":"/path/to/privateKey"},"region":{"type":"string","example":"US_EAST_1"},"secretAccessKey":{"type":"string","writeOnly":true},"self":{"type":"string","readOnly":true},"uploadAwsIdentifier":{"type":"boolean","xml":{"name":"uploadAwsAccountIdentifierToElasticInstances"}}}},"RestElasticImageConfig":{"properties":{"architecture":{"type":"string"},"availabilityZone":{"type":"string","example":"ap-southeast-2a"},"configurationDescription":{"type":"string"},"configurationId":{"type":"integer","format":"int64"},"configurationName":{"type":"string"},"ebsEnabled":{"type":"boolean"},"ebsOptimised":{"type":"boolean"},"ebsSnapshotId":{"type":"string"},"iamInstanceProfileArnOrName":{"type":"string"},"imageFilesVersion":{"type":"string"},"imageId":{"type":"string"},"instanceType":{"type":"string"},"legacyEbsHandlingEnabled":{"type":"boolean"},"perSecondBillingEnabled":{"type":"boolean"},"platform":{"type":"string"},"product":{"type":"string"},"region":{"type":"string"},"rootDeviceType":{"type":"string"},"rootFsSizeOverride":{"type":"integer","format":"int32"},"startupScripts":{"type":"array","items":{"type":"string"}},"subnetId":{"type":"string","example":"subnet-123,subnet-456"},"useLegacyEbsHandling":{"type":"boolean","writeOnly":true}}},"RestElasticInstanceLog":{"properties":{"instanceId":{"type":"string"},"log":{"type":"string"}}},"RestElasticInstanceManagement":{"properties":{"allowedNonBambooInstances":{"type":"integer","format":"int32","example":3},"avgQueueTimeMinutes":{"type":"integer","format":"int32","example":10},"idleAgentShutdownDelayMinutes":{"type":"integer","format":"int32","example":5},"maxNumOfInstancesStart":{"type":"integer","format":"int32","example":7},"numOfBuildsInQueue":{"type":"integer","format":"int32","example":5},"numOfElasticBuildsInQueue":{"type":"integer","format":"int32","example":1},"type":{"type":"string","example":"Custom"}}},"RestElasticTerminationConfiguration":{"properties":{"enabled":{"type":"boolean"},"shutdownDelay":{"type":"integer","format":"int32","example":300}}},"RestEnableContainer":{"type":"object","properties":{"enable":{"type":"boolean"}}},"RestEnvironment":{"properties":{"configurationState":{"type":"string","enum":["CREATED","DETAILED","TASKED"]},"deploymentProjectId":{"type":"integer","format":"int64"},"description":{"type":"string"},"id":{"type":"integer","format":"int64"},"key":{"$ref":"#/components/schemas/RestKey"},"name":{"type":"string"},"operations":{"$ref":"#/components/schemas/RestOperations"},"position":{"type":"integer","format":"int32"},"releaseApprovalPrerequisite":{"type":"string","enum":["NONE","NOT_BROKEN","APPROVED"]},"suspended":{"type":"boolean"},"taskDefinitions":{"type":"array","items":{"$ref":"#/components/schemas/TaskDefinition"}},"triggerDefinitions":{"type":"array","items":{"$ref":"#/components/schemas/TriggerDefinition"}}}},"RestEnvironmentDashboardStatus":{"type":"object","properties":{"deploymentResult":{"$ref":"#/components/schemas/RestDeploymentResult"},"environment":{"$ref":"#/components/schemas/RestEnvironment"}}},"RestEnvironmentForExecutablesView":{"properties":{"environmentId":{"type":"integer","format":"int64"},"environmentName":{"type":"string"},"projectId":{"type":"integer","format":"int64"},"projectName":{"type":"string"}}},"RestEnvironmentPrerequisites":{"type":"object","properties":{"releaseApprovalPrerequisite":{"type":"string","enum":["NONE","NOT_BROKEN","APPROVED"]},"releaseApprovalPrerequisitePresent":{"type":"boolean"}},"xml":{"name":"environmentPrerequisites"}},"RestEnvironmentStatusForDashboard":{"type":"object","properties":{"deploymentResultId":{"type":"integer","format":"int64"},"deploymentState":{"type":"string","enum":["Unknown","Successful","Failed"]},"deploymentVersionId":{"type":"integer","format":"int64"},"deploymentVersionName":{"type":"string"},"deploymentVersionRelatedBranchName":{"type":"string"},"deploymentVersionStatuses":{"type":"array","items":{"$ref":"#/components/schemas/RestDeploymentVersionStatusForDashboard"}},"environmentId":{"type":"integer","format":"int64"},"executedDate":{"type":"string","format":"date-time"},"finishedDate":{"type":"string","format":"date-time"},"lifeCycleState":{"type":"string","enum":["Pending","Queued","InProgress","Finished","NotBuilt"]},"queuedDate":{"type":"string","format":"date-time"},"startedDate":{"type":"string","format":"date-time"}},"xml":{"name":"environmentStatus"}},"RestEnvironmentStatusOfIssue":{"properties":{"id":{"type":"integer","format":"int64"},"issueStatus":{"type":"string","enum":["NOT_AVAILABLE","PARTIALLY_AVAILABLE","AVAILABLE"]},"name":{"type":"string"},"statusOk":{"type":"boolean"},"url":{"type":"string"},"version":{"$ref":"#/components/schemas/RestDeploymentVersionLink"}}},"RestEnvironmentWithConfigCounts":{"properties":{"compatibleAgentsCount":{"type":"integer","format":"int32"},"configurationState":{"type":"string","enum":["CREATED","DETAILED","TASKED"]},"deploymentProjectId":{"type":"integer","format":"int64"},"description":{"type":"string"},"id":{"type":"integer","format":"int64"},"key":{"$ref":"#/components/schemas/RestKey"},"name":{"type":"string"},"notificationsCount":{"type":"integer","format":"int32"},"operations":{"$ref":"#/components/schemas/RestOperations"},"position":{"type":"integer","format":"int32"},"releaseApprovalPrerequisite":{"type":"string","enum":["NONE","NOT_BROKEN","APPROVED"]},"suspended":{"type":"boolean"},"taskDefinitions":{"type":"array","items":{"$ref":"#/components/schemas/TaskDefinition"}},"triggerDefinitions":{"type":"array","items":{"$ref":"#/components/schemas/TriggerDefinition"}},"triggersCount":{"type":"integer","format":"int32"},"variablesCount":{"type":"integer","format":"int32"}}},"RestEphemeralAgentTemplate":{"properties":{"configurationId":{"type":"integer","format":"int64"},"configurationName":{"type":"string"},"dedicated":{"type":"boolean"},"enabled":{"type":"boolean"},"self":{"type":"string","readOnly":true},"template":{"type":"string"}}},"RestEphemeralPodLogs":{"properties":{"containerName":{"type":"string"},"lastTimeStamp":{"type":"string"},"logs":{"type":"array","items":{"type":"string"}},"podName":{"type":"string"}}},"RestExecutableEnvironmentList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestEnvironment"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestEnvironment"},"executableEnvironments":{"type":"array","items":{"$ref":"#/components/schemas/RestEnvironment"}},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestExecutableJobList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestJob"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestJob"},"executableJobs":{"type":"array","items":{"$ref":"#/components/schemas/RestJob"}},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestExpiryStatus":{"properties":{"lastFinished":{"type":"integer","format":"int64"},"lastFinishedDate":{"type":"string","format":"date-time"},"lastRun":{"type":"integer","format":"int64"},"lastRunDate":{"type":"string","format":"date-time"},"lastRunSuccessful":{"type":"boolean"},"running":{"type":"boolean"}}},"RestFavicon":{"properties":{"faviconType":{"type":"string"},"faviconUrl":{"type":"string"}}},"RestGeneralConfiguration":{"properties":{"baseUrl":{"type":"string","example":"http://bamboo.local"},"branchDetectionIntervalSeconds":{"type":"integer","format":"int32","example":100},"brokerClientUrl":{"type":"string","example":"tcp://bamboo.local:5555"},"brokerUrl":{"type":"string","example":"nio://localhost:5555"},"dashboardDefaultPageSize":{"type":"integer","format":"int32","example":50},"enableGravatarSupport":{"type":"boolean"},"enableGzipCompression":{"type":"boolean"},"enableRssPolling":{"type":"boolean"},"gravatarServerUrl":{"type":"string"},"instanceName":{"type":"string","example":"CI instance"},"quietPeriodGloballyDisabled":{"type":"boolean"},"rssPollingCronExpression":{"type":"string","example":"0 7 * ? * *"},"self":{"type":"string","readOnly":true}}},"RestGlobalVariable":{"properties":{"encrypted":{"type":"boolean","readOnly":true},"id":{"type":"integer","format":"int64","example":1000,"readOnly":true},"link":{"type":"string","example":"http://bamboo/rest/admin/latest/globalVariable/1000","readOnly":true},"name":{"type":"string","example":"name"},"value":{"type":"string","example":"value"}}},"RestGlobalVariableList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestGlobalVariable"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestGlobalVariable"},"globalVariables":{"type":"array","items":{"$ref":"#/components/schemas/RestGlobalVariable"}},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestGlobalVariables":{"properties":{"globalVariables":{"$ref":"#/components/schemas/RestGlobalVariableList"},"link":{"type":"string"}}},"RestGroup":{"properties":{"editable":{"type":"boolean","example":false,"readOnly":true},"name":{"type":"string","example":"bamboo-admin"},"self":{"type":"string","readOnly":true}}},"RestGroupPermission":{"properties":{"editable":{"type":"boolean","example":false,"readOnly":true},"name":{"type":"string","example":"bamboo-admin"},"permissions":{"type":"array","items":{"type":"string"}},"self":{"type":"string","readOnly":true}}},"RestIMServerConfiguration":{"properties":{"host":{"type":"string","example":"im.server.com"},"password":{"type":"string","writeOnly":true},"port":{"type":"integer","format":"int32","example":8888},"requireTLSSSLConnection":{"type":"boolean"},"resource":{"type":"string","example":"test"},"self":{"type":"string","readOnly":true},"username":{"type":"string","example":"bamboo_user"}}},"RestIdContainer":{"type":"object","properties":{"id":{"type":"integer","format":"int64"}}},"RestInfo":{"properties":{"buildDate":{"type":"string","format":"date-time"},"buildNumber":{"type":"string","example":"80204"},"edition":{"type":"string"},"state":{"type":"string","enum":["SETUP","STARTING","RUNNING","RUNNING_AS_SECONDARY","PAUSING","PAUSED","PREPARING_FOR_RESTART","READY_FOR_RESTART"]},"version":{"type":"string","example":"8.2.0"}}},"RestJiraIssue":{"properties":{"iconUrl":{"type":"string","writeOnly":true},"issueType":{"type":"string","writeOnly":true},"key":{"type":"string","writeOnly":true},"status":{"type":"string","writeOnly":true},"summary":{"type":"string","writeOnly":true},"url":{"$ref":"#/components/schemas/Link"}}},"RestJiraIssueList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestJiraIssue"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestJiraIssue"},"issue":{"type":"array","items":{"$ref":"#/components/schemas/RestJiraIssue"},"writeOnly":true},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestJiraIssueRelatedDeploymentProjects":{"properties":{"deploymentProjects":{"type":"array","items":{"$ref":"#/components/schemas/RestDeploymentProjectLink"}}}},"RestJob":{"properties":{"agentSummary":{"$ref":"#/components/schemas/RestAgentSummary"},"description":{"type":"string"},"id":{"type":"integer","format":"int64"},"key":{"$ref":"#/components/schemas/RestKey"},"name":{"type":"string"},"self":{"type":"string","readOnly":true},"sourceJobKey":{"$ref":"#/components/schemas/RestKey"},"stage":{"$ref":"#/components/schemas/RestStage"},"stageId":{"type":"integer","format":"int64"},"suspended":{"type":"boolean"}}},"RestKey":{"properties":{"key":{"type":"string"}}},"RestLinkedDeploymentProject":{"type":"object","properties":{"description":{"type":"string"},"id":{"type":"integer","format":"int64"},"name":{"type":"string"}}},"RestMailConfiguration":{"properties":{"emailSetting":{"type":"string","example":"SMTP"},"fromAddress":{"type":"string","example":"mail@mailymail.com"},"jndiLocation":{"type":"string"},"name":{"type":"string","example":"Amazing SMTP Server"},"precedenceBulkHeaderExcluded":{"type":"boolean"},"self":{"type":"string","readOnly":true},"smtpPassword":{"type":"string","example":"pass","writeOnly":true},"smtpPort":{"type":"string","example":"25"},"smtpServer":{"type":"string","example":"mail.thisisnotarealserver.com"},"smtpUsername":{"type":"string","example":"user"},"subjectPrefix":{"type":"string","example":"[READ THIS FROM BAMBOO]"},"tlsEnabled":{"type":"boolean"}}},"RestManualEncryptionConfiguration":{"properties":{"enabled":{"type":"boolean"},"limit":{"type":"integer","format":"int32"},"limitUnit":{"type":"string","enum":["NANOSECONDS","MICROSECONDS","MILLISECONDS","SECONDS","MINUTES","HOURS","DAYS"]}}},"RestNamingPreview":{"properties":{"errorMessage":{"type":"string"},"nextVersionName":{"type":"string"},"subsequentVersionName":{"type":"string"}}},"RestNewUser":{"type":"object","properties":{"email":{"type":"string","example":"admin@example.com"},"fullName":{"type":"string","example":"Administrator"},"name":{"type":"string","example":"admin"},"password":{"type":"string","example":"new_Passw0rd"},"passwordConfirm":{"type":"string","example":"new_Passw0rd"},"sanitizedName":{"type":"string","example":"admin"},"self":{"type":"string","readOnly":true}}},"RestNodeStatus":{"properties":{"alive":{"type":"boolean"},"buildNumber":{"type":"string"},"hostname":{"type":"string"},"internalCommunicationPort":{"type":"integer","format":"int32"},"lastHeartbeat":{"type":"string","format":"date-time"},"nodeId":{"type":"string"},"nodeName":{"type":"string"},"primary":{"type":"boolean"}}},"RestOperations":{"properties":{"allowedToCreateVersion":{"type":"boolean"},"allowedToExecute":{"type":"boolean"},"allowedToSetVersionStatus":{"type":"boolean"},"canDelete":{"type":"boolean"},"canEdit":{"type":"boolean"},"canExecute":{"type":"boolean"},"canView":{"type":"boolean"},"canViewConfiguration":{"type":"boolean"},"cantExecuteReason":{"type":"string"}}},"RestPageModelPlanWithCustomExpirySettings":{"type":"object","properties":{"limit":{"type":"integer","format":"int32"},"next":{"type":"string","writeOnly":true},"prev":{"type":"string","writeOnly":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/PlanWithCustomExpirySettings"}},"self":{"type":"string","readOnly":true},"start":{"type":"integer","format":"int32"}}},"RestPageModelRestAccessToken":{"type":"object","properties":{"limit":{"type":"integer","format":"int32"},"next":{"type":"string","writeOnly":true},"prev":{"type":"string","writeOnly":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestAccessToken"}},"self":{"type":"string","readOnly":true},"start":{"type":"integer","format":"int32"}}},"RestPageModelRestAgent":{"type":"object","properties":{"limit":{"type":"integer","format":"int32"},"next":{"type":"string","writeOnly":true},"prev":{"type":"string","writeOnly":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestAgent"}},"self":{"type":"string","readOnly":true},"start":{"type":"integer","format":"int32"}}},"RestPageModelRestCapability":{"type":"object","properties":{"limit":{"type":"integer","format":"int32"},"next":{"type":"string","writeOnly":true},"prev":{"type":"string","writeOnly":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestCapability"}},"self":{"type":"string","readOnly":true},"start":{"type":"integer","format":"int32"}}},"RestPageModelRestDeploymentProject":{"type":"object","properties":{"limit":{"type":"integer","format":"int32"},"next":{"type":"string","writeOnly":true},"prev":{"type":"string","writeOnly":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestDeploymentProject"}},"self":{"type":"string","readOnly":true},"start":{"type":"integer","format":"int32"}}},"RestPageModelRestEnvironmentForExecutablesView":{"type":"object","properties":{"limit":{"type":"integer","format":"int32"},"next":{"type":"string","writeOnly":true},"prev":{"type":"string","writeOnly":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestEnvironmentForExecutablesView"}},"self":{"type":"string","readOnly":true},"start":{"type":"integer","format":"int32"}}},"RestPageModelRestEphemeralAgentTemplate":{"type":"object","properties":{"limit":{"type":"integer","format":"int32"},"next":{"type":"string","writeOnly":true},"prev":{"type":"string","writeOnly":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestEphemeralAgentTemplate"}},"self":{"type":"string","readOnly":true},"start":{"type":"integer","format":"int32"}}},"RestPageModelRestGroup":{"type":"object","properties":{"limit":{"type":"integer","format":"int32"},"next":{"type":"string","writeOnly":true},"prev":{"type":"string","writeOnly":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestGroup"}},"self":{"type":"string","readOnly":true},"start":{"type":"integer","format":"int32"}}},"RestPageModelRestGroupPermission":{"type":"object","properties":{"limit":{"type":"integer","format":"int32"},"next":{"type":"string","writeOnly":true},"prev":{"type":"string","writeOnly":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestGroupPermission"}},"self":{"type":"string","readOnly":true},"start":{"type":"integer","format":"int32"}}},"RestPageModelRestJob":{"properties":{"limit":{"type":"integer","format":"int32"},"next":{"type":"string","writeOnly":true},"prev":{"type":"string","writeOnly":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestJob"}},"self":{"type":"string","readOnly":true},"start":{"type":"integer","format":"int32"}}},"RestPageModelRestProjectRepository":{"type":"object","properties":{"limit":{"type":"integer","format":"int32"},"next":{"type":"string","writeOnly":true},"prev":{"type":"string","writeOnly":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestProjectRepository"}},"self":{"type":"string","readOnly":true},"start":{"type":"integer","format":"int32"}}},"RestPageModelRestRolePermission":{"type":"object","properties":{"limit":{"type":"integer","format":"int32"},"next":{"type":"string","writeOnly":true},"prev":{"type":"string","writeOnly":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestRolePermission"}},"self":{"type":"string","readOnly":true},"start":{"type":"integer","format":"int32"}}},"RestPageModelRestSharedCredential":{"type":"object","properties":{"limit":{"type":"integer","format":"int32"},"next":{"type":"string","writeOnly":true},"prev":{"type":"string","writeOnly":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestSharedCredential"}},"self":{"type":"string","readOnly":true},"start":{"type":"integer","format":"int32"}}},"RestPageModelRestStage":{"properties":{"limit":{"type":"integer","format":"int32"},"next":{"type":"string","writeOnly":true},"prev":{"type":"string","writeOnly":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestStage"}},"self":{"type":"string","readOnly":true},"start":{"type":"integer","format":"int32"}}},"RestPageModelRestUser":{"type":"object","properties":{"limit":{"type":"integer","format":"int32"},"next":{"type":"string","writeOnly":true},"prev":{"type":"string","writeOnly":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUser"}},"self":{"type":"string","readOnly":true},"start":{"type":"integer","format":"int32"}}},"RestPageModelRestUserAlias":{"type":"object","properties":{"limit":{"type":"integer","format":"int32"},"next":{"type":"string","writeOnly":true},"prev":{"type":"string","writeOnly":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUserAlias"}},"self":{"type":"string","readOnly":true},"start":{"type":"integer","format":"int32"}}},"RestPageModelRestUserDetails":{"type":"object","properties":{"limit":{"type":"integer","format":"int32"},"next":{"type":"string","writeOnly":true},"prev":{"type":"string","writeOnly":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUserDetails"}},"self":{"type":"string","readOnly":true},"start":{"type":"integer","format":"int32"}}},"RestPageModelRestUserPermission":{"type":"object","properties":{"limit":{"type":"integer","format":"int32"},"next":{"type":"string","writeOnly":true},"prev":{"type":"string","writeOnly":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUserPermission"}},"self":{"type":"string","readOnly":true},"start":{"type":"integer","format":"int32"}}},"RestPersonalAccessTokensExpirationConfiguration":{"properties":{"expirationRequired":{"type":"boolean"},"maxDaysUntilExpiry":{"type":"integer","format":"int32"}}},"RestPlan":{"properties":{"actions":{"$ref":"#/components/schemas/RestPlanActionList"},"active":{"type":"boolean"},"averageBuildTimeInSeconds":{"type":"number","format":"double"},"branches":{"$ref":"#/components/schemas/RestPlanBranchList"},"buildName":{"type":"string"},"building":{"type":"boolean"},"currentRestUser":{"$ref":"#/components/schemas/User"},"description":{"type":"string"},"enabled":{"type":"boolean","xml":{"attribute":true}},"expand":{"type":"string","xml":{"attribute":true}},"favourite":{"type":"boolean"},"id":{"type":"integer","format":"int64","xml":{"attribute":true}},"link":{"$ref":"#/components/schemas/Link"},"master":{"$ref":"#/components/schemas/RestPlan"},"parentKey":{"type":"string"},"parentLink":{"$ref":"#/components/schemas/Link"},"parentName":{"type":"string"},"planKey":{"type":"string","xml":{"attribute":true,"name":"key"}},"planName":{"type":"string","xml":{"attribute":true,"name":"name"}},"project":{"$ref":"#/components/schemas/RestProject"},"projectKey":{"type":"string"},"projectName":{"type":"string"},"restPlanKey":{"$ref":"#/components/schemas/RestKey"},"shortKey":{"type":"string","xml":{"attribute":true}},"shortName":{"type":"string","xml":{"attribute":true}},"stageName":{"type":"string"},"stages":{"$ref":"#/components/schemas/RestStageList"},"type":{"type":"string","xml":{"attribute":true}},"variableContext":{"$ref":"#/components/schemas/RestVariableDefinitionContextList"}}},"RestPlanAction":{"properties":{"name":{"type":"string"}}},"RestPlanActionList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestPlanAction"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestPlanAction"},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestPlanBranch":{"properties":{"branchKey":{"type":"string","xml":{"attribute":true,"name":"key"}},"branchName":{"type":"string","xml":{"attribute":true,"name":"name"}},"favourite":{"type":"boolean","writeOnly":true}}},"RestPlanBranchList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestPlanBranch"}},"branches":{"type":"array","items":{"$ref":"#/components/schemas/RestPlanBranch"},"xml":{"name":"branch"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestPlanBranch"},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestPlanConfig":{"properties":{"description":{"type":"string"},"id":{"type":"integer","format":"int64"},"key":{"$ref":"#/components/schemas/RestKey"},"name":{"type":"string"},"project":{"$ref":"#/components/schemas/RestProjectCreate"},"self":{"type":"string","readOnly":true},"stages":{"$ref":"#/components/schemas/RestPageModelRestStage"},"suspended":{"type":"boolean"}}},"RestPlanIdentifier":{"properties":{"buildKey":{"type":"string"},"buildName":{"type":"string"},"description":{"type":"string"},"id":{"type":"integer","format":"int64"},"masterId":{"type":"integer","format":"int64"},"name":{"type":"string"},"planKey":{"type":"string"},"planType":{"type":"string"},"project":{"$ref":"#/components/schemas/RestProjectIdentifier"},"suspendedFromBuilding":{"type":"boolean"}}},"RestPlanLabel":{"type":"object","properties":{"name":{"type":"string","xml":{"attribute":true}}},"xml":{"name":"label"}},"RestPlanLabelList":{"type":"object","properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestPlanLabel"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestPlanLabel"},"label":{"type":"array","items":{"$ref":"#/components/schemas/RestPlanLabel"},"writeOnly":true},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestPlanLabels":{"type":"object","properties":{"labels":{"$ref":"#/components/schemas/RestPlanLabelList"},"link":{"$ref":"#/components/schemas/Link"}},"xml":{"name":"labels"}},"RestPlanList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestPlan"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestPlan"},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"plans":{"type":"array","items":{"$ref":"#/components/schemas/RestPlan"},"xml":{"name":"plan"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestPlanSpec":{},"RestPlans":{"properties":{"link":{"$ref":"#/components/schemas/Link"},"plans":{"$ref":"#/components/schemas/RestPlanList"}}},"RestProgress":{"properties":{"averageBuildDuration":{"type":"integer","format":"int64"},"buildTime":{"type":"integer","format":"int64"},"expand":{"type":"string","xml":{"attribute":true}},"percentageCompleted":{"type":"number","format":"double"},"percentageCompletedPretty":{"type":"string"},"prettyAverageBuildDuration":{"type":"string"},"prettyBuildTime":{"type":"string"},"prettyStartedTime":{"type":"string"},"prettyTimeRemaining":{"type":"string"},"prettyTimeRemainingLong":{"type":"string"},"startedTime":{"type":"string"},"startedTimeFormatted":{"type":"string"},"underAverageTime":{"type":"boolean"},"valid":{"type":"boolean"}}},"RestProject":{"properties":{"description":{"type":"string","xml":{"attribute":true}},"expand":{"type":"string","xml":{"attribute":true}},"id":{"type":"integer","format":"int64","xml":{"attribute":true}},"key":{"type":"string","xml":{"attribute":true}},"link":{"$ref":"#/components/schemas/Link"},"name":{"type":"string","xml":{"attribute":true}},"plans":{"$ref":"#/components/schemas/RestPlanList"},"project":{"$ref":"#/components/schemas/Project"},"uriInfo":{"type":"object","properties":{"absolutePath":{"type":"string","format":"uri"},"absolutePathBuilder":{"type":"object"},"baseUri":{"type":"string","format":"uri"},"baseUriBuilder":{"type":"object"},"matchedResources":{"type":"array","items":{"type":"object"}},"matchedURIs":{"type":"array","items":{"type":"string"}},"path":{"type":"string"},"pathParameters":{"type":"object"},"pathSegments":{"type":"array","items":{"type":"object","properties":{"matrixParameters":{"type":"object"},"path":{"type":"string"}}}},"queryParameters":{"type":"object"},"requestUri":{"type":"string","format":"uri"},"requestUriBuilder":{"type":"object"}}},"user":{"$ref":"#/components/schemas/User"}}},"RestProjectCreate":{"properties":{"description":{"type":"string"},"key":{"type":"string","example":"PROJ"},"name":{"type":"string","example":"My first project"},"publicAccess":{"type":"boolean"}}},"RestProjectIdentifier":{"properties":{"description":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"}}},"RestProjectList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestProject"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestProject"},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestProjectRepository":{"properties":{"admin":{"type":"boolean"},"icon":{"type":"string"},"id":{"type":"integer","format":"int64","readOnly":true},"location":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"}}},"RestProjects":{"properties":{"link":{"$ref":"#/components/schemas/Link"},"projects":{"$ref":"#/components/schemas/RestProjectList"}}},"RestQuarantineConfig":{"properties":{"quarantineTestsEnabled":{"type":"boolean"},"self":{"type":"string","readOnly":true}}},"RestQueuedBuild":{"properties":{"buildNumber":{"type":"integer","format":"int32","xml":{"attribute":true}},"buildResultKey":{"type":"string","xml":{"attribute":true}},"changes":{"$ref":"#/components/schemas/RestChangeList"},"changesets":{"type":"array","items":{"$ref":"#/components/schemas/RepositoryChangeset"}},"expand":{"type":"string","xml":{"attribute":true}},"link":{"$ref":"#/components/schemas/Link"},"planKey":{"type":"string","xml":{"attribute":true}},"triggerReason":{"type":"string"}}},"RestQueuedBuildList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestQueuedBuild"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestQueuedBuild"},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"queuedBuild":{"type":"array","items":{"$ref":"#/components/schemas/RestQueuedBuild"},"writeOnly":true},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestQueuedBuilds":{"properties":{"expand":{"type":"string","writeOnly":true},"link":{"$ref":"#/components/schemas/Link"},"queuedBuilds":{"$ref":"#/components/schemas/RestQueuedBuildList"}}},"RestQueuedDeployment":{"properties":{"deploymentResultId":{"type":"integer","format":"int64"}}},"RestQueuedDeploymentList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestQueuedDeployment"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestQueuedDeployment"},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"queuedDeployments":{"type":"array","items":{"$ref":"#/components/schemas/RestQueuedDeployment"},"writeOnly":true},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestQueuedDeployments":{"properties":{"expand":{"type":"string","writeOnly":true},"link":{"$ref":"#/components/schemas/Link"},"queuedDeployments":{"$ref":"#/components/schemas/RestQueuedDeploymentList"}}},"RestQuickFilter":{"properties":{"hasRules":{"type":"boolean"},"id":{"type":"integer","format":"int64"},"name":{"type":"string","example":"Integration Tests"},"position":{"type":"integer","format":"int32"}}},"RestRemoteAgentAuthentication":{"type":"object","properties":{"approved":{"type":"boolean"},"ip":{"type":"string"},"ipPatterns":{"type":"array","items":{"type":"string"},"uniqueItems":true},"uuid":{"type":"string"}}},"RestRemoteAgentCapability":{"type":"object","properties":{"key":{"type":"string","example":"capability.key"},"self":{"type":"string","readOnly":true},"source":{"type":"string"},"value":{"type":"string","example":"/usr/local/path"}},"xml":{"name":"capability"}},"RestRemoteAgentConfiguration":{"properties":{"remoteAgentsSupported":{"type":"boolean"},"self":{"type":"string","readOnly":true}}},"RestReport":{"properties":{"key":{"type":"string"},"name":{"type":"string"}}},"RestReportList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestReport"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestReport"},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"reports":{"type":"array","items":{"$ref":"#/components/schemas/RestReport"},"xml":{"name":"report"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestReports":{"properties":{"expand":{"type":"string","xml":{"attribute":true}},"link":{"$ref":"#/components/schemas/Link"},"reports":{"$ref":"#/components/schemas/RestReportList"}}},"RestRepository":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true},"name":{"type":"string"},"projectKey":{"type":"string"},"projectName":{"type":"string"},"rssEnabled":{"type":"boolean"},"url":{"type":"string"}}},"RestRepositoryConnectionResult":{"properties":{"connectionErrors":{"type":"array","items":{"type":"string"}}}},"RestRepositoryList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestRepository"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestRepository"},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"searchResults":{"type":"array","items":{"$ref":"#/components/schemas/RestRepository"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestRepositoryMinimal":{"properties":{"id":{"type":"integer","format":"int64","example":123},"name":{"type":"string","example":"linked repository 1"},"url":{"type":"string","example":"http://localhost:8085/admin/configureLinkedRepositories.action?repositoryId=123"}}},"RestRepositoryUsageModel":{"properties":{"environments":{"type":"array","items":{"$ref":"#/components/schemas/RestEnvironment"}},"inaccessibleEnvironmentsCount":{"type":"integer","format":"int32"},"inaccessiblePlansCount":{"type":"integer","format":"int32"},"plans":{"type":"array","items":{"$ref":"#/components/schemas/RestPlanIdentifier"}},"totalEnvironments":{"type":"integer","format":"int64"},"totalPlans":{"type":"integer","format":"int64"}}},"RestRequirement":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true},"key":{"type":"string"},"matchValue":{"type":"string"},"operations":{"$ref":"#/components/schemas/RequirementOperations"},"readonlyData":{"$ref":"#/components/schemas/RequirementReadonlyData"},"self":{"type":"string","readOnly":true},"typeOfMatch":{"type":"string","enum":["EXISTS","EQUALS","MATCHES"]}}},"RestResource":{"properties":{"link":{"$ref":"#/components/schemas/Link"},"name":{"type":"string","xml":{"attribute":true}}}},"RestResourceList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestResource"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestResource"},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"resources":{"type":"array","items":{"$ref":"#/components/schemas/RestResource"},"xml":{"name":"resource"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestResources":{"properties":{"link":{"$ref":"#/components/schemas/Link"},"resources":{"$ref":"#/components/schemas/RestResourceList"}}},"RestResultList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/Result"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackResult"},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"results":{"type":"array","items":{"$ref":"#/components/schemas/Result"},"xml":{"name":"result"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestResultStatus":{"properties":{"finished":{"type":"boolean"},"planResultKey":{"type":"string","xml":{"attribute":true,"name":"key"}},"prettyQueuedTime":{"type":"string"},"progress":{"$ref":"#/components/schemas/RestProgress"}}},"RestResults":{"properties":{"expand":{"type":"string","xml":{"attribute":true}},"link":{"$ref":"#/components/schemas/Link"},"results":{"$ref":"#/components/schemas/RestResultList"}}},"RestRolePermission":{"properties":{"name":{"type":"string"},"permissions":{"type":"array","items":{"type":"string"}},"self":{"type":"string","readOnly":true}}},"RestRssSecurityConfiguration":{"properties":{"dockerImage":{"type":"string","example":"atlassian/bamboo-specs-runner:9.0.0"},"enabled":{"type":"boolean"},"executeSpecsInDocker":{"type":"boolean"},"localMavenDirectory":{"type":"string"},"mountLocalMavenDirectory":{"type":"boolean"}}},"RestScheduledJob":{"type":"object","properties":{"groupName":{"type":"string","example":"Plans"},"name":{"type":"string","example":"Plan Cleanup"},"nextScheduledTime":{"type":"string","format":"date-time","readOnly":true},"self":{"type":"string","readOnly":true}}},"RestSecuritySettings":{"properties":{"agentAssignmentModificationByUsersAllowed":{"type":"boolean"},"bruteForceProtection":{"$ref":"#/components/schemas/RestBruteForceProtection"},"displayContactDetailsEnabled":{"type":"boolean"},"manageAcceptedSshHostKeys":{"type":"boolean"},"manualEncryptionConfiguration":{"$ref":"#/components/schemas/RestManualEncryptionConfiguration"},"personalAccessTokensExpirationConfiguration":{"$ref":"#/components/schemas/RestPersonalAccessTokensExpirationConfiguration"},"resolveArtifactsContentTypeByExtensionEnabled":{"type":"boolean"},"restrictedAdministratorRoleEnabled":{"type":"boolean"},"rssSecurityConfiguration":{"$ref":"#/components/schemas/RestRssSecurityConfiguration"},"showAuthorsDetailsToUsers":{"type":"boolean"},"signUp":{"$ref":"#/components/schemas/RestSignUp"},"soxComplianceModeEnabled":{"type":"boolean"},"unauthenticatedRemoteTriggerAllowed":{"type":"boolean"},"xsrfProtection":{"$ref":"#/components/schemas/RestXsrfProtection"}}},"RestServerNodesInfo":{"properties":{"askedNodeState":{"type":"string","enum":["SETUP","STARTING","RUNNING","RUNNING_AS_SECONDARY","PAUSING","PAUSED","PREPARING_FOR_RESTART","READY_FOR_RESTART"]},"clusterState":{"type":"string","enum":["STARTING","RUNNING","PAUSING","PAUSED","UNKNOWN"]},"nodeStatuses":{"type":"array","items":{"$ref":"#/components/schemas/RestNodeStatus"}},"reindexInProgress":{"type":"boolean"}}},"RestServerStatusInfo":{"properties":{"askedNodeState":{"type":"string","enum":["SETUP","STARTING","RUNNING","RUNNING_AS_SECONDARY","PAUSING","PAUSED","PREPARING_FOR_RESTART","READY_FOR_RESTART"]},"clusterState":{"type":"string","enum":["STARTING","RUNNING","PAUSING","PAUSED","UNKNOWN"]},"reindexInProgress":{"type":"boolean"}}},"RestSharedCredential":{"properties":{"attributes":{"type":"object"},"id":{"type":"integer","format":"int64","readOnly":true},"name":{"type":"string","example":"myCredentials"},"projectKey":{"type":"string"},"self":{"type":"string","readOnly":true}}},"RestSignUp":{"properties":{"enabled":{"type":"boolean"},"enabledCaptcha":{"type":"boolean"}}},"RestStage":{"properties":{"description":{"type":"string"},"final":{"type":"boolean"},"id":{"type":"integer","format":"int64"},"index":{"type":"integer","format":"int32"},"jobs":{"$ref":"#/components/schemas/RestPageModelRestJob"},"manual":{"type":"boolean"},"name":{"type":"string"},"plan":{"$ref":"#/components/schemas/RestPlanConfig"},"self":{"type":"string","readOnly":true}}},"RestStageList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestStage"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestStage"},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"stages":{"type":"array","items":{"$ref":"#/components/schemas/RestStage"},"xml":{"name":"stage"}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestStageResult":{"properties":{"results":{"$ref":"#/components/schemas/RestResultList"}}},"RestStageResultList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestStageResult"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestStageResult"},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"stages":{"type":"array","items":{"$ref":"#/components/schemas/RestStageResult"}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestStorageConfiguration":{"properties":{"hardLimit":{"type":"integer","format":"int32","example":25},"softLimit":{"type":"integer","format":"int32","example":20}}},"RestTrustedKey":{"properties":{"host":{"type":"string","example":"bitbucket.com"},"id":{"type":"integer","format":"int64","readOnly":true},"key":{"type":"string","example":"trusted_key"},"self":{"type":"string","readOnly":true}}},"RestUpdateDeploymentProjectRequest":{"type":"object","properties":{"description":{"type":"string"},"name":{"type":"string"},"planKey":{"$ref":"#/components/schemas/PlanKey"}},"xml":{"name":"updateDeploymentProjectRequest"}},"RestUser":{"properties":{"email":{"type":"string","example":"admin@example.com"},"fullName":{"type":"string","example":"Administrator"},"name":{"type":"string","example":"admin"},"sanitizedName":{"type":"string","example":"admin"},"self":{"type":"string","readOnly":true}}},"RestUserAlias":{"properties":{"name":{"type":"string","example":"user1-alias@atlassian.com"},"self":{"type":"string","readOnly":true}}},"RestUserDarkFeature":{"properties":{"enabled":{"type":"boolean"},"key":{"type":"string","example":"my.bamboo.feature.key"},"userName":{"type":"string","example":"admin"}}},"RestUserDetails":{"properties":{"email":{"type":"string","example":"admin@example.com"},"fullName":{"type":"string","example":"Administrator"},"name":{"type":"string","example":"admin"},"sanitizedName":{"type":"string","example":"admin"},"self":{"type":"string","readOnly":true}}},"RestUserPasswordUpdate":{"type":"object","properties":{"name":{"type":"string","example":"username"},"password":{"type":"string","example":"new-password"},"passwordConfirm":{"type":"string","example":"new-password"}}},"RestUserPermission":{"properties":{"email":{"type":"string","example":"admin@example.com"},"fullName":{"type":"string","example":"Administrator"},"name":{"type":"string","example":"admin"},"permissions":{"type":"array","items":{"type":"string"}},"sanitizedName":{"type":"string","example":"admin"},"self":{"type":"string","readOnly":true}}},"RestUserRenameRequest":{"type":"object","properties":{"name":{"type":"string","example":"newUsername"},"oldName":{"type":"string","example":"oldUsername"}},"xml":{"name":"user"}},"RestVariable":{"properties":{"name":{"type":"string","example":"my_variable","xml":{"attribute":true}},"value":{"type":"string","example":"variable value","xml":{"attribute":true}}}},"RestVariableDefinitionContext":{"properties":{"key":{"type":"string"},"password":{"type":"boolean"},"value":{"type":"string"},"variableType":{"type":"string"}}},"RestVariableDefinitionContextList":{"properties":{"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestVariableDefinitionContext"},"maxResults":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-results"}},"pagingCallback":{"$ref":"#/components/schemas/ListWrapperCallbackRestVariableDefinitionContext"},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"RestVariableList":{"properties":{"allElements":{"type":"array","items":{"$ref":"#/components/schemas/RestVariable"}},"callback":{"$ref":"#/components/schemas/ListWrapperCallbackRestVariable"},"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"size":{"type":"integer","format":"int32","xml":{"attribute":true}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}},"variables":{"type":"array","items":{"$ref":"#/components/schemas/RestVariable"},"writeOnly":true}}},"RestVcsBranches":{},"RestVcsLocationBambooSpecsState":{"properties":{"branch":{"type":"string"},"id":{"type":"integer","format":"int64"},"logFilename":{"type":"string"},"logUrl":{"type":"string"},"revision":{"type":"string"},"specImportState":{"type":"string","enum":["SUCCESS","ERROR"]},"specsExecutionDate":{"type":"string","format":"date-time"},"specsNotFound":{"type":"boolean"},"vcsLocationId":{"type":"integer","format":"int64"}}},"RestVcsLocationSpecsStatus":{"properties":{"inProgress":{"type":"boolean"},"specsLogs":{"type":"array","items":{"$ref":"#/components/schemas/RestVcsLocationBambooSpecsState"}}}},"RestVerificationRequest":{"type":"object","properties":{"name":{"type":"string"},"rawValue":{"type":"string"}},"xml":{"name":"restVerificationRequest"}},"RestXsrfProtection":{"properties":{"disableForHTTPGET":{"type":"boolean"},"enabled":{"type":"boolean"}}},"Result":{"properties":{"artifacts":{"$ref":"#/components/schemas/RestBuildArtifactList"},"buildCompletedTime":{"type":"string","format":"date-time","writeOnly":true},"buildDuration":{"type":"integer","format":"int64","writeOnly":true},"buildDurationDescription":{"type":"string","writeOnly":true},"buildDurationInSeconds":{"type":"integer","format":"int64","writeOnly":true},"buildNumber":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"number"}},"buildReason":{"type":"string","writeOnly":true},"buildRelativeTime":{"type":"string","writeOnly":true},"buildStartedTime":{"type":"string","format":"date-time","writeOnly":true},"buildState":{"type":"string","xml":{"attribute":true,"name":"state"}},"buildSummary":{"$ref":"#/components/schemas/ImmutableResultsSummary"},"buildTestSummary":{"type":"string","writeOnly":true},"comments":{"$ref":"#/components/schemas/RestCommentList"},"continuable":{"type":"boolean","writeOnly":true},"expand":{"type":"string","writeOnly":true},"failedTestCount":{"type":"integer","format":"int32","writeOnly":true},"hasExecutableAgents":{"type":"boolean","writeOnly":true},"id":{"type":"integer","format":"int64","writeOnly":true},"jiraIssues":{"$ref":"#/components/schemas/RestJiraIssueList"},"labels":{"$ref":"#/components/schemas/RestBuildLabelList"},"lifeCycleState":{"type":"string","writeOnly":true},"link":{"$ref":"#/components/schemas/Link"},"onceOff":{"type":"boolean","writeOnly":true},"parentLink":{"$ref":"#/components/schemas/Link"},"planName":{"type":"string","writeOnly":true},"planResultKey":{"$ref":"#/components/schemas/PlanResultKey"},"prettyBuildCompletedTime":{"type":"string","writeOnly":true},"prettyBuildStartedTime":{"type":"string","writeOnly":true},"prettyQueueDuration":{"type":"string","writeOnly":true},"prettyQueueStartedTime":{"type":"string","writeOnly":true},"prettyVcsUpdateDuration":{"type":"string","writeOnly":true},"prettyVcsUpdateStartedTime":{"type":"string","writeOnly":true},"projectName":{"type":"string","writeOnly":true},"quarantinedTestCount":{"type":"integer","format":"int32","writeOnly":true},"queueDuration":{"type":"integer","format":"int64","writeOnly":true},"queueStartedTime":{"type":"string","format":"date-time","writeOnly":true},"queueTimeInSeconds":{"type":"integer","format":"int64","writeOnly":true},"restartCount":{"type":"integer","format":"int32","writeOnly":true},"restartable":{"type":"boolean","writeOnly":true},"skippedTestCount":{"type":"integer","format":"int32","writeOnly":true},"stage":{"type":"string","writeOnly":true},"stageResult":{"$ref":"#/components/schemas/ChainStageResult"},"stages":{"$ref":"#/components/schemas/RestStageResultList"},"successfulTestCount":{"type":"integer","format":"int32","writeOnly":true},"variables":{"$ref":"#/components/schemas/RestVariableList"},"vcsRevisionKey":{"type":"string","writeOnly":true},"vcsUpdateDuration":{"type":"integer","format":"int64","writeOnly":true},"vcsUpdateInSeconds":{"type":"integer","format":"int64","writeOnly":true},"vcsUpdateStartedTime":{"type":"string","format":"date-time","writeOnly":true}}},"ResultKey":{"properties":{"entityKey":{"$ref":"#/components/schemas/Key"},"key":{"type":"string"},"resultNumber":{"type":"integer","format":"int32"},"resultNumberLong":{"type":"integer","format":"int64"}}},"ResultsSummary":{"properties":{"active":{"type":"boolean"},"artifactLinks":{"type":"array","items":{"$ref":"#/components/schemas/ArtifactLink"}},"artifactLinksThatExist":{"type":"array","items":{"$ref":"#/components/schemas/ArtifactLink"}},"buildAgentId":{"type":"integer","format":"int64"},"buildAgentType":{"type":"string","enum":["LOCAL","REMOTE","ELASTIC","EPHEMERAL"]},"buildCancelledDate":{"type":"string","format":"date-time"},"buildCompletedDate":{"type":"string","format":"date-time"},"buildDate":{"type":"string","format":"date-time"},"buildKey":{"type":"string"},"buildNumber":{"type":"integer","format":"int32"},"buildResultKey":{"type":"string"},"buildState":{"type":"string","enum":["Unknown","Successful","Failed"]},"buildTime":{"type":"string"},"changesListSummary":{"type":"string"},"commits":{"type":"array","items":{"$ref":"#/components/schemas/Commit"},"properties":{}},"customBuild":{"type":"boolean"},"customBuildData":{"type":"object"},"deltaState":{"type":"string","enum":["NONE","PASSING","FAILING","BROKEN","FIXED"]},"duration":{"type":"integer","format":"int64"},"durationDescription":{"type":"string"},"failed":{"type":"boolean"},"finished":{"type":"boolean"},"fixingJiraIssues":{"type":"array","items":{"$ref":"#/components/schemas/LinkedJiraIssue"},"uniqueItems":true},"formatVersion":{"type":"integer","format":"int32"},"fullPlanName":{"type":"string"},"id":{"type":"integer","format":"int64"},"immutableChain":{"$ref":"#/components/schemas/ImmutableChain"},"immutablePlan":{"$ref":"#/components/schemas/ImmutablePlan"},"inProgress":{"type":"boolean"},"jiraIssueKeys":{"type":"array","items":{"type":"string"},"uniqueItems":true},"jiraIssues":{"type":"array","items":{"$ref":"#/components/schemas/LinkedJiraIssue"},"uniqueItems":true},"labelNames":{"type":"array","items":{"type":"string"}},"lifeCycleState":{"type":"string","enum":["Pending","Queued","InProgress","Finished","NotBuilt"]},"logSize":{"type":"integer","format":"int64"},"manuallyOverriddenVariables":{"type":"array","items":{"$ref":"#/components/schemas/VariableSubstitution"}},"markedForDeletion":{"type":"boolean"},"notBuilt":{"type":"boolean"},"notRunYet":{"type":"boolean"},"onceOff":{"type":"boolean"},"pending":{"type":"boolean"},"planIfExists":{"$ref":"#/components/schemas/ImmutablePlan"},"planKey":{"$ref":"#/components/schemas/PlanKey"},"planName":{"type":"string"},"planResultKey":{"$ref":"#/components/schemas/PlanResultKey"},"processingDuration":{"type":"integer","format":"int64"},"processingDurationDescription":{"type":"string"},"queueTime":{"type":"string","format":"date-time"},"queued":{"type":"boolean"},"reasonSummary":{"type":"string"},"rebuild":{"type":"boolean"},"relatedJiraIssues":{"type":"array","items":{"$ref":"#/components/schemas/LinkedJiraIssue"},"uniqueItems":true},"relativeBuildDate":{"type":"string"},"relativeBuildStartedDate":{"type":"string"},"relativeQueueDate":{"type":"string"},"repositoryChangesets":{"type":"array","items":{"$ref":"#/components/schemas/RepositoryChangeset"}},"restartCount":{"type":"integer","format":"int32"},"shortReasonSummary":{"type":"string"},"statDate":{"type":"string","format":"date-time"},"subscriptions":{"type":"array","items":{"$ref":"#/components/schemas/ConsumedSubscription"}},"substitutedVariables":{"type":"array","items":{"$ref":"#/components/schemas/VariableSubstitution"}},"substitutedVariablesEncrypted":{"type":"array","items":{"$ref":"#/components/schemas/VariableSubstitution"}},"successful":{"type":"boolean"},"testResultsSummary":{"$ref":"#/components/schemas/TestResultsSummary"},"testSummary":{"type":"string"},"timeToFix":{"type":"integer","format":"int64"},"triggerReason":{"$ref":"#/components/schemas/TriggerReason"},"uniqueAuthors":{"type":"array","items":{"$ref":"#/components/schemas/Author"},"uniqueItems":true},"variableContextBaselineId":{"type":"integer","format":"int64"},"variableContextLogs":{"type":"array","items":{"$ref":"#/components/schemas/VariableContextSnapshot"}},"variableContextLogsEncrypted":{"type":"array","items":{"$ref":"#/components/schemas/VariableContextSnapshot"}},"waiting":{"type":"boolean"}}},"RunExpiryResponse":{"properties":{"statusUrl":{"type":"string"}}},"SearchResult":{"properties":{"entity":{"$ref":"#/components/schemas/SearchResultEntity"},"entityType":{"type":"string","xml":{"attribute":true,"name":"type"}},"id":{"type":"string","xml":{"attribute":true}}}},"SearchResultEntity":{"properties":{"id":{"type":"string","xml":{"attribute":true}},"type":{"type":"string"}}},"SearchResultsList":{"properties":{"maxResult":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"max-result"}},"mayHaveMore":{"type":"boolean","xml":{"attribute":true}},"searchResults":{"type":"array","items":{"$ref":"#/components/schemas/SearchResult"}},"startIndex":{"type":"integer","format":"int32","xml":{"attribute":true,"name":"start-index"}}}},"SecuritySettingsLink":{"properties":{"link":{"type":"string","example":"http://{baseurl}/rest/admin/latest/security/settings"}}},"SimpleRestArtifactHandler":{"properties":{"nonsharedArtifactsEnabled":{"type":"boolean"},"self":{"type":"string","readOnly":true},"sharedArtifactsEnabled":{"type":"boolean"}}},"StageVariableContext":{"properties":{"chainStageResult":{"$ref":"#/components/schemas/ChainStageResult"},"id":{"type":"integer","format":"int64"},"key":{"type":"string"},"value":{"type":"string"},"variableType":{"type":"string","enum":["GLOBAL","PLAN","JOB","MANUAL","CUSTOM","SYSTEM","UNKNOWN","ENVIRONMENT","VERSION","RESULT","PROJECT"]}}},"Status":{"properties":{"message":{"type":"string","example":"Too many request invoked by Joe"},"statusCode":{"type":"integer","format":"int32","example":429,"xml":{"name":"status-code"}}}},"TaskConditionConfig":{"properties":{"conditionPluginKey":{"type":"string"},"configuration":{"type":"object"}}},"TaskDefinition":{"properties":{"conditions":{"type":"array","items":{"$ref":"#/components/schemas/TaskConditionConfig"}},"configuration":{"type":"object"},"enabled":{"type":"boolean"},"entityType":{"type":"string","enum":["CHAIN","STAGE","JOB","REPOSITORY","CHAIN_BRANCH","JOB_BRANCH","TASK","PROJECT","ARTIFACT_DEFINITION","DEPLOYMENT_PROJECT","SHARED_CREDENTIAL"]},"finalising":{"type":"boolean"},"id":{"type":"integer","format":"int64"},"oid":{"$ref":"#/components/schemas/BambooEntityOid"},"pluginKey":{"type":"string"},"rootDirectorySelector":{"$ref":"#/components/schemas/TaskRootDirectorySelector"},"userDescription":{"type":"string"}}},"TaskRootDirectorySelector":{"properties":{"repositoryDefiningWorkingDirectory":{"type":"integer","format":"int64"},"taskRootDirectoryType":{"type":"string","enum":["INHERITED","DEFAULT","REPOSITORY"]}}},"TestCase":{"properties":{"averageDuration":{"type":"integer","format":"int64"},"averageDurationInSeconds":{"type":"integer","format":"int64"},"firstRanBuildNumber":{"type":"integer","format":"int32"},"id":{"type":"integer","format":"int64"},"lastRanBuildNumber":{"type":"integer","format":"int32"},"lastRecordedBuildNumber":{"type":"integer","format":"int32"},"linkedJiraIssueKey":{"type":"string"},"methodName":{"type":"string"},"name":{"type":"string"},"numberOfFailedRuns":{"type":"integer","format":"int32"},"numberOfSkippedRuns":{"type":"integer","format":"int32"},"numberOfSuccessRuns":{"type":"integer","format":"int32"},"quarantineStatistics":{"$ref":"#/components/schemas/QuarantineStatistics"},"quarantined":{"type":"boolean"},"successPercentage":{"type":"number","format":"double"},"testClass":{"$ref":"#/components/schemas/TestClass"},"totalTestRuns":{"type":"integer","format":"int32"}}},"TestCaseResult":{"properties":{"deltaState":{"type":"string","enum":["NONE","PASSING","FAILING","BROKEN","FIXED","SKIPPED"]},"duration":{"type":"integer","format":"int64"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/TestCaseResultError"}},"failingSince":{"type":"integer","format":"int32"},"id":{"type":"integer","format":"int64"},"methodName":{"type":"string"},"name":{"type":"string"},"prettyDuration":{"type":"string"},"quarantined":{"type":"boolean"},"state":{"type":"string","enum":["SUCCESS","SKIPPED","FAILED"]},"testCase":{"$ref":"#/components/schemas/TestCase"},"testClassResult":{"$ref":"#/components/schemas/TestClassResult"}}},"TestCaseResultError":{"properties":{"content":{"type":"string"},"id":{"type":"integer","format":"int64"},"testCaseResult":{"$ref":"#/components/schemas/TestCaseResult"}}},"TestClass":{"properties":{"id":{"type":"integer","format":"int64"},"masterJobId":{"type":"integer","format":"int64"},"name":{"type":"string"},"plan":{"$ref":"#/components/schemas/Plan"},"shortName":{"type":"string"},"testCaseCollection":{"type":"array","items":{"$ref":"#/components/schemas/TestCase"}},"testCases":{"type":"array","items":{"$ref":"#/components/schemas/TestCase"}}}},"TestClassResult":{"properties":{"buildResultsSummary":{"$ref":"#/components/schemas/BuildResultsSummary"},"duration":{"type":"integer","format":"int64"},"failedTestCount":{"type":"integer","format":"int32"},"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"shortName":{"type":"string"},"skippedTestCount":{"type":"integer","format":"int32"},"successfulTestCount":{"type":"integer","format":"int32"},"testCaseResults":{"type":"array","items":{"$ref":"#/components/schemas/TestCaseResult"}},"testCaseResultsSet":{"type":"array","items":{"$ref":"#/components/schemas/TestCaseResult"},"uniqueItems":true},"testClass":{"$ref":"#/components/schemas/TestClass"}}},"TestConnectionResultDto":{"properties":{"clientVersion":{"type":"string"},"errorMessage":{"type":"string"},"serverVersion":{"type":"string"},"success":{"type":"boolean"}}},"TestResultsSummary":{"properties":{"existingFailedTestCount":{"type":"integer","format":"int32"},"failedTestCaseCount":{"type":"integer","format":"int32"},"fixedTestCaseCount":{"type":"integer","format":"int32"},"ignoredTestCaseCount":{"type":"integer","format":"int32"},"newFailedTestCaseCount":{"type":"integer","format":"int32"},"quarantinedTestCaseCount":{"type":"integer","format":"int32"},"skippedTestCaseCount":{"type":"integer","format":"int32"},"successfulTestCaseCount":{"type":"integer","format":"int32"},"testSummaryDescription":{"type":"string"},"totalTestCaseCount":{"type":"integer","format":"int32"},"totalTestDuration":{"type":"integer","format":"int64"}}},"TriggerDefinition":{"properties":{"configuration":{"type":"object"},"enabled":{"type":"boolean"},"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"pluginKey":{"type":"string"},"triggerConditionsConfiguration":{"type":"object"},"triggeringRepositories":{"type":"array","items":{"type":"integer","format":"int64"},"uniqueItems":true},"userDescription":{"type":"string"}}},"TriggerReason":{"properties":{"key":{"type":"string"},"name":{"type":"string"},"nameForSentence":{"type":"string"}}},"User":{"properties":{"email":{"type":"string"},"enabled":{"type":"boolean"},"fullName":{"type":"string"},"name":{"type":"string"}}},"UserBean":{"properties":{"email":{"type":"string"},"fullName":{"type":"string"},"name":{"type":"string"}}},"VariableContextSnapshot":{"properties":{"id":{"type":"integer","format":"int64"},"key":{"type":"string"},"resultSummary":{"$ref":"#/components/schemas/ResultsSummary"},"value":{"type":"string"},"variableType":{"type":"string","enum":["GLOBAL","PLAN","JOB","MANUAL","CUSTOM","SYSTEM","UNKNOWN","ENVIRONMENT","VERSION","RESULT","PROJECT"]}}},"VariableDefinition":{"properties":{"deploymentVersionId":{"type":"integer","format":"int64"},"environmentId":{"type":"integer","format":"int64"},"id":{"type":"integer","format":"int64"},"key":{"type":"string"},"plan":{"$ref":"#/components/schemas/Plan"},"projectId":{"type":"integer","format":"int64"},"root":{"$ref":"#/components/schemas/Plan"},"value":{"type":"string"},"variableType":{"type":"string","enum":["GLOBAL","PLAN","JOB","MANUAL","CUSTOM","SYSTEM","UNKNOWN","ENVIRONMENT","VERSION","RESULT","PROJECT"]}}},"VariableSubstitution":{"properties":{"id":{"type":"integer","format":"int64"},"key":{"type":"string"},"resultSummary":{"$ref":"#/components/schemas/ResultsSummary"},"value":{"type":"string"},"variableType":{"type":"string","enum":["GLOBAL","PLAN","JOB","MANUAL","CUSTOM","SYSTEM","UNKNOWN","ENVIRONMENT","VERSION","RESULT","PROJECT"]}}},"VariableSubstitutionContext":{"properties":{"key":{"type":"string"},"value":{"type":"string"},"variableType":{"type":"string","enum":["GLOBAL","PLAN","JOB","MANUAL","CUSTOM","SYSTEM","UNKNOWN","ENVIRONMENT","VERSION","RESULT","PROJECT"]}}},"VcsBambooSpecsDetectionOptions":{"properties":{"bambooSpecsDetection":{"type":"boolean","writeOnly":true},"bambooSpecsDetectionEnabled":{"type":"boolean"},"configuration":{"type":"object"}}},"VcsBambooSpecsSource":{"properties":{"id":{"type":"integer","format":"int64"},"sourceLocation":{"type":"string"},"vcsLocationBambooSpecsState":{"$ref":"#/components/schemas/VcsLocationBambooSpecsState"},"yamlConfiguration":{"type":"boolean"}}},"VcsBranch":{"properties":{"displayName":{"type":"string"},"name":{"type":"string"}}},"VcsBranchDefinition":{"properties":{"configuration":{"type":"object"},"vcsBranch":{"$ref":"#/components/schemas/VcsBranch"}}},"VcsBranchDetectionOptions":{"properties":{"configuration":{"type":"object"}}},"VcsChangeDetectionOptions":{"properties":{"changesetFilterPatternRegex":{"type":"string"},"commitIsolationEnabled":{"type":"boolean"},"configuration":{"type":"object"},"filterFilePatternOption":{"type":"string"},"filterFilePatternRegex":{"type":"string"},"maxRetries":{"type":"integer","format":"int32"},"quietPeriod":{"type":"integer","format":"int32"},"quietPeriodEnabled":{"type":"boolean"}}},"VcsLocationBambooSpecsState":{"properties":{"branch":{"type":"string"},"id":{"type":"integer","format":"int64"},"logFilename":{"type":"string"},"revision":{"type":"string"},"specImportState":{"type":"string","enum":["SUCCESS","ERROR"]},"specsExecutionDate":{"type":"string","format":"date-time"},"specsNotFound":{"type":"boolean"},"vcsLocationId":{"type":"integer","format":"int64"}}},"VcsLocationDefinition":{"properties":{"configuration":{"type":"object"},"legacyConfigurationXml":{"type":"string"},"legacyRepository":{"type":"boolean"}}},"VcsRepositoryViewerDefinition":{"properties":{"configuration":{"type":"object"},"legacyConfigurationXml":{"type":"string"},"legacyViewer":{"type":"boolean"},"pluginKey":{"type":"string"}}},"VersionName":{},"VersionPreview":{"properties":{"commitCount":{"type":"integer","format":"int32","writeOnly":true},"commitUrl":{"type":"string","writeOnly":true},"differentBranchAsPreviousRelease":{"type":"boolean","writeOnly":true},"differentBuildPlan":{"type":"boolean","writeOnly":true},"id":{"type":"integer","format":"int64","writeOnly":true},"issueCount":{"type":"integer","format":"int32","writeOnly":true},"issueUrl":{"type":"string","writeOnly":true},"lastCreatedVersionId":{"type":"integer","format":"int64","writeOnly":true},"lastCreatedVersionName":{"type":"string","writeOnly":true},"name":{"type":"string","writeOnly":true},"numEnvironments":{"type":"integer","format":"int32","writeOnly":true},"numEnvironmentsDeployedFailed":{"type":"integer","format":"int32","writeOnly":true},"numEnvironmentsDeployedSuccessful":{"type":"integer","format":"int32","writeOnly":true},"planBranchName":{"type":"string","writeOnly":true},"previousVersionId":{"type":"integer","format":"int64","writeOnly":true},"previousVersionName":{"type":"string","writeOnly":true},"rollback":{"type":"boolean","writeOnly":true},"versionGeneralState":{"type":"string","enum":["Unknown","Approved","Broken","Incomplete"],"writeOnly":true},"versionStatuses":{"type":"array","items":{"$ref":"#/components/schemas/RestDeploymentVersionStatus"},"writeOnly":true}}},"VersionVariables":{"properties":{"buildVariables":{"type":"array","items":{"$ref":"#/components/schemas/RestVariableDefinitionContext"}},"incrementableVariables":{"type":"array","items":{"$ref":"#/components/schemas/RestVariableDefinitionContext"}}}},"WeightedDescriptor":{"properties":{"weight":{"type":"integer","format":"int32"}}}}},"paths":{"/responsibility/latest/brokenBuild/byUser/{name}":{"get":{"description":"Get broken builds for user.","operationId":"getBrokenBuildsForUser","parameters":[{"in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"in":"query","name":"start","schema":{"type":"integer","format":"int32","default":0}},{"description":"User name","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"If response should include other responsible users","in":"query","name":"showAllResponsible","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestBrokenPlan"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"List of plan keys with responsible users"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Plan does not exist or user doesn't have permission to view it"},"403":{"content":{"application/json":{}},"description":"User has no admin permission"}}}},"/responsibility/latest/brokenBuild/myBrokenBuilds":{"get":{"description":"Get broken builds for logged in user.","operationId":"getMyBrokenBuilds","parameters":[{"in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"in":"query","name":"start","schema":{"type":"integer","format":"int32","default":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestBrokenPlan"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"List of plan keys with responsible users"}}}},"/responsibility/latest/brokenBuild/{planResultKeyOrPlanKey}":{"get":{"description":"Get responsible users for broken build result or plan.","operationId":"getResponsibleForPlanResult","parameters":[{"description":"User name","in":"path","name":"name","required":true,"schema":{"type":"string"}},{"description":"Chain result or plan key, e.g. PROJ-PLAN or PROJ-PLAN-2","in":"path","name":"planResultKeyOrPlanKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"Plan key with responsible users"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Plan (result) key is not valid or user has no permission to view plan"}}}},"/responsibility/latest/brokenBuild/{planResultKeyOrPlanKey}/{name}":{"delete":{"description":"Remove user's responsibility from broken build.","operationId":"removeResponsible","parameters":[{"description":"User name","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Chain result or plan key, e.g. PROJ-PLAN or PROJ-PLAN-2","in":"path","name":"planResultKeyOrPlanKey","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Successfully removed user as responsible or user was not responsible for broken build"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Requested build has not failed or does not exist"},"401":{"content":{"application/json":{}},"description":"User is not authenticated"}}},"post":{"description":"Add a responsible user for broken build.","operationId":"addResponsible","parameters":[{"description":"User name","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Chain result or plan key, e.g. PROJ-PLAN or PROJ-PLAN-2","in":"path","name":"planResultKeyOrPlanKey","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Successfully added user as responsible or user is already responsible for broken build"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Plan does not exist or user doesn't have permission to view it"},"401":{"content":{"application/json":{}},"description":"User is not authenticated"}}}},"/triggers/latest/remote/changeDetection":{"post":{"description":"Schedule change detection","operationId":"scheduleChangeDetection","parameters":[{"description":"by default, the change detection will run for all branches. If this parameter is set to true, the change detection will run only for the chain","in":"query","name":"skipBranches","schema":{"type":"boolean"}},{"description":"The chain or branch to trigger","in":"query","name":"planKey","required":true,"schema":{"type":"string"}}],"responses":{"400":{"content":{"application/json":{}},"description":"Plan key not specified."},"403":{"content":{"application/json":{}},"description":"Building has been disabled."},"404":{"content":{"application/json":{}},"description":"Could not find the plan."}},"tags":["Triggers"]}},"/admin/latest/artifactHandlers/agentLocal":{"get":{"description":"Retrieve configuration of Agent-Local Artifact Handler.","operationId":"getAgentLocalArtifactHandler","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestArtifactHandler"}}},"description":"Configuration of Agent-Local Artifact Handler"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If artifact handler dark feature is not enabled"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission"}}},"put":{"description":"Update Agent-Local Artifact Handler configuration.","operationId":"updateAgentLocalHandler","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestArtifactHandler"}}},"description":"New configuration of the artifact handler. If a configuration attribute is not present in the request, the previously stored value is used","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestArtifactHandler"}}},"description":"Configuration of updated Agent Local Artifact handler"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If artifact handler dark feature is not enabled"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission"}}}},"/admin/latest/artifactHandlers/bambooRemote":{"get":{"description":"Retrieve configuration of Bamboo Server Artifact Handler.","operationId":"getBambooRemoteArtifactHandler","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleRestArtifactHandler"}}},"description":"Configuration of Bamboo Server Artifact Handler"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If artifact handler dark feature is not enabled"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission"}}},"put":{"description":"Update Bamboo Server Artifact Handler configuration.","operationId":"updateBambooRemoteHandler","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleRestArtifactHandler"}}},"description":"New configuration of the artifact handler. If a configuration attribute is not present in the request, the previously stored value is used","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestArtifactHandler"}}},"description":"Configuration of updated Bamboo Server artifact handler"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If artifact handler dark feature is not enabled"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission"}}}},"/admin/latest/artifactHandlers/s3":{"get":{"description":"Retrieve configuration of S3 Artifact Handler.","operationId":"getS3ArtifactHandler","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestArtifactHandler"}}},"description":"Configuration of S3 Artifact Handler"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If artifact handler dark feature is not enabled"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission"}}},"put":{"description":"Update S3 Artifact Handler configuration.","operationId":"updateS3Handler","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestArtifactHandler"}}},"description":"New configuration of the artifact handler. If a configuration attribute is not present in the request, the previously stored value is used","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestArtifactHandler"}}},"description":"Configuration of updated S3 Artifact handler"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If artifact handler dark feature is not enabled"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission"}}}},"/admin/latest/artifactHandlers/sftp":{"get":{"description":"Retrieve configuration of SFTP Artifact Handler.","operationId":"getSftpArtifactHandler","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleRestArtifactHandler"}}},"description":"Configuration of SFTP Artifact Handler"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If artifact handler dark feature is not enabled"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission"}}},"put":{"description":"Update SFTP Artifact Handler configuration.","operationId":"updateSftpHandler","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleRestArtifactHandler"}}},"description":"New configuration of the artifact handler. If a configuration attribute is not present in the request, the previously stored value is used","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestArtifactHandler"}}},"description":"Configuration of updated SFTP artifact handler"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If artifact handler dark feature is not enabled"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission"}}}},"/admin/latest/config/agents":{"get":{"description":"Return collection of all agents of all types.","operationId":"getAgents","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestAgent"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"All agents of all types and links to each"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission to view agents"}}}},"/admin/latest/config/agents/{agentId}":{"get":{"description":"Retrieve a build agent definition by id.","operationId":"getAgentById","parameters":[{"description":"Id of the agent","in":"path","name":"agentId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAgent"}}},"description":"Agent definition of agent with the id"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission to view agent"},"404":{"content":{"application/json":{}},"description":"If the agent does not exist"}}},"put":{"description":"Update agent details","operationId":"updateRestAgent","parameters":[{"description":"Id of the agent","in":"path","name":"agentId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAgent"}}},"description":"RestAgent that contains the update values","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAgent"}}},"description":"Updated agent successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If the new agent is invalid"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission to update agent"},"404":{"content":{"application/json":{}},"description":"If the agent does not exist"}}}},"/admin/latest/config/auditLog":{"get":{"description":"Retrieve audit log settings.","operationId":"getAuditLogConfiguration","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAuditLogConfiguration"}}},"description":"Audit log settings"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission to view audit log settings"}}},"put":{"description":"Enable/disable audit log.","operationId":"updateAuditLogConfiguration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAuditLogConfiguration"}}},"description":"Audit log settings","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAuditLogConfiguration"}}},"description":"Enable/disable audit log successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If an invalid setting is given"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission to enable/disable audit log"}}}},"/admin/latest/config/build/concurrency":{"get":{"description":"Retrieve build concurrency settings.","operationId":"getBuildConcurrency","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestBuildConcurrency"}}},"description":"Bamboo build concurrency settings"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission to view build concurrency settings"}}},"put":{"description":"Update build concurrency settings. Partially update supported.","operationId":"updateRestBuildConcurrency","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestBuildConcurrency"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestBuildConcurrency"}}},"description":"Status of the update operation"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If an invalid setting is given"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission to update build concurrency settings."}}}},"/admin/latest/config/build/monitoring":{"get":{"description":"Retrieve build monitoring settings","operationId":"getBuildMonitoring","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestBuildMonitoring"}}},"description":"Bamboo build monitoring settings"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission to view build monitoring settings"}}},"put":{"description":"Update build monitoring settings. Partially update supported.","operationId":"updateRestBuildMonitoring","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestBuildMonitoring"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildMonitoringLink"}}},"description":"Status of the update operation and a link to the REST endpoint"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If an invalid setting is given"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission to update build monitoring"}}}},"/admin/latest/config/general":{"get":{"description":"Retrieve Bamboo server general configurations.","operationId":"getGeneralConfiguration","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestGeneralConfiguration"}}},"description":"Bamboo general configuration"},"403":{"content":{"application/json":{}},"description":"The user lacks restricted admin permission to view general configuration"}}},"put":{"description":"Update bamboo server general configurations. Partially update supported.","operationId":"updateGeneralConfiguration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestGeneralConfiguration"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestBuildConcurrency"}}},"description":"Update successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Error messages about invalid parameters. E.g. gravatar support enabled but no gravatar server url specified"},"403":{"content":{"application/json":{}},"description":"The user lacks restricted admin permission to update general configuration"}}}},"/admin/latest/config/imServer":{"delete":{"description":"Delete current IM Server configuration.","operationId":"deleteIMServerConfiguration","responses":{"204":{"description":"Current IM server configuration is deleted"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission to delete IM configuration"},"404":{"content":{"application/json":{}},"description":"If no IM server is configured"}}},"get":{"description":"Get instant message server configuration.","operationId":"getIMServerConfig","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestIMServerConfiguration"}}},"description":"Current IM server configuration"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission to view IM configuration"},"404":{"content":{"application/json":{}},"description":"If no IM server is configured"}}},"put":{"description":"Update or create existing IM server configuration in bamboo. If IM server is already configured in bamboo, update existing configuration. Otherwise, create IM server configuration.","operationId":"updateIMServerConfig","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestIMServerConfiguration"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestIMServerConfiguration"}}},"description":"Updated IM server configuration"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If invalid configuration is provided, e.g. missing host, invalid port, etc."},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission to update IM configuration"}}}},"/admin/latest/config/mailServer":{"delete":{"description":"Delete current mail configuration.","operationId":"deleteMailConfiguration","responses":{"204":{"description":"Successfully deleted mail configuration"},"403":{"content":{"application/json":{}},"description":"The user lacks the system administrator permissions to delete mail server config"},"404":{"content":{"application/json":{}},"description":"Mail server configuration does not exist"}}},"get":{"description":"Retrieve the current mail server configuration.","operationId":"getMailConfiguration","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestMailConfiguration"}}},"description":"Mail Server configuration"},"403":{"content":{"application/json":{}},"description":"The user lacks the system administrator permissions to get mailserver config"},"404":{"content":{"application/json":{}},"description":"Mail configuration server is not set"}}},"put":{"description":"Update the mail server configuration.","operationId":"updateMailConfiguration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestMailConfiguration"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestMailConfiguration"}}},"description":"Updated mail server configuration"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If invalid configuration is provided, e.g. missing host, invalid port, etc."},"403":{"content":{"application/json":{}},"description":"User lacks administrator permissions to update mail configuration"}}}},"/admin/latest/config/quarantine":{"get":{"description":"Retrieve Bamboo quarantine settings.","operationId":"getQuarantineSettings","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestQuarantineConfig"}}},"description":"Current quarantine settings"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission"}}},"put":{"description":"Update Bamboo quarantine settings.","operationId":"updateQuarantineSettings","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestQuarantineConfig"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestQuarantineConfig"}}},"description":"Quarantine settings of Bamboo is updated successfully, return updated config"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission"}}}},"/admin/latest/config/remoteAgentSupport":{"get":{"description":"Retrieve the remote agent configuration","operationId":"getRemoteAgentConfiguration","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestRemoteAgentConfiguration"}}},"description":"Remote agent support configuration"},"403":{"content":{"application/json":{}},"description":"The user lacks restricted administration permission to view this information"}}},"put":{"description":"Update the remote agent configuration","operationId":"updateRemoteAgentConfiguration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestRemoteAgentConfiguration"}}},"description":"Remote agent configuration","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestRemoteAgentConfiguration"}}},"description":"The remote agent configuration after the update"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"if there was an error in changing the remote agent support"},"403":{"content":{"application/json":{}},"description":"User lacks restricted admin permission to alter remote agent support"}}}},"/admin/latest/darkFeatures":{"get":{"description":"Retrieves a list of dark features that are enabled for all users.","operationId":"getAll","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestDarkFeature"}}}},"description":"A list of dark features that are enabled for all users"}}}},"/admin/latest/darkFeatures/{key}":{"get":{"description":"Retrieves whether a given dark feature key is enabled for this instance.","operationId":"get","parameters":[{"description":"key of the dark feature","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDarkFeature"}}},"description":"Status of the dark feature for this instance"}}},"put":{"description":"Enable or disable a dark feature for all users of this instance.","operationId":"put","parameters":[{"description":"key of the dark feature","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDarkFeature"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDarkFeature"}}},"description":"The updated dark feature"},"403":{"content":{"application/json":{}},"description":"If the user lacks permissions to update dark features for all users"}}}},"/admin/latest/darkFeatures/{key}/user/{userName}":{"get":{"description":"Retrieves whether a given dark feature key is enabled for a given user. A dark feature is enabled for a user if its either enabled for this instance or for the specific user.","operationId":"getForUser","parameters":[{"description":"the user for which the status of the dark feature needs to be checked for","in":"path","name":"userName","required":true,"schema":{"type":"string"}},{"description":"key of the dark feature","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestUserDarkFeature"}}},"description":"Status of the dark feature for the given user"},"404":{"content":{"application/json":{}},"description":"If the user was not found"}}},"put":{"description":"Enable or disable a dark feature for a given user.","operationId":"put_1","parameters":[{"description":"the username of the user for which the dark feature has to be enabled/disabled","in":"path","name":"userName","required":true,"schema":{"type":"string"}},{"description":"key of the dark feature","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDarkFeature"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestUserDarkFeature"}}},"description":"The updated dark feature"},"403":{"content":{"application/json":{}},"description":"If the user lacks permissions to update dark features for the given user"},"404":{"content":{"application/json":{}},"description":"If the user was not found"}}}},"/admin/latest/elastic/config":{"get":{"description":"Retrieves the current elastic configuration.","operationId":"getRestElasticConfiguration","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestElasticConfiguration"}}},"description":"Current elastic configuration of bamboo server"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission"}}},"put":{"description":"Update elastic configuration.","operationId":"updateRestElasticConfiguration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestElasticConfiguration"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestElasticConfiguration"}}},"description":"Updated elastic configuration"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If an invalid elastic configuration is given"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permissions to update the elastic configuration"}}}},"/admin/latest/ephemeral/config":{"get":{"description":"Retrieves ephemeral agents configuration.","operationId":"getConfiguration","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EphemeralAgentsConfigurationDTO"}}},"description":"Ephemeral agents configuration"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission"}}},"put":{"description":"Modify ephemeral agents configuration.","operationId":"saveConfiguration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EphemeralAgentsConfigurationDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EphemeralAgentsConfigurationDTO"}}},"description":"Ephemeral agents configuration"},"400":{"content":{"application/json":{}},"description":"If required data is not provided or invalid"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission"}}}},"/admin/latest/ephemeral/config/test-connection":{"post":{"description":"Test connection to ephemeral agents provider.","operationId":"testConnection","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EphemeralAgentsConfigurationDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestConnectionResultDto"}}},"description":"Result of connection testing"},"400":{"content":{"application/json":{}},"description":"If required data is not provided"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission"}}}},"/admin/latest/expiry/configuration":{"get":{"description":"Retrieves global build and deployment expiry configuration for this Bamboo instance.","operationId":"getConfiguration_1","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestCombinedExpiryConfiguration"}}},"description":"Current expiry configuration"},"403":{"content":{"application/json":{}},"description":"If the user lacks system admin permission"}}},"put":{"description":"Update global build and deployment expiry configuration for this Bamboo instance. Partial configuration is not allowed (it will fail validation).","operationId":"setConfiguration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestCombinedExpiryConfiguration"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestCombinedExpiryConfiguration"}}},"description":"Newly saved expiry configuration"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Validation errors"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permissions to update the elastic configuration"}}}},"/admin/latest/expiry/run":{"put":{"description":"Executes build and deployment expiry process. Will only start each process if it's not currently running.","operationId":"run","responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunExpiryResponse"}}},"description":"Expiration process status"},"403":{"content":{"application/json":{}},"description":"If the user lacks system admin permission"}}}},"/admin/latest/expiry/status":{"get":{"description":"Retrieves build and deployment expiry status.","operationId":"getStatus","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestCombinedExpiryStatus"}}},"description":"Status of both build and deployment expiry, containing information whether expiry is currently running and the last expiry execution date"},"403":{"content":{"application/json":{}},"description":"If the user lacks system admin permission"}}}},"/admin/latest/globalVariables":{"get":{"description":"Return collection of all global variables. Value of variables that contain password in name will be encrypted with salted hash.","operationId":"getGlobalVariables","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestGlobalVariables"}}},"description":"Collection of all global variables"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission to view global variables"}}},"post":{"description":"Create a single global variable.","operationId":"createGlobalVariable","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestGlobalVariable"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestGlobalVariable"}}},"description":"Global variable that is created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If contains invalid input, e.g. illegal variable name, variable already exists"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission to create global variables"},"404":{"content":{"application/json":{}},"description":"If the variable does not exist"}}}},"/admin/latest/globalVariables/verify":{"put":{"description":"Server side verification that the encrypted value of a global variable has changed.","operationId":"verifyGlobalVariableValue","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestVerificationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{}},"description":"Variable value matches provided value"},"400":{"content":{"application/json":{}},"description":"If variable name or value format is wrong"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission to fetch global variables"},"404":{"content":{"application/json":{}},"description":"If the variable does not exist"},"409":{"content":{"application/json":{}},"description":"The variable value doesn't match provided value"}}}},"/admin/latest/globalVariables/{variableId}":{"delete":{"description":"Delete a global variable.","operationId":"deleteGlobalVariable","parameters":[{"description":"Id of the variable to be deleted","in":"path","name":"variableId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Variable deleted successfully"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission to delete global variables"},"404":{"content":{"application/json":{}},"description":"If the variable does not exist"}}},"get":{"description":"Retrieve a global variable definition. Value will be encrypted if variable name contains key word password.","operationId":"getGlobalVariable","parameters":[{"description":"Id of the variable","in":"path","name":"variableId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestGlobalVariable"}}},"description":" Variable definition which contains name, value and link to the variable"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission to view global variables"},"404":{"content":{"application/json":{}},"description":"If the variable does not exist"}}},"put":{"description":"Update value of a global variable.","operationId":"updateGlobalVariable","parameters":[{"description":"Id of the variable","in":"path","name":"variableId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestGlobalVariable"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestGlobalVariable"}}},"description":" Update variable successfully"},"403":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission to create global variables"},"404":{"content":{"application/json":{}},"description":"If the user lacks restricted admin permission to update global variables"}}}},"/admin/latest/scheduler/jobs":{"get":{"description":"Gets the collection of jobs currently scheduled to run.","operationId":"getJobs","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestScheduledJob"}}}},"description":"Collection of jobs successfully retrieved"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Issues with access to underlying scheduler"},"403":{"content":{"application/json":{}},"description":"Current user does not have sufficient privileges to fetch list of scheduled tasks"}}}},"/admin/latest/scheduler/jobs/trigger":{"post":{"description":"Trigger background job execution.","operationId":"triggerJob","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestScheduledJob"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestQuarantineConfig"}}},"description":"Job is scheduled for execution"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Issues with access to underlying scheduler"},"403":{"content":{"application/json":{}},"description":"Current user does not have sufficient privileges to trigger background job"}}}},"/admin/latest/security/groups":{"get":{"description":"Retrieve a list of groups in Bamboo. The list can be filtered by some attributes, e.g. name. Name is mandatory. Since name is unique, the result only contains 0 or 1 entry.","operationId":"getGroup","parameters":[{"description":"Name of group","in":"query","name":"name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestGroup"}}}},"description":"list of groups"},"400":{"content":{"application/json":{}},"description":"If group name is empty or invalid"},"403":{"content":{"application/json":{}},"description":"If the user lacks system admin permission"}}},"post":{"description":"Create a group.","operationId":"createGroup","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestGroup"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestGroup"}}},"description":"Created group"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Group name is not valid, group already exists or group creation is not allowed"},"403":{"content":{"application/json":{}},"description":"User does not have System Admin permission"}}}},"/admin/latest/security/settings":{"get":{"description":"Retrieve security settings.","operationId":"getSecuritySettings","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestSecuritySettings"}}},"description":"Bamboo security settings"},"403":{"content":{"application/json":{}},"description":"If the user lacks system admin permissions to view security settings"}}},"put":{"description":"Update security settings. Partial update supported.","operationId":"updateRestSecuritySettings","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestSecuritySettings"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecuritySettingsLink"}}},"description":"Link to the REST endpoint"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If invalid settings are given"},"403":{"content":{"application/json":{}},"description":"If the user lacks system administration permissions which are needed to update"}}}},"/admin/latest/security/trustedKey":{"get":{"description":"Get all trusted keys.","operationId":"findAll","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestTrustedKey"}}}},"description":"A list of trusted keys."},"401":{"content":{"application/json":{}},"description":"Authentication required."},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions."},"404":{"content":{"application/json":{}},"description":"Trusted keys feature is disabled."}},"tags":["Trusted keys management"]},"post":{"description":"Create new trusted key.","operationId":"create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestTrustedKey"}}},"description":"Trusted key to add","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestTrustedKey"}}},"description":"Trusted key has been successfully added"},"401":{"content":{"application/json":{}},"description":"Authentication required."},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions."},"404":{"content":{"application/json":{}},"description":"Trusted keys feature is disabled."}},"tags":["Trusted keys management"]}},"/admin/latest/security/trustedKey/{id}":{"delete":{"description":"Delete trusted key.","operationId":"delete","parameters":[{"description":"ID of the trusted key to delete","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Trusted key has been successfully deleted"},"401":{"content":{"application/json":{}},"description":"Authentication required."},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions."},"404":{"content":{"application/json":{}},"description":"Trusted keys feature is disabled."}},"tags":["Trusted keys management"]}},"/admin/latest/session/{name}":{"delete":{"description":"Invalidate active sessions of the given user","operationId":"invalidateUserSessions","parameters":[{"in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Username","in":"path","name":"user","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Requested user sessions have been invalidated"},"403":{"content":{"application/json":{}},"description":"Requesting user has no ADMINISTRATION permissions"},"404":{"content":{"application/json":{}},"description":"Requested user not found"}},"tags":["Session"]}},"/admin/latest/storageSettings":{"get":{"description":"Read storage configuration limits.","operationId":"getStorageConfiguration","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestStorageConfiguration"}}},"description":"The storage limits"},"401":{"content":{"application/json":{}},"description":"Authentication required."},"403":{"content":{"application/json":{}},"description":"If the user lacks permissions to see storage configuration"},"404":{"content":{"application/json":{}},"description":"If feature is not enabled"}},"tags":["Storage configuration"]},"put":{"description":"Set storage configuration limits.","operationId":"saveStorageConfiguration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestStorageConfiguration"}}},"description":"New storage configuration limits","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestStorageConfiguration"}}},"description":"The storage limits"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Request validation has failed"},"401":{"content":{"application/json":{}},"description":"Authentication required."},"403":{"content":{"application/json":{}},"description":"User lacks permissions to see storage configuration"},"404":{"content":{"application/json":{}},"description":"If feature is not enabled"}},"tags":["Storage configuration"]}},"/admin/latest/user":{"post":{"description":"Renames specified user.","operationId":"renameUserPost","parameters":[{"description":"Set to true if the rename has been done externally and Bamboo is notified of it","in":"query","name":"externalRename","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestUserRenameRequest"}}},"description":"User rename request","required":true},"responses":{"204":{"description":"User has been successfully renamed."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Request body is invalid."},"401":{"content":{"application/json":{}},"description":"Authentication required."},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions."},"404":{"content":{"application/json":{}},"description":"The specified user does not exist."}},"tags":["User management"]}},"/admin/latest/user/{newUserName}":{"put":{"description":"Renames specified user.","operationId":"renameUserPut","parameters":[{"description":"User's new username","in":"path","name":"newUserName","required":true,"schema":{"type":"string"}},{"description":"Set to true if the rename has been done externally and Bamboo is notified of it","in":"query","name":"externalRename","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestUserRenameRequest"}}},"description":"User rename request","required":true},"responses":{"204":{"description":"User has been successfully renamed."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Request body is invalid."},"401":{"content":{"application/json":{}},"description":"Authentication required."},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions."},"404":{"content":{"application/json":{}},"description":"The specified user does not exist."}},"tags":["User management"]}},"/api/latest/":{"get":{"description":"Provides list of available REST resources in Bamboo","operationId":"getAllServices","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestResources"}}},"description":"List of available REST resources"}}}},"/api/latest/access-token":{"get":{"description":"Retrieve a page of user's access tokens.","operationId":"getUserTokens","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestAccessToken"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"A page of access tokens."}},"tags":["resource"]},"post":{"description":"Create a new access token for the current user.","operationId":"createAccessToken","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAccessTokenRequest"}}},"description":"request for a token - name is a required field","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAccessToken"}}},"description":"New access tokens with rawToken field value."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Token count limit exceeded, token with same name already exists, general error."}},"tags":["resource"]}},"/api/latest/access-token/{tokenId}":{"delete":{"description":"Revoke current user's access token.","operationId":"revokeToken","parameters":[{"description":"id of the token","in":"path","name":"tokenId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"When token has been successfully revoked."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"User doesn't own provided token. The response will hold additional information."}},"tags":["resource"]}},"/api/latest/admin/expiry/custom/plan":{"get":{"description":"Get list of all plans where user has admin permission and which override global expiry settings. If global expiry is not enabled it returns empty response.","operationId":"findPlansWithCustomExpirySettings","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/PlanWithCustomExpirySettings"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"List of plans with custom expiry settings sorted by project name and plan name"}}}},"/api/latest/admin/expiry/custom/plan/{planKey}":{"delete":{"description":"Delete custom plan expiry settings.","operationId":"removePlanCustomExpirySettings","parameters":[{"description":"key of plan with custom expiry settings","in":"path","name":"planKey","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"When plan expiry settings were disabled"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When can't parse plan key"},"403":{"content":{"application/json":{}},"description":"When user don't have admin permissions for plan"},"404":{"content":{"application/json":{}},"description":"When can't find plan by key"}}}},"/api/latest/admin/groups":{"get":{"description":"Retrieve a paginated list of groups. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"getGroups","parameters":[{"description":"If specified only group names containing the supplied string (case insensitive) will be returned","in":"query","name":"filter","schema":{"type":"string"}},{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestGroup"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"A page of groups"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"}},"tags":["User management"]},"post":{"description":"Create a new group. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"createGroup_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestGroup"}}},"description":"Group to create","required":true},"responses":{"204":{"description":"When group has been created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When group couldn't be created. The response will hold additional information"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"}},"tags":["User management"]}},"/api/latest/admin/groups/{name}":{"delete":{"description":"Deletes the specified group, removing it from the system. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"deleteGroup","parameters":[{"description":"The name identifying the group to delete","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}}],"responses":{"204":{"description":"When group was deleted successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When group couldn't be deleted. The response will hold additional information"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"},"404":{"content":{"application/json":{}},"description":"The specified group does not exist"}},"tags":["User management"]}},"/api/latest/admin/groups/{name}/add-users":{"post":{"description":"Add multiple users to a group. The list of usernames should be passed as request body. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"addUsersToGroup","parameters":[{"description":"The name identifying the group","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Usernames of users to add"},"responses":{"204":{"description":"All the users were added to the group"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When the users couldn't be added to the group. The response will hold additional information"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"},"404":{"content":{"application/json":{}},"description":"The specified group or users do not exist"}},"tags":["User management"]}},"/api/latest/admin/groups/{name}/more-members":{"get":{"description":"Retrieves a list of users that are members of a specified group. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"findUsersInGroup","parameters":[{"description":"If specified only users with usernames, display names or email addresses containing the supplied string (case insensitive) will be returned","in":"query","name":"filter","schema":{"type":"string"}},{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"The group which should be used to locate members","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUserDetails"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"A page of users"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"},"404":{"content":{"application/json":{}},"description":"The specified group or users do not exist"}},"tags":["User management"]}},"/api/latest/admin/groups/{name}/more-non-members":{"get":{"description":"Retrieves a list of users that are not members of a specified group. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"findUsersNotInGroup","parameters":[{"description":"If specified only users with usernames, display names or email addresses containing the supplied string will be returned","in":"query","name":"filter","schema":{"type":"string"}},{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"The group which should be used to locate non-members","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUserDetails"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"A page of users"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"}},"tags":["User management"]}},"/api/latest/admin/groups/{name}/remove-users":{"delete":{"description":"Remove multiple users from a group. The list of usernames should be passed as request body. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"removeUsersFromGroup","parameters":[{"description":"The name identifying the group","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Usernames of users to remove"},"responses":{"204":{"description":"All the users were removed from the group"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When the users couldn't be removed from the group. The response will hold additional information"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"},"404":{"content":{"application/json":{}},"description":"The specified group or users do not exist"}},"tags":["User management"]}},"/api/latest/admin/users":{"get":{"description":"Retrieve a page of users. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"getUsers","parameters":[{"description":"If specified only users, whose username, full name or email contain the supplied string (case insensitive) will be returned","in":"query","name":"filter","schema":{"type":"string"}},{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUserDetails"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"A page of users"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"}},"tags":["User management"]},"post":{"description":"Create a new user. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"createUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestNewUser"}}},"description":"User to create","required":true},"responses":{"204":{"description":"When user has been created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"User couldn't be created. The response will hold additional information"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"}},"tags":["User management"]}},"/api/latest/admin/users/credentials":{"put":{"description":"Change password of specified user. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"changeUserPassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestUserPasswordUpdate"}}},"description":"User password change request","required":true},"responses":{"204":{"description":"Users password has been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When the password couldn't be changed. The response will hold additional information"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"},"404":{"content":{"application/json":{}},"description":"The specified user does not exist"}},"tags":["User management"]}},"/api/latest/admin/users/rename":{"put":{"description":"Renames specified user. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"renameUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestUserRenameRequest"}}},"description":"User rename request","required":true},"responses":{"204":{"description":"When user has been renamed successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When the user couldn't be renamed. The response will hold additional information"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"},"404":{"content":{"application/json":{}},"description":"The specified user does not exist"}},"tags":["User management"]}},"/api/latest/admin/users/{name}":{"delete":{"description":"Deletes the specified user, removing them from the system. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"deleteUser","parameters":[{"description":"The name identifying the user to delete","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}}],"responses":{"204":{"description":"When user has been deleted successfully or user does not exist"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"User couldn't be deleted. The response will hold additional information"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"}},"tags":["User management"]}},"/api/latest/admin/users/{name}/access-token":{"get":{"description":"Retrieve a page of user's access tokens. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"getUserAccessTokens","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"The name identifying the user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestAccessToken"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"A page of access tokens"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"},"404":{"content":{"application/json":{}},"description":"The specified user do not exist"}},"tags":["User management"]}},"/api/latest/admin/users/{name}/access-token/{tokenId}":{"delete":{"description":"Revoke user's access token. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"revokeUserToken","parameters":[{"description":"id of token","in":"path","name":"tokenId","required":true,"schema":{"type":"string"}},{"description":"The name identifying the user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}}],"responses":{"204":{"description":"When token has been successfully revoked"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"User doesn't own provided token. The response will hold additional information"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"},"404":{"content":{"application/json":{}},"description":"The specified user does not exist"}},"tags":["User management"]}},"/api/latest/admin/users/{name}/alias":{"delete":{"description":"Unlink the specified alias from user, removing them from the system. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"unlinkUserRepositoryAlias","parameters":[{"description":"The name identifying the user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestUserAlias"}}},"description":"Alias to unlink","required":true},"responses":{"204":{"description":"When alias has been unlinked successfully or given user doesn't have this alias"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"User alias couldn't be deleted. The response will hold additional information"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"},"404":{"content":{"application/json":{}},"description":"The specified user does not exist"}},"tags":["User management"]},"get":{"description":"Retrieve a page of aliases. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"getUserRepositoryAliases","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"The name identifying the user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUserAlias"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"A page of aliases"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"},"404":{"content":{"application/json":{}},"description":"The specified user do not exist"}},"tags":["User management"]},"post":{"description":"Link existing unlined alias or create the new one. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"createUserRepositoryAlias","parameters":[{"description":"The name identifying the user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Aliases array","required":true},"responses":{"204":{"description":"When alias has been created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Alias couldn't be created. The response will hold additional information"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"},"404":{"content":{"application/json":{}},"description":"The specified user or groups do not exist"}},"tags":["User management"]}},"/api/latest/admin/users/{name}/assigned-groups":{"get":{"description":"Retrieves a list of groups to which the user belongs. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"findAssignedGroups","parameters":[{"description":"If specified, only groups with names containing the supplied string will be returned","in":"query","name":"filter","schema":{"type":"string"}},{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"The name identifying the user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestGroup"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"A page of users"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"},"404":{"content":{"application/json":{}},"description":"The specified user do not exist"}},"tags":["User management"]}},"/api/latest/admin/users/{name}/groups":{"delete":{"description":"Remove a user from multiple groups. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"unassignGroups","parameters":[{"description":"The name identifying the user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"User groups to unassign from","required":true},"responses":{"204":{"description":"The user has been removed from all specified groups"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When user couldn't be removed from one or more groups. The response will hold additional information"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"},"404":{"content":{"application/json":{}},"description":"The specified user or groups do not exist"}},"tags":["User management"]},"post":{"description":"Add a user to multiple groups. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"assignGroups","parameters":[{"description":"The name identifying the user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Group names","required":true},"responses":{"204":{"description":"The user has been added to all specified groups"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When user couldn't be added to one or more groups. The response will hold additional information"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"},"404":{"content":{"application/json":{}},"description":"The specified user or groups do not exist"}},"tags":["User management"]}},"/api/latest/admin/users/{name}/unassigned-aliases":{"get":{"description":"Retrieves a list of unlinked aliases to which the user does not belong. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"findUnassignedUserRepositoryAliases","parameters":[{"description":"If specified, only aliases with names containing the supplied string will be returned","in":"query","name":"filter","schema":{"type":"string"}},{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"The name identifying the user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUserAlias"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"A page of aliases"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"},"404":{"content":{"application/json":{}},"description":"The specified user do not exist"}},"tags":["User management"]}},"/api/latest/admin/users/{name}/unassigned-groups":{"get":{"description":"Retrieves a list of groups to which the user does not belong. The authenticated user must have restricted administrative permission or higher to use this resource.","operationId":"findUnassignedGroups","parameters":[{"description":"If specified, only groups with names containing the supplied string will be returned","in":"query","name":"filter","schema":{"type":"string"}},{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"The name identifying the user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestGroup"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"A page of users"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"},"404":{"content":{"application/json":{}},"description":"The specified user do not exist"}},"tags":["User management"]}},"/api/latest/agent":{"get":{"description":"Provides a list of agents.","operationId":"getAgents_1","parameters":[{"description":"Filter agents based on their online statuses","in":"query","name":"online","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestBuildAgent"}}}},"description":"Complete (non-paginated) list of agents"}}}},"/api/latest/agent/assignment":{"delete":{"description":"Remove agent's assignment.","operationId":"removeAssignment","parameters":[{"description":"Executor type","in":"query","name":"executorType","schema":{"type":"string","enum":["AGENT","IMAGE","EPHEMERAL"]}},{"description":"id of the agent or elastic image","in":"query","name":"executorId","schema":{"type":"integer","format":"int64"}},{"description":"identifier of project, plan, job, deployment project or environment","in":"query","name":"entityId","schema":{"type":"integer","format":"int64"}},{"description":"should be PROJECT, PLAN, JOB, ENVIRONMENT, DEPLOYMENT_PROJECT","in":"query","name":"assignmentType","schema":{"type":"string"}}],"responses":{"204":{"description":"successful removal of agent assignment"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"can't parse executorType or executableType"},"401":{"content":{"application/json":{}},"description":"user has insufficient permissions for the request"}},"tags":["resource"]},"get":{"description":"Get agent's assignment.","operationId":"getAgentAssignments","parameters":[{"description":"Executor type","in":"query","name":"executorType","schema":{"type":"string","enum":["AGENT","IMAGE","EPHEMERAL"]}},{"description":"id of the agent or elastic image","in":"query","name":"executorId","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestDedicatedAgent"}}}},"description":"List of agent's assignments."}},"tags":["resource"]},"post":{"description":"Dedicate agent, elastic image or ephemeral template.","operationId":"addAgentAssignment","parameters":[{"description":"Executor type","in":"query","name":"executorType","schema":{"type":"string","enum":["AGENT","IMAGE","EPHEMERAL"]}},{"description":"id of the agent or elastic image","in":"query","name":"executorId","schema":{"type":"integer","format":"int64"}},{"description":"identifier of project, plan, job, deployment project or environment","in":"query","name":"entityId","schema":{"type":"integer","format":"int64"}},{"description":"should be PROJECT, PLAN, JOB, ENVIRONMENT, DEPLOYMENT_PROJECT","in":"query","name":"assignmentType","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDedicatedAgent"}}},"description":"List of agent's assignments."}},"tags":["resource"]}},"/api/latest/agent/assignment/search":{"get":{"description":"Search for assignments in specified entity's agents","operationId":"searchEntityForAgent","parameters":[{"description":"Maximum count of records","in":"query","name":"max-result","schema":{"type":"integer","format":"int32"}},{"description":"Executor type","in":"query","name":"executorType","schema":{"type":"string","enum":["AGENT","IMAGE","EPHEMERAL"]}},{"description":"term to search for","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"id of the agent or elastic image","in":"query","name":"executorId","schema":{"type":"integer","format":"int64"}},{"in":"query","name":"entityType","schema":{"type":"string"}},{"description":"Start index of records","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}},{"description":"should be PROJECT, PLAN, JOB, ENVIRONMENT, DEPLOYMENT_PROJECT","in":"query","name":"assignmentType","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResultsList"}}},"description":"List of search results"}},"tags":["resource"]}},"/api/latest/agent/authentication":{"get":{"description":"Provides a list of all agent authentication statuses.","operationId":"getAgentAuthentications","parameters":[{"description":"Filter only pending or only approved agents","in":"query","name":"pending","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestRemoteAgentAuthentication"}}}},"description":"A successful call will return a complete (non-paginated) list of agent"},"403":{"content":{"application/json":{}},"description":"User has insufficient permissions for the request"}}}},"/api/latest/agent/authentication/{agentUuid}":{"put":{"description":"Authenticates a pending agent with the given UUID. If the agent has already been authenticated, the call will not\n * change it's state.","operationId":"authenticateAgent","parameters":[{"in":"path","name":"agentUuid","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"successful authentication of an agent"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Validation errors occurred (the provided UUID was invalid, no agent with the given UUID was found etc.)"},"403":{"content":{"application/json":{}},"description":"When user has no global ADMINISTRATION permission"}}}},"/api/latest/agent/remote":{"get":{"description":"Provides a list of all remote agent authentication statuses.","operationId":"getRemoteAgents","parameters":[{"description":"Filter remote agents based on their online statuses","in":"query","name":"online","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestBuildAgent"}}}},"description":"Complete (non-paginated) array of remote agents"}}}},"/api/latest/agent/{agentId}":{"delete":{"description":"Remove build agent.","operationId":"deleteAgent","parameters":[{"description":"agent id","in":"path","name":"agentId","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"Agent removed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Couldn't remove agent"},"403":{"content":{"application/json":{}},"description":"User doesn't have admin permissions"},"404":{"content":{"application/json":{}},"description":"Agent not found"}}},"get":{"description":"Provides details of an agent.","operationId":"getAgentInformation","parameters":[{"description":"Maximum count of capabilities/jobs/environments","in":"query","name":"max-result","schema":{"type":"integer","format":"int32"}},{"description":"Expand parameter","in":"query","name":"expand","schema":{"type":"string"}},{"description":"agent id","in":"path","name":"agentId","required":true,"schema":{"type":"integer","format":"int64"}},{"description":"if response should include shared agent capabilities","in":"query","name":"includeShared","schema":{"type":"boolean"}},{"description":"Start index of capabilities/jobs/environments","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAgentInformation"}}},"description":"Details of an agent"},"404":{"content":{"application/json":{}},"description":"Agent not found"}}}},"/api/latest/agent/{agentId}/capability":{"delete":{"description":"Remove all capabilities of build agent.","operationId":"deleteAllAgentCapabilities","parameters":[{"description":"agent id","in":"path","name":"agentId","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"Agent's capabilities removed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Couldn't remove agent's capabilities"},"403":{"content":{"application/json":{}},"description":"User doesn't have admin permissions"},"404":{"content":{"application/json":{}},"description":"Agent not found"}}},"get":{"description":"List agent's capabilities.","operationId":"getAgentCapabilities","parameters":[{"description":"agent id","in":"path","name":"agentId","required":true,"schema":{"type":"integer","format":"int64"}},{"description":"if response should include shared agent capabilities","in":"query","name":"includeShared","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestCapability"}}}},"description":"array of agent's capabilities"},"403":{"content":{"application/json":{}},"description":"User doesn't have required permissions"},"404":{"content":{"application/json":{}},"description":"Agent not found"}}},"post":{"description":"Create new agent capability.","operationId":"createAgentCapability","parameters":[{"description":"agent id","in":"path","name":"agentId","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestCapability"}}},"description":"Agent capability","required":true},"responses":{"204":{"description":"capability created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Validation failed"},"403":{"content":{"application/json":{}},"description":"User doesn't have admin permissions"},"404":{"content":{"application/json":{}},"description":"Agent not found"}}}},"/api/latest/agent/{agentId}/capability/{capabilityKey}":{"delete":{"description":"Remove build agent capability.","operationId":"deleteAgentCapability","parameters":[{"description":"agent id","in":"path","name":"agentId","required":true,"schema":{"type":"integer","format":"int64"}},{"description":"Capability key","in":"path","name":"capabilityKey","required":true,"schema":{"type":"string","pattern":"(.+)?"}}],"responses":{"204":{"description":"capability removed successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Couldn't remove agent's capability"},"403":{"content":{"application/json":{}},"description":"User doesn't have admin permissions"},"404":{"content":{"application/json":{}},"description":"Agent not found"}}},"put":{"description":"Update existing agent capability. It's allowed to skip capability key at request payload.","operationId":"updateAgentCapability","parameters":[{"description":"agent id","in":"path","name":"agentId","required":true,"schema":{"type":"integer","format":"int64"}},{"description":"Capability key","in":"path","name":"capabilityKey","required":true,"schema":{"type":"string","pattern":"(.+)?"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestRemoteAgentCapability"}}},"description":"Agent capability","required":true},"responses":{"204":{"description":"capability updated successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Validation failed"},"403":{"content":{"application/json":{}},"description":"User doesn't have admin permissions"},"404":{"content":{"application/json":{}},"description":"Agent not found"}}}},"/api/latest/agent/{agentId}/disable":{"put":{"description":"Disable an agent.","operationId":"disableAgent","parameters":[{"description":"agent id","in":"path","name":"agentId","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAgent"}}},"description":"Agent has been disabled"},"403":{"content":{"application/json":{}},"description":"User doesn't have admin permissions"},"404":{"content":{"application/json":{}},"description":"Agent not found"}}}},"/api/latest/agent/{agentId}/enable":{"put":{"description":"Enable an agent.","operationId":"enableAgent","parameters":[{"description":"agent id","in":"path","name":"agentId","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAgent"}}},"description":"Agent has been enabled"},"403":{"content":{"application/json":{}},"description":"User doesn't have admin permissions"},"404":{"content":{"application/json":{}},"description":"Agent not found"}}}},"/api/latest/agent/{agentId}/status":{"get":{"description":"Provides information about status of agent, if it's online or offline.","operationId":"getAgentStatus","parameters":[{"description":"filter only remote or only approved agents","in":"path","name":"agentId","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"content":{"application/json":{}},"description":"Complete (non-paginated) array of remote agents"},"404":{"content":{"application/json":{}},"description":"Agent not found"}}}},"/api/latest/avatar/user/avatar.png":{"delete":{"description":"Deletes the current avatar for the currently authenticated user.","operationId":"deleteAvatar","responses":{"204":{"description":"The avatar get deleted successfully"},"403":{"content":{"application/json":{}},"description":"The user is not authenticated"}},"tags":["avatar"]},"put":{"description":"Updated the avatar for the currently authenticated user.","operationId":"uploadAvatar","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/FilePart"}}},"description":"Avatar file to upload","required":true},"responses":{"201":{"content":{"application/json":{}},"description":"The avatar got updated successfully"},"403":{"content":{"application/json":{}},"description":"The user is not authenticated"}},"tags":["avatar"]}},"/api/latest/avatar/user/{userName}/avatar.png":{"get":{"description":"Returns either the avatar file for a specified user or the gravatar URL. The priority order: custom user avatar as a file, gravatar URL, default avatar as a file. The endpoint supports Last-Modified/If-Modified-Since headers and sets cache policy with expiration equal by default to 90 seconds.","operationId":"retrieveAvatar","parameters":[{"description":"Size of the requested avatar in px","in":"query","name":"s","schema":{"type":"integer","format":"int32"}},{"description":"Name of the user to search the avatar for","in":"path","name":"userName","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"Either the avatar file or gravatar URL"}},"tags":["avatar"]}},"/api/latest/buildNumber/{projectKey}-{buildKey}":{"get":{"description":"Retrieve the next build number for a given plan or plan branch.","operationId":"getNextBuildNumber","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string"}},{"description":"Build key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NextBuildNumber"}}},"description":"Next build number retrieved successfully"},"403":{"content":{"application/json":{}},"description":"User doesn't have read permission for the plan"}},"tags":["Build number"]}},"/api/latest/buildNumber/{projectKey}-{buildKey}/bump":{"put":{"description":"Bump the next build number for a given plan or plan branch to the specified value.","operationId":"bumpBuildNumber","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string"}},{"description":"Build key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NextBuildNumber"}},"application/xml":{"schema":{"$ref":"#/components/schemas/NextBuildNumber"}}},"description":"Next build number","required":true},"responses":{"200":{"content":{"application/json":{}},"description":"Build number bumped successfully"},"400":{"content":{"application/json":{}},"description":"Failed to bump build number"},"403":{"content":{"application/json":{}},"description":"User doesn't have write permission for the plan"}},"tags":["Build number"]}},"/api/latest/capability/groupedListing":{"get":{"description":"Provides a list of capabilities for a select list in the UI. Filterable and paginable.","operationId":"getAllCapabilitiesOnServer","parameters":[{"description":"Maximum count of capabilities","in":"query","name":"max-result","schema":{"type":"integer","format":"int32"}},{"description":"Search term","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"Last group","in":"query","name":"lastGroup","schema":{"type":"string"}},{"description":"Start index of capabilities","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{}},"description":"Server capabilities"}}}},"/api/latest/chart":{"get":{"description":"Chart url.","operationId":"getImageUrl","parameters":[{"description":"Plan keys","in":"query","name":"buildKeys","schema":{"type":"string"}},{"description":"Report key","in":"query","name":"reportKey","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestChart"}}},"description":"Chart"},"403":{"content":{"application/json":{}},"description":"The currently authenticated user does not have sufficient permissions"},"404":{"content":{"application/json":{}},"description":"Plans not found"}}}},"/api/latest/chart/planSummary":{"get":{"description":"Get plan summary.","operationId":"getPlanSummary","parameters":[{"description":"Single plan key","in":"query","name":"buildKeys","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestChart"}}},"description":"Chart"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"More than one plan key provided"},"404":{"content":{"application/json":{}},"description":"Plan not found"}}}},"/api/latest/chart/reports":{"get":{"description":"Fetch available reports list.","operationId":"getAvailableReports","parameters":[{"description":"Maximum count of reports","in":"query","name":"max-result","schema":{"type":"integer","format":"int32"}},{"description":"Possible values: reports","in":"query","name":"expand","schema":{"type":"string"}},{"description":"Start index of reports","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestReports"}}},"description":"Chart"}}}},"/api/latest/clone/{projectKey}-{buildKey}:{toProjectKey}-{toBuildKey}":{"put":{"description":"Clone an existing Plan into a new one, possibly into different project.","operationId":"getClone","parameters":[{"description":"Source project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Source build key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}},{"description":"Destination build key","in":"path","name":"toBuildKey","required":true,"schema":{"type":"string"}},{"description":"Destination project key","in":"path","name":"toProjectKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestPlan"}}},"description":"Cloned plan"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"There is no source plan or there is no project to which clone or there is already plan with destination key or permission denied"}}}},"/api/latest/config/job/{jobKey}/agent-assignment":{"get":{"description":"Get a list of agents/images assigned to given job.","operationId":"findAssignedAgentsByJob","parameters":[{"description":"job key","in":"path","name":"jobKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestAgentAssignmentExecutorDetails"}}}},"description":"Returns list of assigned agents"},"403":{"content":{"application/json":{}},"description":"If the user has no permissions for updating an agent assignment, which translates into no WRITE permissions to edit the configuration of the job"},"404":{"content":{"application/json":{}},"description":"If the job key is not found"}},"tags":["Core"]},"post":{"description":"Add agent assignment for job. agentAssignmentKey is a map with one key-value: name - agentAssignmentKey. \nagentAssignmentKey is parsed by ExecutorKey.","operationId":"addAgentAssignmentForJob","parameters":[{"description":"job key","in":"path","name":"jobKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"description":"A map with 'name' key which reference agent assignment key as 'value'"},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAgentAssignmentExecutorDetails"}}},"description":"Returns new agent assignments for the given job."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If validation fails"},"403":{"content":{"application/json":{}},"description":"If the user has no permissions for updating an agent assignment, which translates into no WRITE permissions to edit the configuration of the job"},"404":{"content":{"application/json":{}},"description":"If the job is not found"}},"tags":["Core"]}},"/api/latest/config/job/{jobKey}/agent-assignment/possible-agent-assignment":{"get":{"description":"Get a list of agents/images/templates which can be dedicated for given job.","operationId":"findPossibleAgentsForJob","parameters":[{"description":"Maximum count of agents","in":"query","name":"max-result","schema":{"type":"integer","format":"int32"}},{"description":"Part of the agent/image/template name to filter response. Use empty value to receive all agents/images/templates.","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"Start index of agents","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}},{"description":"job key","in":"path","name":"jobKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"Returns possible agents for job."},"403":{"content":{"application/json":{}},"description":"If the user has no permissions for updating an agent assignment, which translates into no WRITE permissions to edit the configuration of the job"},"404":{"content":{"application/json":{}},"description":"If the job is not found"}},"tags":["Core"]}},"/api/latest/config/job/{jobKey}/agent-assignment/{executorKey}":{"delete":{"description":"Remove agent/image from list of dedicated executors for given job.","operationId":"removeAgentAssignmentFromJob","parameters":[{"description":"key is parsed by ExecutorKey","in":"path","name":"executorKey","required":true,"schema":{"type":"string"}},{"description":"job key","in":"path","name":"jobKey","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Agent assignment has been removed successfully."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If validation fails"},"403":{"content":{"application/json":{}},"description":"If the user has no permissions for updating an agent assignment, which translates into no WRITE permissions to edit the configuration of the job"},"404":{"content":{"application/json":{}},"description":"If the job is not found"}},"tags":["Core"]}},"/api/latest/currentUser":{"get":{"description":"Fetch current user details","operationId":"getCurrentUser","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserBean"}}},"description":"User details"},"401":{"content":{"application/json":{}},"description":"User should be authorized"}}}},"/api/latest/dependency/search/{projectKey}-{buildKey}/child":{"get":{"description":"Search for available plan child dependencies","operationId":"searchForAvailablePlanChildDependencies","parameters":[{"description":"Maximum count of plans","in":"query","name":"max-result","schema":{"type":"integer","format":"int32"}},{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Search term","in":"query","name":"searchTerm","required":true,"schema":{"type":"string"}},{"description":"Start index of plans","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}},{"description":"Build key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDependencies"}}},"description":"Plan dependencies"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Search term not provided"},"404":{"content":{"application/json":{}},"description":"Plan not found"}}}},"/api/latest/dependency/search/{projectKey}-{buildKey}/parent":{"get":{"description":"Search for available plan parent dependencies","operationId":"searchForAvailablePlanParentDependencies","parameters":[{"description":"Maximum count of plans","in":"query","name":"max-result","schema":{"type":"integer","format":"int32"}},{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Search term","in":"query","name":"searchTerm","required":true,"schema":{"type":"string"}},{"description":"Start index of plans","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}},{"description":"Build key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDependencies"}}},"description":"Plan parent dependencies"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Search term not provided"},"404":{"content":{"application/json":{}},"description":"Plan not found"}}}},"/api/latest/deploy/dashboard":{"get":{"deprecated":true,"description":"Get all deployment projects. This method fetch all deployment projects visible to user. It's not optimized for instances with large count of deployment projects and environments, use paged versions instead.","operationId":"getAllDeploymentProjects","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DashboardProjectWithEnvironmentStatus"}}}},"description":"Deployment projects with environments"}}}},"/api/latest/deploy/dashboard/paginate":{"get":{"description":"Get paginated deployment projects with environments list.","operationId":"getDeploymentProjects","parameters":[{"description":"Deployment project id","in":"query","name":"filter","schema":{"type":"string"}},{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","maximum":500}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestDeploymentProject"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Paged response"}}}},"/api/latest/deploy/dashboard/paginate/{projectId}":{"get":{"description":"Get deployment project environments.","operationId":"getPaginateDeploymentProject","parameters":[{"description":"Environment name filter","in":"query","name":"filter","schema":{"type":"string"}},{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","maximum":500}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"string"}},{"description":"Deployment project id","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestDeploymentProject"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Deployment project with paged environments"},"403":{"content":{"application/json":{}},"description":"User has no view permission to deployment project"},"404":{"content":{"application/json":{}},"description":"Deployment project doesn't exist"}}}},"/api/latest/deploy/dashboard/status":{"post":{"description":"Get environment latest release info.","operationId":"getEnvironmentStatutes","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentIds"}}},"description":"identifiers of environments","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestEnvironmentStatusForDashboard"}}}},"description":"Environments latest deployment results"},"403":{"content":{"application/json":{}},"description":"User has no view permission to provided environment"}}}},"/api/latest/deploy/dashboard/{projectId}":{"get":{"deprecated":true,"description":"Get deployment project environments with deployment status. It's not optimized for instances with large count of deployment projects and environments, use paged versions instead.","operationId":"getDeploymentProject","parameters":[{"description":"Deployment project id","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DashboardProjectWithEnvironmentStatus"}}}},"description":"Deployment project with environments"},"403":{"content":{"application/json":{}},"description":"User has no view permission to deployment project"},"404":{"content":{"application/json":{}},"description":"Deployment project doesn't exist"}}}},"/api/latest/deploy/environment/agent/{agentId}":{"get":{"description":"Provide a paginated list of minimal information about environments executable by a given agent.","operationId":"getEnvironmentsExecutableByAgent","parameters":[{"description":"string the environments and deployment projects will be filtered by","in":"query","name":"filter","schema":{"type":"string"}},{"description":"id of an agent the environment requirements are checked against","in":"path","name":"agentId","required":true,"schema":{"type":"string"}},{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","maximum":100}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestEnvironmentForExecutablesView"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Paginated deployment project's and environment's ids and names"},"404":{"content":{"application/json":{}},"description":"Agent with given id has not been found"}},"tags":["Core"]}},"/api/latest/deploy/environment/elasticImageConfiguration/{configurationId}":{"get":{"description":"Provide a paginated list of minimal information about environments executable by a given elastic image configuration.","operationId":"getEnvironmentsExecutableByElasticConfiguration","parameters":[{"description":"String the environments and deployment projects will be filtered by","in":"query","name":"filter","schema":{"type":"string"}},{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","maximum":100}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Id of elastic image configuration the environment requirements are checked against","in":"path","name":"configurationId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestEnvironmentForExecutablesView"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Paginated deployment project's and environment's ids and names"},"400":{"content":{"application/json":{}},"description":"Elastic Bamboo is not enabled or required parameter is not provided"},"404":{"content":{"application/json":{}},"description":"Image with given id has not been found"}},"tags":["Core"]}},"/api/latest/deploy/environment/ephemeral/{templateId}":{"get":{"description":"Provide a paginated list of minimal information about environments executable by a given ephemeral agent template.","operationId":"getEnvironmentsExecutableByEphemeralAgentTemplate","parameters":[{"description":"String the environments and deployment projects will be filtered by","in":"query","name":"filter","schema":{"type":"string"}},{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","maximum":100}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Id of ephemeral agent template the environment requirements are checked against","in":"path","name":"templateId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestEnvironmentForExecutablesView"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Paginated deployment project's and environment's ids and names"},"400":{"content":{"application/json":{}},"description":"Ephemeral agents feature is not enabled or required parameter is not provided"},"404":{"content":{"application/json":{}},"description":"Template with given id has not been found"}},"tags":["Core"]}},"/api/latest/deploy/environment/{environmentId}":{"get":{"description":"Get a summary of a single environment.","operationId":"getEnvironment","parameters":[{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestEnvironmentWithConfigCounts"}}},"description":"Environment with the given id"},"403":{"content":{"application/json":{}},"description":"User don't have VIEW permission for environment"},"404":{"content":{"application/json":{}},"description":"Environment with given id has not been found"}},"tags":["Core"]}},"/api/latest/deploy/environment/{environmentId}/agent-assignment":{"get":{"description":"Get a list of agents/images assigned to given environment.","operationId":"findAssignedAgentsByEnvironment","parameters":[{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestAgentAssignmentExecutorDetails"}}}},"description":"Returns list of assigned agents"},"403":{"content":{"application/json":{}},"description":"If the user has no permissions for updating an agent assignment, which translates into no WRITE permissions to edit the configuration of the environment"},"404":{"content":{"application/json":{}},"description":"If the environment id is not found"}},"tags":["Core"]},"post":{"description":"Add agent assignment for environment. agentAssignmentKey is a map with one key-value: name - agentAssignmentKey. \nagentAssignmentKey is parsed by ExecutorKey.","operationId":"addAgentAssignmentForEnvironment","parameters":[{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"description":"A map with 'name' key which reference agent assignment key as 'value'"},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAgentAssignmentExecutorDetails"}}},"description":"Returns new agent assignments for the given environment."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If validation fails"},"403":{"content":{"application/json":{}},"description":"If the user has no permissions for updating an agent assignment, which translates into no WRITE permissions to edit the configuration of the environment"},"404":{"content":{"application/json":{}},"description":"If the environment id is not found"}},"tags":["Core"]}},"/api/latest/deploy/environment/{environmentId}/agent-assignment/{executorKey}":{"delete":{"description":"Remove agent/image from list of dedicated executors for given environment.","operationId":"removeAgentAssignmentFromEnvironment","parameters":[{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}},{"description":"key is parsed by ExecutorKey","in":"path","name":"executorKey","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Agent assignment has been removed successfully."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If validation fails"},"403":{"content":{"application/json":{}},"description":"If the user has no permissions for updating an agent assignment, which translates into no WRITE permissions to edit the configuration of the environment"},"404":{"content":{"application/json":{}},"description":"If the environment id is not found"}},"tags":["Core"]}},"/api/latest/deploy/environment/{environmentId}/docker":{"get":{"description":"Get Docker configuration for given environment.","operationId":"getDockerPipelinesConfiguration","parameters":[{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDockerPipelineConfiguration"}}},"description":"Returns Docker Pipeline configuration for given environment"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If validation fails"},"403":{"content":{"application/json":{}},"description":"If the user has no edit permissions"},"404":{"content":{"application/json":{}},"description":"If the environment id is not found"}},"tags":["Core"]},"put":{"description":"Save Docker configuration for given environment.","operationId":"saveDockerPipelinesConfiguration","parameters":[{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDockerPipelineConfiguration"}}},"description":"Docker pipelines configuration"},"responses":{"204":{"description":"Docker Pipeline configuration saved"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If validation fails"},"403":{"content":{"application/json":{}},"description":"If the user has no edit permissions"},"404":{"content":{"application/json":{}},"description":"If the environment id is not found"}},"tags":["Core"]}},"/api/latest/deploy/environment/{environmentId}/move/{position}/{relativeEnvironmentId}":{"post":{"description":"Change environment position within deployment project.","operationId":"moveEnvironment","parameters":[{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}},{"description":"environment id which referenced environment should be placed before or after","in":"path","name":"relativeEnvironmentId","required":true,"schema":{"type":"string"}},{"description":"position; possible values: AFTER or BEFORE","in":"path","name":"position","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Environment position has been changed."},"403":{"content":{"application/json":{}},"description":"Returned when user has no Edit permission to deployment project or environment"},"404":{"content":{"application/json":{}},"description":"Returned when environment or relative environment was not found or not visible to user."}},"tags":["Core"]}},"/api/latest/deploy/environment/{environmentId}/possible-agent-assignment":{"get":{"description":"Get a list of agents/images/templates which can be dedicated for given environment.","operationId":"findPossibleAgentsForEnvironment","parameters":[{"description":"Maximum count of elements","in":"query","name":"max-result","schema":{"type":"integer","format":"int32"}},{"description":"Part of the agent or image name to filter response. Use empty value to receive all agents/images/templates.","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}},{"description":"Start index of elements","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{}},"description":"Returns possible agents for environment."},"403":{"content":{"application/json":{}},"description":"If the user has no permissions for updating an agent assignment, which translates into no WRITE permissions to edit the configuration of the environment"},"404":{"content":{"application/json":{}},"description":"If the environment id is not found"}},"tags":["Core"]}},"/api/latest/deploy/environment/{environmentId}/prerequisites":{"put":{"description":"Updates the environment prerequisites.","operationId":"updateEnvironmentPrerequisites","parameters":[{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestEnvironmentPrerequisites"}}},"description":"The new environment prerequisites."},"responses":{"204":{"description":"Environment prerequisites has been updated successfully"},"401":{"content":{"application/json":{}},"description":"Authentication required"},"403":{"content":{"application/json":{}},"description":"User has no permission to edit environment settings"},"404":{"content":{"application/json":{}},"description":"Specified environment does not exist"}},"tags":["Core"]}},"/api/latest/deploy/environment/{environmentId}/requirement":{"get":{"description":"Gets all the requirements of an environment.","operationId":"getRequirementsForEnvironment","parameters":[{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestRequirement"}}}},"description":"A list of a requirements"},"403":{"content":{"application/json":{}},"description":"If the user lack permissions for retrieving details about the environment structure, which translates into WRITE permissions to view and edit the environment configuration."},"404":{"content":{"application/json":{}},"description":"If the specified environment id is not found"}},"tags":["Core"]},"post":{"description":"Adds a requirement for a given environment.","operationId":"addRequirementForEnvironment","parameters":[{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestRequirement"}}},"description":"A representation of the requirement"},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestRequirement"}}},"description":"The created requirement"},"403":{"content":{"application/json":{}},"description":"If the user has no permissions to add a requirement to an environment, which translates into no WRITE permissions to edit the configuration of the environment it belongs to."},"404":{"content":{"application/json":{}},"description":"If the environment id is not found"}},"tags":["Core"]}},"/api/latest/deploy/environment/{environmentId}/requirement/detailedSummary":{"get":{"description":"Gets a detailed summary of the agents that are capable of running an environment, based of its requirements.","operationId":"getDetailedAgentMatchesForEnvironment","parameters":[{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAgentSummary"}}},"description":"A summary of the agents that can run an environment"},"403":{"content":{"application/json":{}},"description":"If the user does not have permissions to get information about the environment."},"404":{"content":{"application/json":{}},"description":"If the specified environment id is not found"}},"tags":["Core"]}},"/api/latest/deploy/environment/{environmentId}/requirement/summary":{"get":{"description":"Gets a summary of the agents that are capable of running an environment, based of its requirements.","operationId":"getAgentMatchesForEnvironment","parameters":[{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAgentSummary"}}},"description":"A summary of the agents that can run an environment"},"403":{"content":{"application/json":{}},"description":"If the user does not have permissions to get information about the environment."},"404":{"content":{"application/json":{}},"description":"If the specified environment id is not found"}},"tags":["Core"]}},"/api/latest/deploy/environment/{environmentId}/requirement/{requirementId}":{"delete":{"description":"Removes a requirement for an environment.","operationId":"removeRequirementFromEnvironment","parameters":[{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}},{"description":"unique identifier of the requirement to delete","in":"path","name":"requirementId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"The environment's requirement has been deleted successfully"},"403":{"content":{"application/json":{}},"description":"If the user lacks permissions to remove an environment requirement, which translates into no WRITE permissions to edit the environment"},"404":{"content":{"application/json":{}},"description":"If the environment id is not found, or the requirement it does not exist"}},"tags":["Core"]},"get":{"description":"Gets the details of a requirement for a given environment.","operationId":"getRequirementForEnvironment","parameters":[{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}},{"description":"unique identifier of the requirement to get details of","in":"path","name":"requirementId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestRequirement"}}},"description":"A list of a requirements"},"403":{"content":{"application/json":{}},"description":"If the user lack permissions for retrieving details about the environment, which translates into WRITE permissions to view and edit the environment."},"404":{"content":{"application/json":{}},"description":"If the specified environment id is not found or the requirement id does not exist"}},"tags":["Core"]},"put":{"description":"Updates a requirement for a given environment.","operationId":"updateRequirementForEnvironment","parameters":[{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}},{"description":"unique identifier of the requirement to update","in":"path","name":"requirementId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestRequirement"}}},"description":"A representation of the requirement"},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestRequirement"}}},"description":"The updated requirement"},"403":{"content":{"application/json":{}},"description":"If the user has no permissions for updating a requirement, which translates into no WRITE permissions to edit the configuration of the environment it belongs to"},"404":{"content":{"application/json":{}},"description":"If the environment id is not found, or the requirement id does not exist"}},"tags":["Core"]}},"/api/latest/deploy/environment/{environmentId}/results":{"get":{"description":"Get a list of versions deployed to the environment. Sorted by started date: newest first.","operationId":"getDeploymentResultList","parameters":[{"description":"Expands deployment versions. Possible values are: results","in":"query","name":"expand","schema":{"type":"string"}},{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDeploymentResultList"}}},"description":"Returns list of deployment results."},"403":{"content":{"application/json":{}},"description":"Returns when user don't have VIEW permission for environment"},"404":{"content":{"application/json":{}},"description":"If the environment id is not found"}},"tags":["Core"]}},"/api/latest/deploy/environment/{environmentId}/variable":{"post":{"description":"Create the environment variable.","operationId":"createEnvironmentVariable","parameters":[{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestVariable"}}},"description":"The new variable."},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestVariableDefinitionContext"}}},"description":"Variable has been created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Invalid variable or already exists"},"401":{"content":{"application/json":{}},"description":"Authentication required"},"403":{"content":{"application/json":{}},"description":"User has no permission to edit specified environment"},"404":{"content":{"application/json":{}},"description":"Specified environment does not exist"}},"tags":["Core"]}},"/api/latest/deploy/environment/{environmentId}/variable/{variableName}":{"delete":{"description":"Delete the environment variable.","operationId":"deleteEnvironmentVariable","parameters":[{"description":"variable name","in":"path","name":"variableName","required":true,"schema":{"type":"string"}},{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Variable has been deleted successfully"},"401":{"content":{"application/json":{}},"description":"Authentication required"},"403":{"content":{"application/json":{}},"description":"User has no permission to delete specified environment"},"404":{"content":{"application/json":{}},"description":"Specified environment or variable does not exist"}},"tags":["Core"]},"get":{"description":"Get the environment variable by its name.","operationId":"getEnvironmentVariable","parameters":[{"description":"variable name","in":"path","name":"variableName","required":true,"schema":{"type":"string"}},{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestVariable"}}},"description":"Environment variable with the given name"},"401":{"content":{"application/json":{}},"description":"Authentication required"},"403":{"content":{"application/json":{}},"description":"Returned when user has no permission to view configuration of specified environment"},"404":{"content":{"application/json":{}},"description":"Returned when specified environment/variable does not exist"}},"tags":["Core"]},"put":{"description":"Update the environment variable.","operationId":"updateEnvironmentVariable","parameters":[{"description":"variable name","in":"path","name":"variableName","required":true,"schema":{"type":"string"}},{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestVariable"}}},"description":"The updated variable."},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestVariableDefinitionContext"}}},"description":"Variable has been updated successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Invalid variable or does not exists - use POST method to add a new variable."},"401":{"content":{"application/json":{}},"description":"Authentication required"},"403":{"content":{"application/json":{}},"description":"User has no permission to edit specified environment"},"404":{"content":{"application/json":{}},"description":"Specified environment does not exist"}},"tags":["Core"]}},"/api/latest/deploy/environment/{environmentId}/variables":{"get":{"description":"Get a list of environment variables.","operationId":"getAllEnvironmentVariables","parameters":[{"description":"environment id","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"List of variables for the given environment id"},"401":{"content":{"application/json":{}},"description":"Authentication required"},"403":{"content":{"application/json":{}},"description":"Returned when user has no permission to view configuration of specified environment"},"404":{"content":{"application/json":{}},"description":"Returned when specified environment does not exist"}},"tags":["Core"]}},"/api/latest/deploy/issue-status/{issueKey}":{"get":{"description":"Get all deployment projects associated with Jira issue key","operationId":"getJiraIssueStatusForProject","parameters":[{"description":"Jira issue key","in":"path","name":"issueKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestJiraIssueRelatedDeploymentProjects"}}},"description":"Deployment projectes associated with Jira issue"}}}},"/api/latest/deploy/issue-status/{issueKey}/{deploymentProjectId}":{"get":{"description":"Get deployment project environments and versions associated with Jira issue","operationId":"getJiraIssueStatusForProject_1","parameters":[{"description":"Jira issue key","in":"path","name":"issueKey","required":true,"schema":{"type":"string"}},{"description":"Deployment project id","in":"path","name":"deploymentProjectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDeploymentProjectStatusForJiraIssue"}}},"description":"Environments and versions associated with Jira issue"},"403":{"content":{"application/json":{}},"description":"User has no view permission to deployment project"},"404":{"content":{"application/json":{}},"description":"Deployment project not found"}}}},"/api/latest/deploy/preview/possibleResults":{"get":{"description":"Get possible deployment results.","operationId":"getPossibleResults","parameters":[{"description":"Deployment project id","in":"query","name":"deploymentProjectId","schema":{"type":"string"}},{"description":"Plan key","in":"query","name":"planKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"Possible results."}},"tags":["deployment"]}},"/api/latest/deploy/preview/result":{"get":{"description":"Get a preview of the deployment version.","operationId":"getVersionPreview_1","parameters":[{"description":"Previous version id","in":"query","name":"previousVersionId","schema":{"type":"string"}},{"description":"Deployment project id","in":"query","name":"deploymentProjectId","schema":{"type":"string"}},{"description":"Plan key","in":"query","name":"planKey","schema":{"type":"string"}},{"description":"Result key","in":"query","name":"resultKey","schema":{"type":"string"}},{"description":"Build number","in":"query","name":"buildNumber","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionPreview"}}},"description":"Preview of the deployment version"}},"tags":["deployment"]}},"/api/latest/deploy/preview/version":{"get":{"description":"Get a preview of the deployment version.","operationId":"getVersionPreview","parameters":[{"description":"Previous version id","in":"query","name":"previousVersionId","schema":{"type":"string"}},{"description":"Deployment version id","in":"query","name":"versionId","schema":{"type":"string"}},{"description":"Deployment project id","in":"query","name":"deploymentProjectId","schema":{"type":"string"}},{"description":"Deployment version name","in":"query","name":"versionName","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionPreview"}}},"description":"Deployment version preview."}},"tags":["deployment"]}},"/api/latest/deploy/preview/versionName":{"get":{"description":"Get version name.","operationId":"getVersionName","parameters":[{"description":"Result key","in":"query","name":"resultKey","schema":{"type":"string"}},{"description":"Deployment project id","in":"query","name":"deploymentProjectId","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionName"}}},"description":"Version name"}},"tags":["deployment"]}},"/api/latest/deploy/project":{"put":{"description":"Create deployment project.","operationId":"addDeploymentProject","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestCreateDeploymentProjectRequest"}}},"description":"deployment project to be created","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDeploymentProject"}}},"description":"Created deployment project"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If validation fails"},"403":{"content":{"application/json":{}},"description":"If user doesn't have create permission"}}}},"/api/latest/deploy/project/all":{"get":{"description":"Find all deployment projects with environments. Returns only deployment projects and environments visible for user.","operationId":"getAllDeploymentProjects_1","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestDeploymentProject"}}}},"description":"List of deployment projects with environments"}}}},"/api/latest/deploy/project/forPlan":{"get":{"description":"Get list of deployment projects for a build plan.","operationId":"getDeploymentProjectsForPlan","parameters":[{"description":"Plan key","in":"query","name":"planKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestLinkedDeploymentProject"}}}},"description":"list of linked deployment projects"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When plan key is empty or plan don't found"}}}},"/api/latest/deploy/project/{deploymentProjectId}":{"delete":{"description":"Delete deployment project.","operationId":"deleteDeploymentProject","parameters":[{"description":"Deployment project id","in":"path","name":"deploymentProjectId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deployment project removed"},"403":{"content":{"application/json":{}},"description":"User has no Administration permission to project"},"404":{"content":{"application/json":{}},"description":"Deployment project doesn't exist"}}},"get":{"description":"Get deployment project by id.","operationId":"getDeploymentProject_1","parameters":[{"description":"Deployment project id","in":"path","name":"deploymentProjectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDeploymentProject"}}},"description":"Deployment project details"},"403":{"content":{"application/json":{}},"description":"User has no view permission"},"404":{"content":{"application/json":{}},"description":"Deployment project doesn't exist"}}},"post":{"description":"Update deployment project.","operationId":"editDeploymentProject","parameters":[{"description":"Deployment project id","in":"path","name":"deploymentProjectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestUpdateDeploymentProjectRequest"}}},"description":"deployment project to be updated","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDeploymentProject"}}},"description":"Deployment project details"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Validation error"},"403":{"content":{"application/json":{}},"description":"User has no edit permission"},"404":{"content":{"application/json":{}},"description":"Deployment project doesn't exist"}}}},"/api/latest/deploy/project/{deploymentProjectId}/repository":{"get":{"description":"List of repositories which granted to create/edit environment in given deployment project by Repository stored Bamboo Specs.","operationId":"listAssignedRepositories","parameters":[{"description":"Deployment project id","in":"path","name":"deploymentProjectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestRepository"}}}},"description":"Array of repositories granted to create/edit environment in given deployment project by Repository stored Bamboo Specs."},"403":{"content":{"application/json":{}},"description":"User has no Administration permission to project"},"404":{"content":{"application/json":{}},"description":"Deployment project doesn't exist"}}},"post":{"description":"Grant permission to create/edit plan in given deployment project by Bamboo Specs from given repository.","operationId":"addAssignedRepository","parameters":[{"description":"Deployment project id","in":"path","name":"deploymentProjectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestIdContainer"}}},"description":"repository id","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestRepositoryMinimal"}}},"description":"added repository"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When repository id is empty or null"},"403":{"content":{"application/json":{}},"description":"User has no Administration permission to project"},"404":{"content":{"application/json":{}},"description":"Deployment project or repository doesn't exist"}}}},"/api/latest/deploy/project/{deploymentProjectId}/repository/search":{"get":{"description":"Search for linked repositories which can be granted to create/modify environment by Repository stored Bamboo Specs in given deployment project.","operationId":"searchAvailableRepositories","parameters":[{"description":"Maximum count of repositories","in":"query","name":"max-result","schema":{"type":"integer","format":"int32"}},{"description":"Part of repository name. Used to filter output.","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"Start index of repositories","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}},{"description":"Deployment project id","in":"path","name":"deploymentProjectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestRepositoryList"}}},"description":"Page container with linked repositories which have RSS enabled"},"403":{"content":{"application/json":{}},"description":"User has no Administration permission to project"},"404":{"content":{"application/json":{}},"description":"Deployment project doesn't exist"}}}},"/api/latest/deploy/project/{deploymentProjectId}/repository/{repositoryId}":{"delete":{"description":"Remove approval to create plans in given deployment project by given repository.","operationId":"deleteRepositoryMapping","parameters":[{"description":"Linked repository root id","in":"path","name":"repositoryId","required":true,"schema":{"type":"string"}},{"description":"Deployment project id","in":"path","name":"deploymentProjectId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"removed repository"},"403":{"content":{"application/json":{}},"description":"User has no Administration permission to project"},"404":{"content":{"application/json":{}},"description":"Deployment project or repository doesn't exist"}}}},"/api/latest/deploy/project/{deploymentProjectId}/specs":{"get":{"description":"Export a deployment project to Bamboo Specs.","operationId":"exportDeploymentSpec","parameters":[{"description":"The package to use as the namespace of the exported Spec","in":"query","name":"package","schema":{"type":"string"}},{"description":"Optionally, a format of code. It's 'java' by default. Other option is 'yaml.","in":"query","name":"format","schema":{"type":"string"}},{"description":"Deployment project id","in":"path","name":"deploymentProjectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"A JSON object with a code field containing the spec"},"403":{"content":{"application/json":{}},"description":"User has no Administration permission to project"},"404":{"content":{"application/json":{}},"description":"Deployment project doesn't exist"}}}},"/api/latest/deploy/project/{deploymentProjectId}/version":{"post":{"description":"Create deployment version for given deployment project.","operationId":"createVersion","parameters":[{"description":"Deployment project id","in":"path","name":"deploymentProjectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestCreateVersionRequest"}}},"description":"deployment version to be created","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDeploymentVersion"}}},"description":"Deployment project version"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Validation error"},"401":{"content":{"application/json":{}},"description":"For anonymous access"},"403":{"content":{"application/json":{}},"description":"User don't have permissions to create version in deployment project"},"404":{"content":{"application/json":{}},"description":"Deployment project doesn't exist"}}}},"/api/latest/deploy/project/{deploymentProjectId}/versions":{"get":{"description":"Get list of deployment versions.","operationId":"getDeploymentProjectVersions","parameters":[{"description":"plan branch key. Can be empty if default branch is required","in":"query","name":"branchKey","schema":{"type":"string"}},{"description":"Deployment project id","in":"path","name":"deploymentProjectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDeploymentVersionList"}}},"description":"Deployment project versions"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Validation error"},"403":{"content":{"application/json":{}},"description":"User has no view permission"},"404":{"content":{"application/json":{}},"description":"Deployment project doesn't exist"}}}},"/api/latest/deploy/projectVersioning/{deploymentProjectId}/namingPreview":{"get":{"description":"Get deployment version name preview.","operationId":"getDeploymentNamingPreview","parameters":[{"description":"Deployment project id","in":"path","name":"deploymentProjectId","required":true,"schema":{"type":"string"}},{"description":"Version name","in":"query","name":"nextVersionName","required":true,"schema":{"type":"string"}},{"description":"variables used for version name. Divided by coma","in":"query","name":"incrementableVariables","schema":{"type":"string"}},{"description":"If version number should be incremented","in":"query","name":"incrementNumbers","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestNamingPreview"}}},"description":"Version name preview"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Validation errors"},"403":{"content":{"application/json":{}},"description":"User has no view permission to deployment project"},"404":{"content":{"application/json":{}},"description":"Deployment project doesn't exist"}}}},"/api/latest/deploy/projectVersioning/{deploymentProjectId}/nextVersion":{"get":{"description":"Get next deployment version name.","operationId":"getNextDeploymentVersions","parameters":[{"description":"Build result key","in":"query","name":"resultKey","schema":{"type":"string"}},{"description":"Deployment project id","in":"path","name":"deploymentProjectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestNamingPreview"}}},"description":"Version name preview"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Validation errors"},"403":{"content":{"application/json":{}},"description":"User has no view permission to deployment project"},"404":{"content":{"application/json":{}},"description":"Deployment project doesn't exist"}}}},"/api/latest/deploy/projectVersioning/{deploymentProjectId}/parseVariables":{"get":{"description":"Extract variables value from version name.","operationId":"getVariablesFromName","parameters":[{"description":"Deployment project id","in":"path","name":"deploymentProjectId","required":true,"schema":{"type":"string"}},{"description":"Version name","in":"query","name":"nextVersionName","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"Collection of variable values"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Validation errors"},"403":{"content":{"application/json":{}},"description":"User has no view permission to deployment project"},"404":{"content":{"application/json":{}},"description":"Deployment project doesn't exist"}}}},"/api/latest/deploy/projectVersioning/{deploymentProjectId}/variables":{"get":{"description":"Get variables associated with deployment project.","operationId":"getDeploymentProjectVariables","parameters":[{"description":"Deployment project id","in":"path","name":"deploymentProjectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionVariables"}}},"description":"Version variables"},"403":{"content":{"application/json":{}},"description":"User has no view permission"},"404":{"content":{"application/json":{}},"description":"Deployment project doesn't exist"}}}},"/api/latest/deploy/result/{deploymentResultId}":{"get":{"description":"Get result of version deployment to environment.","operationId":"getDeploymentResult","parameters":[{"description":"If logs should be included","in":"query","name":"includeLogs","schema":{"type":"string"}},{"description":"Deployment result id","in":"path","name":"deploymentResultId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDeploymentResult"}}},"description":"Deployment result"},"403":{"content":{"application/json":{}},"description":"User has no view permission to deployment project"},"404":{"content":{"application/json":{}},"description":"Deployment result not found"}}}},"/api/latest/deploy/version/{deploymentVersionId}/build-result":{"get":{"description":"Get associated build result of deployment version.","operationId":"getVersionAndPlanResult","parameters":[{"description":"Deployment version id","in":"path","name":"deploymentVersionId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDeploymentVersionAndPlanResult"}}},"description":"Deployment version and build result associated"},"404":{"content":{"application/json":{}},"description":"Deployment version not found"}}}},"/api/latest/deploy/version/{deploymentVersionId}/status":{"get":{"description":"Get the all users' latest statuses of deployment version.","operationId":"getLatestVersionStatuses","parameters":[{"description":"Deployment version id","in":"path","name":"deploymentVersionId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDeploymentVersionStatuses"}}},"description":"Latest version status"},"204":{"description":"Version status not defined"},"404":{"content":{"application/json":{}},"description":"Deployment version not found"}}}},"/api/latest/deploy/version/{deploymentVersionId}/status/{newStatus}":{"post":{"description":"Update deployment version status.","operationId":"updateVersionStatus","parameters":[{"description":"Deployment version id","in":"path","name":"deploymentVersionId","required":true,"schema":{"type":"string"}},{"description":"deployment version status. Possible values: UNKNOWN, APPROVED, BROKEN, INCOMPLETE","in":"path","name":"newStatus","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDeploymentVersionStatuses"}}},"description":"Latest version status"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Unknown status of version"},"401":{"content":{"application/json":{}},"description":"For not authorized user"},"404":{"content":{"application/json":{}},"description":"Deployment version not found"}}}},"/api/latest/elasticConfiguration":{"get":{"description":"Fetch all elastic image configurations.","operationId":"getAll_1","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestElasticImageConfig"}}}},"description":"Array of elastic image configurations"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When Elastic Bamboo is disabled"},"403":{"content":{"application/json":{}},"description":"When user does not have admin permissions"}}},"post":{"description":"Create elastic image configuration.","operationId":"createImageConfiguration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestElasticImageConfig"}}},"description":"Elastic image configuration","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestElasticImageConfig"}}},"description":"Elastic image created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When Elastic Bamboo is disabled or validation failed"},"403":{"content":{"application/json":{}},"description":"When user does not have admin permissions"}}}},"/api/latest/elasticConfiguration/image-id/{imageId}":{"put":{"description":"Bulk update of all images AMI id.","operationId":"updateAllImageIds","parameters":[{"description":"AMI id","in":"path","name":"imageId","required":true,"schema":{"type":"string"}},{"description":"New AMI id","in":"query","name":"newImageId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"Count of update images"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When Elastic Bamboo is disabled"},"403":{"content":{"application/json":{}},"description":"When user does not have admin permissions"}}}},"/api/latest/elasticConfiguration/{configurationId}":{"delete":{"description":"Delete elastic image configuration.","operationId":"deleteConfiguration","parameters":[{"description":"Image configuration id","in":"path","name":"configurationId","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"Elastic image removed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When Elastic Bamboo is disabled or image is provided by Bamboo or removal was unsuccessful"},"403":{"content":{"application/json":{}},"description":"When user does not have admin permissions"},"404":{"content":{"application/json":{}},"description":"When image configuration doesn't exist"}}},"get":{"description":"Elastic image configuration details.","operationId":"getConfiguration_2","parameters":[{"in":"path","name":"configurationId","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestElasticImageConfig"}}},"description":"Elastic image configuration"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When Elastic Bamboo is disabled"},"403":{"content":{"application/json":{}},"description":"When user does not have admin permissions"},"404":{"content":{"application/json":{}},"description":"Elastic configuration not found"}}},"put":{"description":"Update elastic image configuration.","operationId":"updateConfiguration","parameters":[{"description":"Image configuration id","in":"path","name":"configurationId","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestElasticImageConfig"}}},"description":"Elastic image configuration","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestElasticImageConfig"}}},"description":"Elastic image updated"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When Elastic Bamboo is disabled or validation failed"},"403":{"content":{"application/json":{}},"description":"When user does not have admin permissions"},"404":{"content":{"application/json":{}},"description":"When image configuration doesn't exist"}}}},"/api/latest/elasticInstances/instance/{instanceId}/logs":{"get":{"description":"Obtain logs from an EC2 instance. Note that this method will return the console output of the instance, not Bamboo agent logs.","operationId":"getInstanceLog","parameters":[{"description":"id of the EC2 instance","in":"path","name":"instanceId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestElasticInstanceLog"}}},"description":"Instance id and it's console output"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If the input data or server state fails validation, for example when AWS account is not configured or Elastic Bamboo is not enabled."},"403":{"content":{"application/json":{}},"description":"User doesn't have permissions to manage elastic instances"},"404":{"content":{"application/json":{}},"description":"When no EC2 instance with the given id was found. The instance has to exist and must be managed by this Bamboo server"}}}},"/api/latest/encrypt":{"post":{"description":"Encrypts a given text based on the instance specific cipher. Encrypted data can be used i.a. in Repository-stored Specs. Feature can be enabled or disabled in Bamboo security configuration. Number of allowed requests per user is limited and can be modified in Bamboo security configuration.","operationId":"encrypt","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManualEncryptionRequest"}}},"description":"The request containing the details of manual encryption","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManualEncryptionResponse"}}},"description":"Encrypted text"},"404":{"content":{"application/json":{}},"description":"A response with code HTTP 404 indicates that feature is disabled in Bamboo"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}},"description":"A response with code HTTP 429 indicates that this resource had been called to many times by the authenticated user. Retry-After header contains information about how long (in seconds) the user has to wait till next call will be allowed."}}}},"/api/latest/ephemeral/pod/{pod}/logs":{"get":{"description":"Gets either pod or container related logs.","operationId":"getEphemeralAgentPodLogs","parameters":[{"description":"Pod name","in":"path","name":"pod","required":true,"schema":{"type":"string"}},{"description":"Container name, by default empty","in":"query","name":"containerName","schema":{"type":"string"}},{"description":"Log entries limit, by default 50. If it is 'unlimited', all available logs will be returned","in":"query","name":"limit","schema":{"type":"string"}},{"description":"The timestamp indicates the logs' bottom time boundary","in":"query","name":"afterTimestamp","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestEphemeralPodLogs"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"List of log entries"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"The logs for requested pod/container does not exist"},"403":{"content":{"application/json":{}},"description":"User has neither admin nor restricted admin permission"}}}},"/api/latest/ephemeral/pod/{pod}/logs/raw":{"get":{"description":"Gets either pod or container all logs in the raw, plain text form.","operationId":"getEphemeralAgentPodRawLogs","parameters":[{"description":"Pod name","in":"path","name":"pod","required":true,"schema":{"type":"string"}},{"description":"Container name, by default empty","in":"query","name":"containerName","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"type":"string"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Raw logs"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"The logs for requested pod/container does not exist"},"403":{"content":{"application/json":{}},"description":"User has neither admin nor restricted admin permission"}}}},"/api/latest/ephemeral/templateConfiguration":{"get":{"description":"Fetch page of ephemeral templates.","operationId":"getTemplateConfigurationsPage","parameters":[{"in":"query","name":"filter","schema":{"type":"string","default":""}},{"in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"in":"query","name":"start","schema":{"type":"integer","format":"int32","default":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestEphemeralAgentTemplate"}}}},"description":"Page of ephemeral templates"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When Ephemeral agents are disabled"},"403":{"content":{"application/json":{}},"description":"When the user does not have either admin or restricted admin permissions"}}},"post":{"description":"Create ephemeral template configuration.","operationId":"createTemplateConfiguration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestEphemeralAgentTemplate"}}},"description":"Ephemeral template configuration","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestEphemeralAgentTemplate"}}},"description":"Ephemeral template configuration created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When Ephemeral agents are disabled or validation failed"},"403":{"content":{"application/json":{}},"description":"When the user does not have either admin or restricted admin permissions"}}}},"/api/latest/ephemeral/templateConfiguration/{configurationId}":{"delete":{"description":"Delete ephemeral template configuration.","operationId":"deleteTemplateConfiguration","parameters":[{"description":"Configuration ID","in":"path","name":"configurationId","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"Ephemeral template configuration removed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When Ephemeral agents are disabled or removal was unsuccessful"},"403":{"content":{"application/json":{}},"description":"When the user does not have either admin or restricted admin permissions"},"404":{"content":{"application/json":{}},"description":"When configuration doesn't exist"}}},"get":{"description":"Gets ephemeral template configuration details.","operationId":"getTemplateConfiguration","parameters":[{"description":"Configuration ID","in":"path","name":"configurationId","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestEphemeralAgentTemplate"}}},"description":"Ephemeral template configuration"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When Ephemeral agents are disabled"},"403":{"content":{"application/json":{}},"description":"When the user does not have either admin or restricted admin permissions"},"404":{"content":{"application/json":{}},"description":"Configuration not found"}}},"put":{"description":"Update ephemeral agent template.","operationId":"updateTemplateConfiguration","parameters":[{"description":"Configuration ID","in":"path","name":"configurationId","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestEphemeralAgentTemplate"}}},"description":"Ephemeral agent template","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestEphemeralAgentTemplate"}}},"description":"Ephemeral agent template updated"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When Ephemeral agents are disabled or validation failed"},"403":{"content":{"application/json":{}},"description":"When the user does not have either admin or restricted admin permissions"},"404":{"content":{"application/json":{}},"description":"When configuration doesn't exist"}}}},"/api/latest/ephemeral/templateConfiguration/{configurationId}/capability":{"get":{"description":"Fetch page of ephemeral agent template capabilities.","operationId":"getCapabilities","parameters":[{"in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"in":"query","name":"start","schema":{"type":"integer","format":"int32","default":0}},{"description":"Configuration ID","in":"path","name":"configurationId","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestEphemeralAgentTemplate"}}}},"description":"Page of ephemeral agent template capabilities"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When Ephemeral agents are disabled"},"403":{"content":{"application/json":{}},"description":"When the user does not have either admin or restricted admin permissions"},"404":{"content":{"application/json":{}},"description":"When ephemeral agent template not found"}}},"post":{"description":"Add ephemeral agent template capability.","operationId":"addCapability","parameters":[{"description":"Configuration ID","in":"path","name":"configurationId","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestCapability"}}},"description":"Ephemeral agent template capability","required":true},"responses":{"204":{"description":"Ephemeral agent template capability updated"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When Ephemeral agents are disabled or validation failed"},"403":{"content":{"application/json":{}},"description":"When the user does not have either admin or restricted admin permissions"},"404":{"content":{"application/json":{}},"description":"When configuration doesn't exist"}}},"put":{"description":"Update ephemeral agent template capability.","operationId":"updateCapability","parameters":[{"description":"Configuration ID","in":"path","name":"configurationId","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestCapability"}}},"description":"Ephemeral agent template capability","required":true},"responses":{"204":{"description":"Ephemeral agent template capability updated"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When Ephemeral agents are disabled or validation failed"},"403":{"content":{"application/json":{}},"description":"When the user does not have either admin or restricted admin permissions"},"404":{"content":{"application/json":{}},"description":"When configuration doesn't exist"}}}},"/api/latest/ephemeral/templateConfiguration/{configurationId}/capability/{name}":{"delete":{"description":"Remove ephemeral agent template capability.","operationId":"deleteCapability","parameters":[{"description":"Capability key","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Configuration ID","in":"path","name":"configurationId","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"Ephemeral agent template capability removed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When Ephemeral agents are disabled"},"403":{"content":{"application/json":{}},"description":"When the user does not have either admin or restricted admin permissions"},"404":{"content":{"application/json":{}},"description":"When configuration doesn't exist"}}}},"/api/latest/info":{"get":{"description":"Bamboo instance details.","operationId":"getInfo","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestInfo"}}},"description":"Instance details"}}}},"/api/latest/job/{jobKey}/docker":{"get":{"description":"Retrieves Docker configuration for given job.","operationId":"getDockerPipelineConfiguration","parameters":[{"description":"Key of the job","in":"path","name":"jobKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDockerPipelineConfiguration"}}},"description":"Returns Docker Pipeline configuration for given environment"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If validation fails"},"403":{"content":{"application/json":{}},"description":"If the user has no admin permissions or job doesn't exist"}},"tags":["Build"]},"put":{"description":"Updates Docker configuration for given job.","operationId":"setDockerPipelineConfiguration","parameters":[{"description":"Key of the job","in":"path","name":"jobKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestDockerPipelineConfiguration"}}},"description":"The request containing the details of the docker pipeline configuration","required":true},"responses":{"200":{"content":{"application/json":{}},"description":"If configuration is updated properly"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If validation fails"},"403":{"content":{"application/json":{}},"description":"If the user has no admin permissions or job doesn't exist"}},"tags":["Build"]}},"/api/latest/permissions/deployment/{id}/available-groups":{"get":{"description":"Returns list of groups which weren't granted explicitly any deployment project permissions. Resource is paged, returns single page of resources.","operationId":"getAvailableGroups","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Group name filter, filter is case insensitive matches group name","in":"query","name":"name","schema":{"type":"string"}},{"description":"Deployment project entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestGroup"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of groups which don't have any explicit permissions granted"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/deployment/{id}/available-users":{"get":{"description":"Returns list of users which weren't granted explicitly any deployment project permissions. Resource is paged, returns single page of resources.","operationId":"getAvailableUsers","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"User filter, filter is case insensitive matches: username, user's full name, user's email","in":"query","name":"name","schema":{"type":"string"}},{"description":"Deployment project entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUser"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of users which don't have any explicit permissions granted"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/deployment/{id}/groups":{"get":{"description":"Retrieve a list of groups with their deployment project permissions. The list can be filtered by some attributes. This resource is paged returns a single page of results.","operationId":"listGroupPermissions","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Group name filter, filter is case insensitive matches group name","in":"query","name":"name","schema":{"type":"string"}},{"description":"Deployment project entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestGroupPermission"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of groups with their permissions"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/deployment/{id}/groups/{name}":{"delete":{"description":"Revokes deployment project permissions from a given group.","operationId":"removePermissionsForGroup","parameters":[{"description":"Affected group","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Deployment project entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to be revoked"},"responses":{"204":{"description":"If permissions were revoked"},"304":{"content":{"application/json":{}},"description":"If group already lacked requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If group doesn't exist"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]},"put":{"description":"Grants deployment project permissions to a given group.","operationId":"addPermissionsForGroup","parameters":[{"description":"Affected group","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Deployment project entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to grant"},"responses":{"200":{"content":{"application/json":{}},"description":"If permissions were granted"},"304":{"content":{"application/json":{}},"description":"If group already had requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If group doesn't exist or one of the requested permission isn't supported for given endpoint"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/deployment/{id}/roles":{"get":{"description":"Retrieve a list of roles with their deployment project permissions. This resource is paged returns a single page of results, although only 2 roles are supported: LOGGED IN users, ANONYMOUS users.","operationId":"listRolePermissions","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Deployment project entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestRolePermission"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of roles with their permissions"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/deployment/{id}/roles/{name}":{"delete":{"description":"Revokes deployment project permissions from a given role.","operationId":"removePermissionsForRole","parameters":[{"description":"Affected role","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Deployment project entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to be revoked"},"responses":{"204":{"description":"If permissions were revoked"},"304":{"content":{"application/json":{}},"description":"If role already lacked requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If role doesn't exist"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]},"put":{"description":"Grants deployment project permissions to a given role.","operationId":"addPermissionsForRole","parameters":[{"description":"Affected role","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Deployment project entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to grant"},"responses":{"200":{"content":{"application/json":{}},"description":"If permissions were granted"},"304":{"content":{"application/json":{}},"description":"If role already had requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If role doesn't exist or one of the requested permission isn't supported for given role. Anonymous role supports only VIEW permission"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/deployment/{id}/users":{"get":{"description":"Retrieve a list of users with their explicit permissions to given resource. The list can be filtered by some attributes. This resource is paged and returns a single page of results.","operationId":"listUserPermissions","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"User filter, filter is case insensitive matches: username, user's full name, user's email","in":"query","name":"name","schema":{"type":"string"}},{"description":"Deployment project entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUserPermission"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of users with their permissions"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/deployment/{id}/users/{name}":{"delete":{"description":"Revokes deployment project permissions from a given user.","operationId":"removePermissionsForUser","parameters":[{"description":"Username of the affected user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Deployment project entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to be revoked"},"responses":{"204":{"description":"If permissions were revoked"},"304":{"content":{"application/json":{}},"description":"If user already lacked requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If the 'username' user doesn't exist"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]},"put":{"description":"Grants deployment project permissions to a given user.","operationId":"addPermissionsForUser","parameters":[{"description":"Username of the affected user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Deployment project entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Names to grant"},"responses":{"200":{"content":{"application/json":{}},"description":"If permissions were granted"},"304":{"content":{"application/json":{}},"description":"If user already had requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If 'username' user doesn't exist or one of the requested permission isn't supported for given endpoint"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/environment/{id}/available-groups":{"get":{"description":"Returns list of groups which weren't granted explicitly any deployment environment permissions. Resource is paged, returns single page of resources.","operationId":"getAvailableGroups_1","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Group name filter, filter is case insensitive matches group name","in":"query","name":"name","schema":{"type":"string"}},{"description":"Deployment environment entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestGroup"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of groups which don't have any explicit permissions granted"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/environment/{id}/available-users":{"get":{"description":"Returns list of users which weren't granted explicitly any deployment environment permissions. Resource is paged, returns single page of resources.","operationId":"getAvailableUsers_1","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"User filter, filter is case insensitive matches: username, user's full name, user's email","in":"query","name":"name","schema":{"type":"string"}},{"description":"Deployment environment entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUser"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of users which don't have any explicit permissions granted"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/environment/{id}/groups":{"get":{"description":"Retrieve a list of groups with their deployment environment permissions. The list can be filtered by some attributes. This resource is paged returns a single page of results.","operationId":"listGroupPermissions_1","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Group name filter, filter is case insensitive matches group name","in":"query","name":"name","schema":{"type":"string"}},{"description":"Deployment environment entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestGroupPermission"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of groups with their permissions"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/environment/{id}/groups/{name}":{"delete":{"description":"Revokes deployment environment permissions from a given group.","operationId":"removePermissionsForGroup_1","parameters":[{"description":"Affected group","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Deployment environment entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to be revoked"},"responses":{"204":{"description":"If permissions were revoked"},"304":{"content":{"application/json":{}},"description":"If group already lacked requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If group doesn't exist"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]},"put":{"description":"Grants deployment environment permissions to a given group.","operationId":"addPermissionsForGroup_1","parameters":[{"description":"Permission names to grant","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Deployment environment entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to grant"},"responses":{"200":{"content":{"application/json":{}},"description":"If permissions were granted"},"304":{"content":{"application/json":{}},"description":"If group already had requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If group doesn't exist or one of the requested permission isn't supported for given endpoint"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/environment/{id}/roles":{"get":{"description":"Retrieve a list of roles with their deployment environment permissions. This resource is paged returns a single page of results, although only 2 roles are supported: LOGGED IN users, ANONYMOUS users","operationId":"listRolePermissions_1","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Deployment environment entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestRolePermission"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of roles with their permissions"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/environment/{id}/roles/{name}":{"delete":{"description":"Revokes deployment environment permissions from a given role.","operationId":"removePermissionsForRole_1","parameters":[{"description":"Affected role","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Deployment environment entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to be revoked"},"responses":{"204":{"description":"If permissions were revoked"},"304":{"content":{"application/json":{}},"description":"If role already lacked requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If role doesn't exist"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]},"put":{"description":"Grants deployment environment permissions to a given role.","operationId":"addPermissionsForRole_1","parameters":[{"description":"Affected role","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Deployment environment entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to grant"},"responses":{"200":{"content":{"application/json":{}},"description":"If permissions were granted"},"304":{"content":{"application/json":{}},"description":"If role already had requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If role doesn't exist or one of the requested permission isn't supported for given role. Anonymous role supports only VIEW permission"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/environment/{id}/users":{"get":{"description":"Retrieve a list of users with their explicit permissions to given resource. The list can be filtered by some attributes. This resource is paged and returns a single page of results.","operationId":"listUserPermissions_1","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"User filter, filter is case insensitive matches: username, user's full name, user's email","in":"query","name":"name","schema":{"type":"string"}},{"description":"Deployment environment entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUserPermission"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of users with their permissions"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/environment/{id}/users/{name}":{"delete":{"description":"Revokes deployment environment permissions from a given user.","operationId":"removePermissionsForUser_1","parameters":[{"description":"Username of the affected user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Deployment environment entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to be revoked"},"responses":{"204":{"description":"If permissions were revoked"},"304":{"content":{"application/json":{}},"description":"If user already lacked requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If the 'username' user doesn't exist"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]},"put":{"description":"Grants deployment environment permissions to a given user.","operationId":"addPermissionsForUser_1","parameters":[{"description":"Username of the affected user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Deployment environment entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to grant"},"responses":{"200":{"content":{"application/json":{}},"description":"If permissions were granted"},"304":{"content":{"application/json":{}},"description":"If user already had requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If 'username' user doesn't exist or one of the requested permission isn't supported for given endpoint"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/global/available-groups":{"get":{"description":"Returns list of groups which weren't granted explicitly any permissions. Resource is paged, returns single page of resources.","operationId":"getAvailableGroups_2","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Group name filter, filter is case insensitive matches group name","in":"query","name":"name","schema":{"type":"string"}},{"in":"query","name":"ignore","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestGroup"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of groups which don't have any explicit permissions granted"},"403":{"content":{"application/json":{}},"description":"If the user lacks global admin or restricted admin permission"}},"tags":["Permissions"]}},"/api/latest/permissions/global/available-users":{"get":{"description":"Returns list of users which weren't granted explicitly any permissions. Resource is paged, returns single page of resources.","operationId":"getAvailableUsers_2","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"User filter, filter is case insensitive matches: username, user's full name, user's email","in":"query","name":"name","schema":{"type":"string"}},{"in":"query","name":"ignore","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUser"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of users which don't have any explicit permissions granted"},"403":{"content":{"application/json":{}},"description":"If the user lacks global admin or restricted admin permission"}},"tags":["Permissions"]}},"/api/latest/permissions/global/groups":{"get":{"description":"Retrieve a list of groups with their global permissions. The list can be filtered by some attributes. This resource is paged returns a single page of results.","operationId":"listGroupPermissions_2","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Group name filter, filter is case insensitive matches group name","in":"query","name":"name","schema":{"type":"string"}},{"in":"query","name":"ignore","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestGroupPermission"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of groups with their permissions"},"403":{"content":{"application/json":{}},"description":"If the user lacks global admin or restricted admin permission"}},"tags":["Permissions"]}},"/api/latest/permissions/global/groups/{name}":{"delete":{"description":"Revokes global permissions from a given group.","operationId":"removePermissionsForGroup_2","parameters":[{"description":"Affected group","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"in":"query","name":"ignore","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to be revoked"},"responses":{"204":{"description":"If permissions were revoked"},"304":{"content":{"application/json":{}},"description":"If group already lacked requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If group doesn't exist"},"403":{"content":{"application/json":{}},"description":"If the user lacks global admin or restricted admin permission"}},"tags":["Permissions"]},"put":{"description":"Grants global permissions to a given group.","operationId":"addPermissionsForGroup_2","parameters":[{"description":"Affected group","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"in":"query","name":"ignore","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to grant"},"responses":{"200":{"content":{"application/json":{}},"description":"If permissions were granted"},"304":{"content":{"application/json":{}},"description":"If group already had requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If group doesn't exist or one of the requested permission isn't supported for given endpoint"},"403":{"content":{"application/json":{}},"description":"If the user lacks global admin or restricted admin permission"}},"tags":["Permissions"]}},"/api/latest/permissions/global/roles":{"get":{"description":"Retrieve a list of roles with their global permissions. This resource is paged returns a single page of results, although only 2 roles are supported: LOGGED IN users, ANONYMOUS users","operationId":"listRolePermissions_2","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"in":"query","name":"ignore","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestRolePermission"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of roles with their permissions"},"403":{"content":{"application/json":{}},"description":"If the user lacks global admin or restricted admin permission"}},"tags":["Permissions"]}},"/api/latest/permissions/global/roles/{name}":{"delete":{"description":"Revokes global permissions from a given role.","operationId":"removePermissionsForRole_2","parameters":[{"description":"Affected role","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"in":"query","name":"ignore","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to be revoked"},"responses":{"204":{"description":"If permissions were revoked"},"304":{"content":{"application/json":{}},"description":"If role already lacked requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If role doesn't exist"},"403":{"content":{"application/json":{}},"description":"If the user lacks global admin or restricted admin permission"}},"tags":["Permissions"]},"put":{"description":"Grants global permissions to a given role.","operationId":"addPermissionsForRole_2","parameters":[{"description":"Affected role","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"in":"query","name":"ignore","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to grant"},"responses":{"200":{"content":{"application/json":{}},"description":"If permissions were granted"},"304":{"content":{"application/json":{}},"description":"If role already had requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If role doesn't exist or one of the requested permission isn't supported for given role. Anonymous role supports only VIEW permission"},"403":{"content":{"application/json":{}},"description":"If the user lacks global admin or restricted admin permission"}},"tags":["Permissions"]}},"/api/latest/permissions/global/users":{"get":{"description":"Retrieve a list of users with their global permissions. The list can be filtered by some attributes. This resource is paged and returns a single page of results.","operationId":"listUserPermissions_2","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"User filter, filter is case insensitive matches: username, user's full name, user's email","in":"query","name":"name","schema":{"type":"string"}},{"in":"query","name":"ignore","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUserPermission"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of users with their permissions"},"403":{"content":{"application/json":{}},"description":"If the user lacks global admin or restricted admin permission"}},"tags":["Permissions"]}},"/api/latest/permissions/global/users/{name}":{"delete":{"description":"Revokes global permissions from a given user.","operationId":"removePermissionsForUser_2","parameters":[{"description":"Username of the affected user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"in":"query","name":"ignore","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to be revoked"},"responses":{"204":{"description":"If permissions were revoked"},"304":{"content":{"application/json":{}},"description":"If user already lacked requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If the 'username' user doesn't exist"},"403":{"content":{"application/json":{}},"description":"If the user lacks global admin or restricted admin permission"}},"tags":["Permissions"]},"put":{"description":"Grants global permissions to a given user.","operationId":"addPermissionsForUser_2","parameters":[{"description":"Username of the affected user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"in":"query","name":"ignore","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to grant"},"responses":{"200":{"content":{"application/json":{}},"description":"If permissions were granted"},"304":{"content":{"application/json":{}},"description":"If user already had requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If 'username' user doesn't exist or one of the requested permission isn't supported for given endpoint"},"403":{"content":{"application/json":{}},"description":"If the user lacks global admin or restricted admin permission"}},"tags":["Permissions"]}},"/api/latest/permissions/plan/{key}/available-groups":{"get":{"description":"Returns list of groups which weren't granted explicitly any plan permissions. Resource is paged, returns single page of resources.","operationId":"getAvailableGroups_3","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Group name filter, filter is case insensitive matches group name","in":"query","name":"name","schema":{"type":"string"}},{"description":"Plan entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestGroup"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of groups which don't have any explicit permissions granted"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/plan/{key}/available-users":{"get":{"description":"Returns list of users which weren't granted explicitly any plan permissions. Resource is paged, returns single page of resources.","operationId":"getAvailableUsers_3","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"User filter, filter is case insensitive matches: username, user's full name, user's email","in":"query","name":"name","schema":{"type":"string"}},{"description":"Plan entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUser"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of users which don't have any explicit permissions granted"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/plan/{key}/groups":{"get":{"description":"Retrieve a list of groups with their plan permissions. The list can be filtered by some attributes. This resource is paged returns a single page of results.","operationId":"listGroupPermissions_3","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Group name filter, filter is case insensitive matches group name","in":"query","name":"name","schema":{"type":"string"}},{"description":"Plan entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestGroupPermission"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of groups with their permissions"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/plan/{key}/groups/{name}":{"delete":{"description":"Revokes plan permissions from a given group.","operationId":"removePermissionsForGroup_3","parameters":[{"description":"Affected group","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Plan entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to be revoked"},"responses":{"204":{"description":"If permissions were revoked"},"304":{"content":{"application/json":{}},"description":"If group already lacked requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If group doesn't exist"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"},"404":{"content":{"application/json":{}},"description":"If plan not found"}},"tags":["Permissions"]},"put":{"description":"Grants plan permissions to a given group.","operationId":"addPermissionsForGroup_3","parameters":[{"description":"Affected group","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Plan entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to grant"},"responses":{"200":{"content":{"application/json":{}},"description":"If permissions were granted"},"304":{"content":{"application/json":{}},"description":"If group already had requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If group doesn't exist or one of the requested permission isn't supported for given endpoint"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"},"404":{"content":{"application/json":{}},"description":"If plan not found"}},"tags":["Permissions"]}},"/api/latest/permissions/plan/{key}/roles":{"get":{"description":"Retrieve a list of roles with their plan permissions. This resource is paged returns a single page of results, although only 2 roles are supported: LOGGED IN users, ANONYMOUS users.","operationId":"listRolePermissions_3","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Plan entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestRolePermission"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of roles with their permissions"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/plan/{key}/roles/{name}":{"delete":{"description":"Revokes plan permissions from a given role.","operationId":"removePermissionsForRole_3","parameters":[{"description":"Affected role","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Plan entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to be revoked"},"responses":{"204":{"description":"If permissions were revoked"},"304":{"content":{"application/json":{}},"description":"If role already lacked requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If role doesn't exist"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"},"404":{"content":{"application/json":{}},"description":"If plan not found"}},"tags":["Permissions"]},"put":{"description":"Grants plan permissions to a given role.","operationId":"addPermissionsForRole_3","parameters":[{"description":"Affected role","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Plan entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to grant"},"responses":{"200":{"content":{"application/json":{}},"description":"If permissions were granted"},"304":{"content":{"application/json":{}},"description":"If role already had requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If role doesn't exist or one of the requested permission isn't supported for given role. Anonymous role supports only VIEW permission"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"},"404":{"content":{"application/json":{}},"description":"If plan not found"}},"tags":["Permissions"]}},"/api/latest/permissions/plan/{key}/users":{"get":{"description":"Retrieve a list of users with their explicit permissions to given resource. The list can be filtered by some attributes. This resource is paged and returns a single page of results.","operationId":"listUserPermissions_3","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"User filter, filter is case insensitive matches: username, user's full name, user's email","in":"query","name":"name","schema":{"type":"string"}},{"description":"Plan entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUserPermission"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of users with their permissions"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/plan/{key}/users/{name}":{"delete":{"description":"Revokes plan permissions from a given user.","operationId":"removePermissionsForUser_3","parameters":[{"description":"Username of the affected user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Plan entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to be revoked"},"responses":{"204":{"description":"If permissions were revoked"},"304":{"content":{"application/json":{}},"description":"If user already lacked requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If the 'username' user doesn't exist"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"},"404":{"content":{"application/json":{}},"description":"If plan not found"}},"tags":["Permissions"]},"put":{"description":"Grants plan permissions to a given user.","operationId":"addPermissionsForUser_3","parameters":[{"description":"Username of the affected user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Plan entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to grant"},"responses":{"200":{"content":{"application/json":{}},"description":"If permissions were granted"},"304":{"content":{"application/json":{}},"description":"If user already had requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If 'username' user doesn't exist or one of the requested permission isn't supported for given endpoint"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"},"404":{"content":{"application/json":{}},"description":"If plan not found"}},"tags":["Permissions"]}},"/api/latest/permissions/project/{key}/available-groups":{"get":{"description":"Returns list of groups which weren't granted explicitly any project permissions. Resource is paged, returns single page of resources.","operationId":"getAvailableGroups_4","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Group name filter, filter is case insensitive matches group name","in":"query","name":"name","schema":{"type":"string"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestGroup"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of groups which don't have any explicit permissions granted"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/project/{key}/available-users":{"get":{"description":"Returns list of users which weren't granted explicitly any project permissions. Resource is paged, returns single page of resources.","operationId":"getAvailableUsers_4","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"User filter, filter is case insensitive matches: username, user's full name, user's email","in":"query","name":"name","schema":{"type":"string"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUser"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of users which don't have any explicit permissions granted"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/project/{key}/groups":{"get":{"description":"Retrieve a list of groups with their project permissions. The list can be filtered by some attributes. This resource is paged returns a single page of results.","operationId":"listGroupPermissions_4","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Group name filter, filter is case insensitive matches group name","in":"query","name":"name","schema":{"type":"string"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestGroupPermission"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of groups with their permissions"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/project/{key}/groups/{name}":{"delete":{"description":"Revokes project permissions from a given group.","operationId":"removePermissionsForGroup_4","parameters":[{"description":"Affected group","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to be revoked"},"responses":{"204":{"description":"If permissions were revoked"},"304":{"content":{"application/json":{}},"description":"If group already lacked requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If group doesn't exist"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]},"put":{"description":"Grants project permissions to a given group.","operationId":"addPermissionsForGroup_4","parameters":[{"description":"Affected group","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to grant"},"responses":{"200":{"content":{"application/json":{}},"description":"If permissions were granted"},"304":{"content":{"application/json":{}},"description":"If group already had requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If group doesn't exist or one of the requested permission isn't supported for given endpoint"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/project/{key}/roles":{"get":{"description":"Retrieve a list of roles with their project permissions. This resource is paged returns a single page of results, although only LOGGED IN users role is supported","operationId":"listRolePermissions_4","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestRolePermission"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of roles with their permissions"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/project/{key}/roles/{name}":{"delete":{"description":"Revokes project permissions from a given role.","operationId":"removePermissionsForRole_4","parameters":[{"description":"Affected role","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to be revoked"},"responses":{"204":{"description":"If permissions were revoked"},"304":{"content":{"application/json":{}},"description":"If role already lacked requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If role doesn't exist"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]},"put":{"description":"Grants project permissions to a given role.","operationId":"addPermissionsForRole_4","parameters":[{"description":"Affected role","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to grant"},"responses":{"200":{"content":{"application/json":{}},"description":"If permissions were granted"},"304":{"content":{"application/json":{}},"description":"If role already had requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If role doesn't exist or one of the requested permission isn't supported for given role"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/project/{key}/users":{"get":{"description":"Retrieve a list of users with their explicit permissions to given resource. The list can be filtered by some attributes. This resource is paged and returns a single page of results.","operationId":"listUserPermissions_4","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"User filter, filter is case insensitive matches: username, user's full name, user's email","in":"query","name":"name","schema":{"type":"string"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUserPermission"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of users with their permissions"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/project/{key}/users/{name}":{"delete":{"description":"Revokes project permissions from a given user.","operationId":"removePermissionsForUser_4","parameters":[{"description":"Username of the affected user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to be revoked"},"responses":{"204":{"description":"If permissions were revoked"},"304":{"content":{"application/json":{}},"description":"If user already lacked requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If the 'username' user doesn't exist"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]},"put":{"description":"Grants project permissions to a given user.","operationId":"addPermissionsForUser_4","parameters":[{"description":"Username of the affected user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to grant"},"responses":{"200":{"content":{"application/json":{}},"description":"If permissions were granted"},"304":{"content":{"application/json":{}},"description":"If user already had requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If 'username' user doesn't exist or one of the requested permission isn't supported for given endpoint"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/projectplan/{key}/available-groups":{"get":{"description":"Returns list of groups which weren't granted explicitly any project plan permissions. Resource is paged, returns single page of resources.","operationId":"getAvailableGroups_5","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Group name filter, filter is case insensitive matches group name","in":"query","name":"name","schema":{"type":"string"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestGroup"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of groups which don't have any explicit permissions granted"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/projectplan/{key}/available-users":{"get":{"description":"Returns list of users which weren't granted explicitly any project plan permissions. Resource is paged, returns single page of resources.","operationId":"getAvailableUsers_5","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"User filter, filter is case insensitive matches: username, user's full name, user's email","in":"query","name":"name","schema":{"type":"string"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUser"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of users which don't have any explicit permissions granted"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/projectplan/{key}/groups":{"get":{"description":"Retrieve a list of groups with their project plan permissions. The list can be filtered by some attributes. This resource is paged returns a single page of results.","operationId":"listGroupPermissions_5","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Group name filter, filter is case insensitive matches group name","in":"query","name":"name","schema":{"type":"string"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestGroupPermission"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of groups with their permissions"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/projectplan/{key}/groups/{name}":{"delete":{"description":"Revokes project plan permissions from a given group.","operationId":"removePermissionsForGroup_5","parameters":[{"description":"Affected group","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to be revoked"},"responses":{"204":{"description":"If permissions were revoked"},"304":{"content":{"application/json":{}},"description":"If group already lacked requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If group doesn't exist"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]},"put":{"description":"Grants project plan permissions to a given group.","operationId":"addPermissionsForGroup_5","parameters":[{"description":"Affected group","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to grant"},"responses":{"200":{"content":{"application/json":{}},"description":"If permissions were granted"},"304":{"content":{"application/json":{}},"description":"If group already had requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If group doesn't exist or one of the requested permission isn't supported for given endpoint"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/projectplan/{key}/roles":{"get":{"description":"Retrieve a list of roles with their project plan permissions. This resource is paged returns a single page of results, although only 2 roles are supported: LOGGED IN users, ANONYMOUS users.","operationId":"listRolePermissions_5","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestRolePermission"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of roles with their permissions"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/projectplan/{key}/roles/{name}":{"delete":{"description":"Revokes project plan permissions from a given role.","operationId":"removePermissionsForRole_5","parameters":[{"description":"Affected role","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to be revoked"},"responses":{"204":{"description":"If permissions were revoked"},"304":{"content":{"application/json":{}},"description":"If role already lacked requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If role doesn't exist"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]},"put":{"description":"Grants project plan permissions to a given role.","operationId":"addPermissionsForRole_5","parameters":[{"description":"Affected role","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to grant"},"responses":{"200":{"content":{"application/json":{}},"description":"IIf permissions were granted"},"304":{"content":{"application/json":{}},"description":"If role already had requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If role doesn't exist or one of the requested permission isn't supported for given role. Anonymous role supports only VIEW permission"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/projectplan/{key}/users":{"get":{"description":"Retrieve a list of users with their explicit permissions to given resource. The list can be filtered by some attributes. This resource is paged and returns a single page of results.","operationId":"listUserPermissions_5","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"User filter, filter is case insensitive matches: username, user's full name, user's email","in":"query","name":"name","schema":{"type":"string"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUserPermission"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of users with their permissions"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/projectplan/{key}/users/{name}":{"delete":{"description":"Revokes project plan permissions from a given user.","operationId":"removePermissionsForUser_5","parameters":[{"description":"Username of the affected user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to be revoked"},"responses":{"204":{"description":"If permissions were revoked"},"304":{"content":{"application/json":{}},"description":"If user already lacked requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If the 'username' user doesn't exist"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]},"put":{"description":"Grants project plan permissions to a given user.","operationId":"addPermissionsForUser_5","parameters":[{"description":"Username of the affected user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Project entity key","in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to grant"},"responses":{"200":{"content":{"application/json":{}},"description":"If permissions were granted"},"304":{"content":{"application/json":{}},"description":"If user already had requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If 'username' user doesn't exist or one of the requested permission isn't supported for given endpoint"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/repository/{id}/available-groups":{"get":{"description":"Returns list of groups which weren't granted explicitly any repository permissions. Resource is paged, returns single page of resources.","operationId":"getAvailableGroups_6","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Group name filter, filter is case insensitive matches group name","in":"query","name":"name","schema":{"type":"string"}},{"description":"Repository entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestGroup"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of groups which don't have any explicit permissions granted"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/repository/{id}/available-users":{"get":{"description":"Returns list of users which weren't granted explicitly any repository permissions. Resource is paged, returns single page of resources.","operationId":"getAvailableUsers_6","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"User filter, filter is case insensitive matches: username, user's full name, user's email","in":"query","name":"name","schema":{"type":"string"}},{"description":"Repository entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUser"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of users which don't have any explicit permissions granted"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/repository/{id}/groups":{"get":{"description":"Retrieve a list of groups with their repository permissions. The list can be filtered by some attributes. This resource is paged returns a single page of results.","operationId":"listGroupPermissions_6","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Group name filter, filter is case insensitive matches group name","in":"query","name":"name","schema":{"type":"string"}},{"description":"Repository entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestGroupPermission"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of groups with their permissions"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/repository/{id}/groups/{name}":{"delete":{"description":"Revokes repository permissions from a given group.","operationId":"removePermissionsForGroup_6","parameters":[{"description":"Affected group","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Repository entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to be revoked"},"responses":{"204":{"description":"If permissions were revoked"},"304":{"content":{"application/json":{}},"description":"If group already lacked requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If group doesn't exist"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]},"put":{"description":"Grants repository permissions to a given group.","operationId":"addPermissionsForGroup_6","parameters":[{"description":"Affected group","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Repository entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to grant"},"responses":{"200":{"content":{"application/json":{}},"description":"If permissions were granted"},"304":{"content":{"application/json":{}},"description":"If group already had requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If group doesn't exist or one of the requested permission isn't supported for given endpoint"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/repository/{id}/roles":{"get":{"description":"Retrieve a list of roles with their repository permissions. This resource is paged returns a single page of results, although only LOGGED IN users role is supported.","operationId":"listRolePermissions_6","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"Repository entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestRolePermission"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of roles with their permissions"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/repository/{id}/roles/{name}":{"delete":{"description":"Revokes repository permissions from a given role.","operationId":"removePermissionsForRole_6","parameters":[{"description":"Affected role","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Repository entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to be revoked"},"responses":{"204":{"description":"If permissions were revoked"},"304":{"content":{"application/json":{}},"description":"If role already lacked requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If role doesn't exist"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]},"put":{"description":"Grants repository permissions to a given role.","operationId":"addPermissionsForRole_6","parameters":[{"description":"Affected role","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Repository entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to grant"},"responses":{"200":{"content":{"application/json":{}},"description":"If permissions were granted"},"304":{"content":{"application/json":{}},"description":"If role already had requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If role doesn't exist or one of the requested permission isn't supported for given role"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/repository/{id}/users":{"get":{"description":"Retrieve a list of users with their explicit permissions to given resource. The list can be filtered by some attributes. This resource is paged and returns a single page of results.","operationId":"listUserPermissions_6","parameters":[{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}},{"description":"User filter, filter is case insensitive matches: username, user's full name, user's email","in":"query","name":"name","schema":{"type":"string"}},{"description":"Repository entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestUserPermission"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Return single page of users with their permissions"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/permissions/repository/{id}/users/{name}":{"delete":{"description":"Revokes repository permissions from a given user.","operationId":"removePermissionsForUser_6","parameters":[{"description":"Username of the affected user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Repository entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to be revoked"},"responses":{"204":{"description":"If permissions were revoked"},"304":{"content":{"application/json":{}},"description":"If user already lacked requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If the 'username' user doesn't exist"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]},"put":{"description":"Grants repository permissions to a given user.","operationId":"addPermissionsForUser_6","parameters":[{"description":"Username of the affected user","in":"path","name":"name","required":true,"schema":{"type":"string","pattern":"(.+)?"}},{"description":"Repository entity key","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"Permission names to grant"},"responses":{"200":{"content":{"application/json":{}},"description":"If permissions were granted"},"304":{"content":{"application/json":{}},"description":"If user already had requested permissions and permission state hasn't been changed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"If 'username' user doesn't exist or one of the requested permission isn't supported for given endpoint"},"403":{"content":{"application/json":{}},"description":"If the user lacks effective admin permissions for given entity"}},"tags":["Permissions"]}},"/api/latest/plan":{"get":{"description":"List all plans that user has READ permission for and allowed to see.\n\nPossible expand parameters:\n\n- plans - list of plans\n\n- plans.plan - list of plans with plan details\n\n- plans.plan.actions - list of plans with actions details","operationId":"getAllPlanList","parameters":[{"description":"Possible expand parameters: plans.","in":"query","name":"expand","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestPlans"}}},"description":"list of plans"}},"tags":["Build"]}},"/api/latest/plan/favicon/{planKey}":{"get":{"description":"Plan's favicon which depends on last build result.","operationId":"getFaviconForPlan","parameters":[{"description":"Plan key","in":"path","name":"planKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestFavicon"}}},"description":"Plan's favicon"},"403":{"content":{"application/json":{}},"description":"User doesn't have READ permission for plan"}}}},"/api/latest/plan/{projectKey}-{buildKey}":{"delete":{"description":"Marks plan for deletion. Plan will be deleted by a batch job.","operationId":"deletePlan","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Plan was marked for removal"},"403":{"content":{"application/json":{}},"description":"User has no permission to build specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan does not exist"}},"tags":["Build"]},"get":{"description":"Fetch plan details.","operationId":"getPlan","parameters":[{"description":"Possible expand parameters: actions, stages, branches, variableContext.","in":"query","name":"expand","schema":{"type":"string"}},{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Build key (might be planKey or composite planKey-jobKey)","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestPlan"}}},"description":"Plan details"},"403":{"content":{"application/json":{}},"description":"User has no permission to view specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan does not exist"}},"tags":["Build"]}},"/api/latest/plan/{projectKey}-{buildKey}/artifact":{"get":{"description":"Fetch plan's shared artifact definitions.","operationId":"getPlanArtifactDefinition","parameters":[{"description":"Maximum count of artifacts","in":"query","name":"max-result","schema":{"type":"integer","format":"int32"}},{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Start index of artifacts","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestArtifactDefinitions"}}},"description":"Plan artifact definitions"},"403":{"content":{"application/json":{}},"description":"User has no permission to view specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan does not exist"}},"tags":["Build"]}},"/api/latest/plan/{projectKey}-{buildKey}/branch":{"get":{"description":"Fetch list of branches for specified plan.","operationId":"getPlanBranches","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Show enabled branches only","in":"query","name":"enabledOnly","schema":{"type":"string"}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}},{"description":"Show branches with Clover integration enabled","in":"query","name":"cloverEnabled","schema":{"type":"string"}},{"description":"Show branches where current user is creator","in":"query","name":"my","schema":{"type":"string"}},{"description":"Show favourite branches only","in":"query","name":"favourite","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestBranches"}}},"description":"List of branches in the VCS of the plan's default repository"},"403":{"content":{"application/json":{}},"description":"User has no permission to view specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan does not exist"}},"tags":["Build"]}},"/api/latest/plan/{projectKey}-{buildKey}/branch/enableSpecsForBranches":{"post":{"description":"Enable specs scanning for all branches.","operationId":"enableSpecsForBranches","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Bamboo Specs scan enabled for all branches"},"403":{"content":{"application/json":{}},"description":"User has no permission to administrate specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan does not exist"}},"tags":["Build"]}},"/api/latest/plan/{projectKey}-{buildKey}/branch/{branchName}":{"get":{"description":"Provide details for specified branch of a specified plan.","operationId":"getPlanBranch","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}},{"description":"Branch display name","in":"path","name":"branchName","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestPlanBranch"}}},"description":"Details of specified branch of the plan"},"403":{"content":{"application/json":{}},"description":"User has no permission to view specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan or branch does not exist"}},"tags":["Build"]},"put":{"description":"Create branch for a plan. You can use **vcsBranch** query param to define which vcsBranch should newly created branch use. If not specified it will not override vcsBranch from the plan.","operationId":"createNewBranch","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"If plan branch expiry settings should be enabled","in":"query","name":"cleanupEnabled","schema":{"type":"string"}},{"description":"Name of the VCS branch","example":"/refs/heads/myBranch","in":"query","name":"vcsBranch","schema":{"type":"string"}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}},{"description":"New branch name","in":"path","name":"branchName","required":true,"schema":{"type":"string"}},{"description":"If plan branch should be enabled","in":"query","name":"enabled","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestPlanBranch"}}},"description":"The newly created branch"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"There have been validation errors"},"403":{"content":{"application/json":{}},"description":"User has no permission to view specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan does not exist"}},"tags":["Build"]}},"/api/latest/plan/{projectKey}-{buildKey}/enable":{"delete":{"description":"Disable plan.","operationId":"disablePlan","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Plan successfully disabled"},"403":{"content":{"application/json":{}},"description":"User has no permission to build specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan does not exist"}},"tags":["Build"]},"post":{"description":"Enable plan.","operationId":"enablePlan","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Plan successfully enabled"},"403":{"content":{"application/json":{}},"description":"User has no permission to build specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan does not exist"}},"tags":["Build"]}},"/api/latest/plan/{projectKey}-{buildKey}/favourite":{"delete":{"description":"Remove plan from favorites.","operationId":"unmarkPlanFavourite","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Successful removal of plan from favorites"},"401":{"content":{"application/json":{}},"description":"User not found"},"403":{"content":{"application/json":{}},"description":"User has no permission to view specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan does not exist"}},"tags":["Build"]},"post":{"description":"Add plan to favourite.","operationId":"markPlanFavourite","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Added plan to favourite"},"401":{"content":{"application/json":{}},"description":"User not found"},"403":{"content":{"application/json":{}},"description":"User has no permission to view specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan does not exist"}},"tags":["Build"]}},"/api/latest/plan/{projectKey}-{buildKey}/issue/{issueKey}":{"get":{"description":"Fetch linked Jira issue details.","operationId":"getIssueDetails","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Jira issue key","in":"path","name":"issueKey","required":true,"schema":{"type":"string"}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestJiraIssue"}}},"description":"Jira issue details"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Unknown issue key or wrong Applink configuration"},"403":{"content":{"application/json":{}},"description":"User has no permission to view specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan does not exist"}},"tags":["Build"]}},"/api/latest/plan/{projectKey}-{buildKey}/label":{"get":{"description":"List of labels for plan.","operationId":"getPlanLabels","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestBuildLabels"}}},"description":"List of labels for plan"},"403":{"content":{"application/json":{}},"description":"User has no permission to view specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan does not exist"}},"tags":["Build"]},"post":{"description":"Add new label to plan.","operationId":"addPlanLabel","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestPlanLabel"}},"application/xml":{"schema":{"$ref":"#/components/schemas/RestPlanLabel"}}},"description":"label content to add to build result","required":true},"responses":{"204":{"description":"On success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Label contains invalid characters"},"403":{"content":{"application/json":{}},"description":"User has no permission to modify specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan does not exist"}},"tags":["Build"]}},"/api/latest/plan/{projectKey}-{buildKey}/label/{labelName}":{"delete":{"description":"Remove label from plan.","operationId":"removePlanLabel","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}},{"description":"Label name to remove from plan","in":"path","name":"labelName","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"On success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Label contains invalid characters"},"403":{"content":{"application/json":{}},"description":"User has no permission to modify specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan or label does not exist"}},"tags":["Build"]}},"/api/latest/plan/{projectKey}-{buildKey}/specs":{"get":{"description":"Export plan as Bamboo Specs code.","operationId":"exportPlanSpec","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"A package name for the exported spec","in":"query","name":"package","schema":{"type":"string"}},{"description":"a format of code. It's 'java' by default.","in":"query","name":"format","schema":{"type":"string","enum":["JAVA","YAML"]}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestPlanSpec"}}},"description":"Bamboo Specs code for plan"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Unknown export format or code generator error"},"403":{"content":{"application/json":{}},"description":"User has no permission to view configuration of specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan does not exist"}},"tags":["Build"]}},"/api/latest/plan/{projectKey}-{buildKey}/test/{testId}/quarantine":{"post":{"description":"Quarantine plan's test.","operationId":"quarantineTest","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}},{"description":"Test id","in":"path","name":"testId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Test quarantined successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Test not found by id"},"403":{"content":{"application/json":{}},"description":"User has no permission to build specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan does not exist"}},"tags":["Build"]}},"/api/latest/plan/{projectKey}-{buildKey}/test/{testId}/unleash":{"post":{"description":"Unleash plan's test from quarantine.","operationId":"unleashTest","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}},{"description":"Test id","in":"path","name":"testId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Test unleashed successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Test not found by id"},"403":{"content":{"application/json":{}},"description":"User has no permission to build specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan does not exist"}},"tags":["Build"]}},"/api/latest/plan/{projectKey}-{buildKey}/variables":{"get":{"description":"Retrieve the list of all variables for a plan.","operationId":"getPlanVariables","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"List of variables for the given plan"},"403":{"content":{"application/json":{}},"description":"User has no permission to view configuration of specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan does not exist"}},"tags":["Build"]},"post":{"description":"Add a new plan variable.","operationId":"addPlanVariable","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestVariable"}},"application/xml":{"schema":{"$ref":"#/components/schemas/RestVariable"}}},"description":"Plan variable","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestVariable"}}},"description":"Plan variable successfully created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"A plan variable with given name already exists or name field is empty"},"403":{"content":{"application/json":{}},"description":"User has no permission to edit specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan does not exist"}},"tags":["Build"]}},"/api/latest/plan/{projectKey}-{buildKey}/variables/{variableName}":{"delete":{"description":"Delete the plan variable.","operationId":"deletePlanVariable","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Name of the variable to be deleted","in":"path","name":"variableName","required":true,"schema":{"type":"string"}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Plan variable successfully deleted"},"403":{"content":{"application/json":{}},"description":"User has no permission to edit specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan or variable does not exist"}},"tags":["Build"]},"get":{"description":"Retrieve the plan variable by given name.","operationId":"getPlanVariable","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"in":"path","name":"variableName","required":true,"schema":{"type":"string"}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestVariable"}}},"description":"A plan variable with the given id"},"403":{"content":{"application/json":{}},"description":"User has no permission to view configuration of specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan or variable does not exist"}},"tags":["Build"]},"put":{"description":"Update the plan variable.","operationId":"editPlanVariable","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Variable name","in":"path","name":"variableName","required":true,"schema":{"type":"string"}},{"description":"Plan key","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestVariable"}},"application/xml":{"schema":{"$ref":"#/components/schemas/RestVariable"}}},"description":"Variable to be updated","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestVariable"}}},"description":"Plan variable successfully updated"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Variable content is not provided or name field is empty"},"403":{"content":{"application/json":{}},"description":"User has no permission to edit specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan or variable does not exist"}},"tags":["Build"]}},"/api/latest/plan/{projectKey}-{buildKey}/vcsBranches":{"get":{"description":"List of vcs branch names for branches that exist on the default repository of this plan.","operationId":"getVcsBranches","parameters":[{"description":"Maximum count of branches","in":"query","name":"max-result","schema":{"type":"integer","format":"int32"}},{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Search term based on which the branch names will be filtered out","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"Start index of branches","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}},{"description":"Plan key - only top level plans are supported","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestVcsBranches"}}},"description":"List of branches in the vcs of the default repository for the given plan"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Validation errors: branch or job key provided"},"403":{"content":{"application/json":{}},"description":"User has no permission to view specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan does not exist"}},"tags":["Build"]}},"/api/latest/plan/{projectKey}/{buildKey}":{"get":{"description":"Fetch plan details.","operationId":"getPlanAlias","parameters":[{"description":"Possible expand parameters: actions, stages, branches, variableContext.","in":"query","name":"expand","schema":{"type":"string"}},{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Build key (might be planKey or composite planKey-jobKey)","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestPlan"}}},"description":"Plan details"},"403":{"content":{"application/json":{}},"description":"User has no permission to view specified plan"},"404":{"content":{"application/json":{}},"description":"Specified project or plan does not exist"}},"tags":["Build"]}},"/api/latest/planDirectoryInfo/{planKey}":{"get":{"description":"Provides the directories where artifacts and build logs can be found for a given plan key. Disabled by default. See https://confluence.atlassian.com/display/BAMBOO/Plan+directory+information+REST+API for more information.","operationId":"getPlanDirectory","parameters":[{"description":"the plan key to retrieve directory information for. Can be a top-level key (i.e. 'PROJ-PLAN') or a branch key (i.e. 'PROJ-PLAN15')","in":"path","name":"planKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryInformationResponse"}}},"description":"Directories which may contain artifacts and log fiels for a given plan"},"403":{"content":{"application/json":{}},"description":"If the user has no read permissions or feature is disabled"},"404":{"content":{"application/json":{}},"description":"If plan doesn't exist"}},"tags":["Build"]}},"/api/latest/project":{"get":{"description":"List all projects defined in Bamboo. Projects without any plan are not listed by default, unless _showEmpty_ query param is set to true.\n\n- projects - list of projects projects.project - list of projects with project details\n\n- projects.project.plans - list of project details and plans for project\n\n- projects.project.plans.plan - list of project details and plans for project with plan details","operationId":"getProjects","parameters":[{"description":"Possible expand parameters: projects, projects.project.plans, projects.project.plans.plan","in":"query","name":"expand","schema":{"type":"string"}},{"description":"flag to display projects without plans","in":"query","name":"showEmpty","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestProjects"}}},"description":"List of Bamboo projects"}}},"post":{"description":"Create project.","operationId":"createProject","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestProjectCreate"}},"application/xml":{"schema":{"$ref":"#/components/schemas/RestProjectCreate"}}},"description":"Project","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestProjectCreate"}}},"description":"Created project"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When validation fails"},"403":{"content":{"application/json":{}},"description":"When user has no global CREATE permission"}}}},"/api/latest/project/{projectKey}":{"delete":{"description":"Marks project for deletion. Project will be deleted by a batch job.","operationId":"deleteProject","parameters":[{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}}],"responses":{"204":{"description":"When project is successfully marked for deletion"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When project can't be removed, e.g. when it contains any plans"},"403":{"content":{"application/json":{}},"description":"When user has no Administration permission to project"},"404":{"content":{"application/json":{}},"description":"When specified project or repository does not exist"}}},"get":{"description":"Get information for project specified as project key.\n\n- plans - list of plans for project\n\n- plans.plan - list of plans with plan details (only plans visible - READ permission for user)\n\n- plans.plan.actions - list of plans with plan details and actions available for user for plan\n\n","operationId":"getProject","parameters":[{"description":"Possible expand parameters: plans, plans.plan, plans.plan.actions","in":"query","name":"expand","schema":{"type":"string"}},{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"flag to return project without plans, *true* by default","in":"query","name":"showEmpty","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestProject"}}},"description":"Project details"},"403":{"content":{"application/json":{}},"description":"User has no VIEW permissions to project"},"404":{"content":{"application/json":{}},"description":"Returned when specified project does not exist or project has no plans if _showEmpty_ param is false"}}}},"/api/latest/project/{projectKey}/repositories":{"get":{"description":"Retrieves paginated project repositories specified by the project key.","operationId":"getPaginatedProjectRepositories","parameters":[{"description":"filter to retrieve matching results","in":"query","name":"filter","schema":{"type":"string"}},{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Page request size","in":"query","name":"limit","schema":{"type":"integer","format":"int32","default":25,"maximum":500}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestProjectRepository"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"when repositories were successfully retrieved"},"403":{"content":{"application/json":{}},"description":"When user has no read permission to the project"},"404":{"content":{"application/json":{}},"description":"The specified project does not exist"}}}},"/api/latest/project/{projectKey}/repository":{"get":{"description":"Fetch list of repositories which granted to create plan in given project by Repository stored Bamboo Specs.","operationId":"listAssignedRepositories_1","parameters":[{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestRepository"}}}},"description":"Array of repositories granted to create plan in given project by Repository stored Bamboo Specs"},"403":{"content":{"application/json":{}},"description":"When user has no Administration permission to project"},"404":{"content":{"application/json":{}},"description":"When specified project does not exist"}}},"post":{"description":"Grant permission to create/edit plan in given project by Bamboo Specs from given repository.","operationId":"addAssignedRepository_1","parameters":[{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestIdContainer"}},"application/xml":{"schema":{"$ref":"#/components/schemas/RestIdContainer"}}},"description":"repository id","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestRepositoryMinimal"}}},"description":"Added repository entity"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When idContainer is empty or null"},"403":{"content":{"application/json":{}},"description":"When user has no Administration permission to project"},"404":{"content":{"application/json":{}},"description":"When project does not exist or repository not found by id"}}}},"/api/latest/project/{projectKey}/repository/search":{"get":{"description":"Search for linked repositories which can be granted to create plans by Repository stored Bamboo Specs in given project","operationId":"searchAvailableRepositories_1","parameters":[{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"part of repository name. Used to filter output.","in":"query","name":"searchTerm","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestRepositoryList"}}},"description":"Page object with list of repositories."},"403":{"content":{"application/json":{}},"description":"When user has no Administration permission to project"},"404":{"content":{"application/json":{}},"description":"When specified project does not exist"}}}},"/api/latest/project/{projectKey}/repository/{repositoryId}":{"delete":{"description":"Remove approval to create plans in given project by given repository.","operationId":"deleteRepositoryMapping_1","parameters":[{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"linked repository root id","in":"path","name":"repositoryId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Successfully removed link between project and repository."},"403":{"content":{"application/json":{}},"description":"When user has no Administration permission to project"},"404":{"content":{"application/json":{}},"description":"When specified project or repository does not exist"}}}},"/api/latest/project/{projectKey}/repository/{repositoryId}/enableAllRepositoriesAccess":{"put":{"description":"Enables access (i.e. allowing usage) to all project's repositories by the Bamboo Specs code stored in this repository.","operationId":"enableAllRepositoriesAccess","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Repository id","in":"path","name":"repositoryId","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestEnableContainer"}},"application/xml":{"schema":{"$ref":"#/components/schemas/RestEnableContainer"}}},"description":"Enable request","required":true},"responses":{"200":{"content":{"application/json":{}},"description":"Successfully enabled/disabled access of Bamboo Specs stored in the repository to all project's repositories"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"This repository does not handle 'enableAllRepositoriesAccess' feature or input data is incorrect"},"403":{"content":{"application/json":{}},"description":"The calling user has insufficient permissions to change this setting"}}}},"/api/latest/project/{projectKey}/sharedCredentials":{"get":{"description":"Retrieves paginated shared credentials for the project specified by the project key.","operationId":"getPaginatedProjectSharedCredentials","parameters":[{"description":"filter to retrieve matching results","in":"query","name":"filter","schema":{"type":"string"}},{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Page request size. Default size is 25. Max value is 500","in":"query","name":"limit","schema":{"type":"integer","format":"int32"}},{"description":"Page request start index","in":"query","name":"start","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","example":25},"next":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50"},"prev":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"},"results":{"type":"array","items":{"$ref":"#/components/schemas/RestSharedCredential"}},"self":{"type":"string","example":"http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25"},"start":{"type":"number","example":25}}}}},"description":"Project credentials"},"403":{"content":{"application/json":{}},"description":"When user has no read permission to the project"},"404":{"content":{"application/json":{}},"description":"When specified project does not exist or user has no VIEW permission for it"}}}},"/api/latest/project/{projectKey}/sharedCredentials/{sharedCredentialId}":{"delete":{"description":"Deletes shared project credentials specified by id.","operationId":"deleteProjectSharedCredentials","parameters":[{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"project shared credentials id","in":"path","name":"sharedCredentialId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Project credentials removed"},"403":{"content":{"application/json":{}},"description":"When user has no admin permission to the project or permission belongs to another project"},"404":{"content":{"application/json":{}},"description":"When specified project or credentials do not exist or user has no VIEW permission for it"}}}},"/api/latest/project/{projectKey}/specs":{"get":{"description":"Export all of the plans for a project to Bamboo specs.","operationId":"exportProjectSpecs","parameters":[{"description":"The project to export for","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"A package name for the exported spec","in":"query","name":"package","schema":{"type":"string"}},{"description":"a format of code. It's 'java' by default.","in":"query","name":"format","schema":{"type":"string","enum":["JAVA","YAML"]}}],"responses":{"200":{"content":{"application/json":{}},"description":"representation of all project plans as Bamboo specs"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Export error"},"403":{"content":{"application/json":{}},"description":"User has insufficient permissions for the request"},"404":{"content":{"application/json":{}},"description":"When specified project does not exist or user has no VIEW permission for it"}}}},"/api/latest/project/{projectKey}/variable":{"post":{"description":"Create or update project variable.","operationId":"createOrUpdateVariable","parameters":[{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestVariable"}},"application/xml":{"schema":{"$ref":"#/components/schemas/RestVariable"}}},"description":"Project variable","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestVariableDefinitionContext"}}},"description":"Updated variable"},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestVariableDefinitionContext"}}},"description":"Created variable"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When validation fails"},"403":{"content":{"application/json":{}},"description":"When user has no Administration permission to the project"},"404":{"content":{"application/json":{}},"description":"When specified project does not exist or user has no VIEW permission for it"}}}},"/api/latest/project/{projectKey}/variable/{variableName}":{"delete":{"description":"Delete the project variable.","operationId":"deleteProjectVariable","parameters":[{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"name of the variable to be deleted","in":"path","name":"variableName","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Project variable successfully deleted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Name field is empty"},"403":{"content":{"application/json":{}},"description":"When user has no permission to administrate specified project"},"404":{"content":{"application/json":{}},"description":"When specified project/variable does not exist or user has no VIEW permission for it."}}},"get":{"description":"Retrieve the project variable by given name.","operationId":"getProjectVariable","parameters":[{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"variable name","in":"path","name":"variableName","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestVariable"}}},"description":"A project variable with the given name"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When project can't be removed, e.g. when it contains any plans"},"403":{"content":{"application/json":{}},"description":"When user has no permission to create new plan or modify any plan at specified project"},"404":{"content":{"application/json":{}},"description":"When specified project does not exist or user has no VIEW permission for it"}}}},"/api/latest/project/{projectKey}/variables":{"get":{"description":"Retrieve the list of all variables for a project.","operationId":"getProjectVariables","parameters":[{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestVariable"}}},"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestVariable"}}}},"description":"List of variables for the given project"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When project can't be removed, e.g. when it contains any plans"},"403":{"content":{"application/json":{}},"description":"When user has no permission to create new plan or modify any plan at specified project"},"404":{"content":{"application/json":{}},"description":"When specified project does not exist or user has no VIEW permission for it"}}}},"/api/latest/queue":{"get":{"description":"Provide list of build scheduled for execution and waiting in build queue.","operationId":"getBuildQueue_1","parameters":[{"description":"Maximum count of builds","in":"query","name":"max-result","schema":{"type":"integer","format":"int32"}},{"description":"Start index of builds","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestQueuedBuilds"}}},"description":"List of queued builds waiting in the build queue"}}}},"/api/latest/queue/deployment":{"get":{"description":"Provide list of deployment results scheduled for execution and waiting in queue.","operationId":"getBuildQueue","parameters":[{"description":"expands deployment result queue items on request. Possible value: queuedDeployments","in":"query","name":"expand","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestQueuedDeployments"}}},"description":""}},"tags":["deployment"]},"post":{"description":"Trigger deployment for deployment environment and version.","operationId":"startDeployment","parameters":[{"description":"Version (release) id","in":"query","name":"versionId","required":true,"schema":{"type":"string"}},{"description":"Deployment environment id","in":"query","name":"environmentId","required":true,"schema":{"type":"string"}},{"description":"Runs deployments with verbose logs","in":"query","name":"verboseLogging","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestQueuedDeployment"}}},"description":"Trigger deployment for environment and version"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Validation error occurred or deployment can't be triggered"},"403":{"content":{"application/json":{}},"description":"User don't have permissions to trigger deployment to given environment"},"404":{"content":{"application/json":{}},"description":"Environment or version are not found"}},"tags":["deployment"]}},"/api/latest/queue/deployment/{deploymentResultId}":{"delete":{"description":"Remove deployment result from queue.","operationId":"removeDeploymentFromQueue","parameters":[{"description":"id of deployment result in queue","in":"path","name":"deploymentResultId","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"Successfully removed deployment result from queue"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Deployment already finished and can't be removed from queue"},"403":{"content":{"application/json":{}},"description":"User don't have permission to delete deployment from queue"},"404":{"content":{"application/json":{}},"description":"Can't find deployment result by deploymentResultId"}},"tags":["deployment"]}},"/api/latest/queue/{projectKey}-{buildKey}":{"post":{"description":"Fire build execution for specified plan.\nEffectively, this method adds build to the build queue, so is not guarantied that build would be executed immediately.\nDepending on currently executed builds and length of build queue, build may be executed when queue would be drained.\nAdditional variables could be passed to this method either as form encoded POST payload or query parameters. PLEASE note: Query parameters are more important - override those stored in form payload.\nVariables defined in Bamboo as global variables or plan variables MUST be prefixed with bamboo.variable ie. bamboo.variable.myVariable=valueForMyVariable
.\nWhen global or plan variables would be passed to this method, will override default values for variables.","operationId":"startBuild_1","parameters":[{"description":"enforce executing all stages in a plan, even if defined as manual stages. Execution will follow and include latest stage, unless some stage will fail.","in":"query","name":"executeAllStages","schema":{"type":"boolean"}},{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"execute this plan for a custom revision instead of the latest one","in":"query","name":"customRevision","schema":{"type":"string"}},{"description":"name of the stage that should be executed even if defined as manual stage. Execution will follow to the next manual stage after this or end of plan if no subsequent manual stage","in":"query","name":"stage","schema":{"type":"string"}},{"description":"plan key (only top level plan key, can not be job key)","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestQueuedBuild"}}},"description":"Information for queued build, including build number, changes and reason of build"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When build was not added to the queue because of Bamboo limitation, e.g too many concurrent builds running for requested plan already or validation exception"},"403":{"content":{"application/json":{}},"description":"When user does not have sufficient rights to view or execute build for specified plan"},"404":{"content":{"application/json":{}},"description":"When specified plan does not exist or plan is not a top level plan"},"415":{"content":{"application/json":{}},"description":"When method payload is not form encoded"}}}},"/api/latest/queue/{projectKey}-{buildKey}-{buildNumber}":{"delete":{"description":"Stop build execution.","operationId":"stopBuild","parameters":[{"description":"Project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Plan key - IMPORTANT: as build queue contains only jobs not top level plans, plan key here MUST be a job key as opposite to other methods in this resource.","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}},{"description":"Build number","in":"path","name":"buildNumber","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"On success (success is also when build was already completed - so nothing to stop)"},"403":{"content":{"application/json":{}},"description":"When user does not have sufficient rights to view or execute build for specified plan"},"404":{"content":{"application/json":{}},"description":"When specified job does not exist"}}},"put":{"description":"Continue partially done build.\n\nEffectively, this method adds build to the build queue, so is not guarantied that build would be executed immediately.\nDepending on currently executed builds and length of build queue, build may be executed when queue would be drained.\nAdditional variables could be passed to this method only query parameters (variableName=variableValue).\nVariables defined in Bamboo as global variables or plan variables MUST be prefixed with bamboo.variable ie. bamboo.variable.myVariable=valueForMyVariable.\nWhen global or plan variables would be passed to this method, will override values valid for previous build execution (override).","operationId":"continueBuild","parameters":[{"description":"enforce executing all stages in a plan, even if defined as manual stages. Execution will follow and include latest stage, unless some stage will fail.","in":"query","name":"executeAllStages","schema":{"type":"boolean"}},{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"name of the stage that should be executed even if manual stage. Execution will follow to the next manual stage after this or end of plan if no subsequent manual stage","in":"query","name":"stage","schema":{"type":"string"}},{"description":"plan key (only top level plan key, can not be job key)","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}},{"description":"build number to resume/rerun","in":"path","name":"buildNumber","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestQueuedBuild"}}},"description":"Information for queued build, including build number, changes and reason of build"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When build is currently executing or is in state not allowing execution"},"403":{"content":{"application/json":{}},"description":"When user does not have sufficient rights to view or execute build for specified plan"},"404":{"content":{"application/json":{}},"description":"When specified plan does not exist, result for provided build number does not exist or is not top level plan result"}}}},"/api/latest/quickFilter":{"get":{"description":"Obtain a list of quick filters defined for this Bamboo instance.","operationId":"getQuickFilters","parameters":[{"description":"When set, the list will only contain filters which have or have not been properly configured. Quick filters are considered configured when they have rules set up","in":"query","name":"configured","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestQuickFilter"}}}},"description":"List of quick filters. Each entity will contain only basic configuration, excluding e.g. quick filter's rules"}}},"post":{"description":"Create a new quick filter with basic configuration, e.g. name or position on list. This method does not allow to configure quick filter's rules.","operationId":"createQuickFilter","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestQuickFilter"}}},"description":"Quick filter","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestQuickFilter"}}},"description":"Returned when quick filter was created successfully. Response will contain Quick Filter definition with assigned id"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When any validation errors occur. Response will contain all error messages"},"403":{"content":{"application/json":{}},"description":"User don't have restricted or system administrator permissions"}}}},"/api/latest/quickFilter/active":{"get":{"description":"Return active quick filters for currently logged in user.","operationId":"getActiveFilters","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestQuickFilter"}}}},"description":"List of active quick filters for logged in user. Each entity will contain only basic configuration, excluding e.g. quick filter's rules"}}}},"/api/latest/quickFilter/deactivate":{"put":{"description":"Deactivates all quick filter for currently logged in user.","operationId":"deactivateAllFilters","responses":{"200":{"content":{"application/json":{}},"description":"When all filters were successfully deactivated for current user"}}}},"/api/latest/quickFilter/visible":{"get":{"description":"Return visible quick filters for currently logged in user.","operationId":"getVisibleFilters","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestQuickFilter"}}}},"description":"List of visible quick filters for logged in user. Each entity will contain only basic configuration, excluding e.g. quick filter's rules"}}},"put":{"description":"Saves the list of visible quick filters for currently logged in user.","operationId":"setVisibleFilters","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int64"}}}},"description":"Quick filter ids","required":true},"responses":{"200":{"content":{"application/json":{}},"description":"Returned without any content when the visible filters were successfully saved for current user"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Sent whenever any quick filter was not found with the given id"}}}},"/api/latest/quickFilter/{id}":{"delete":{"description":"Delete a quick filter.","operationId":"deleteQuickFilter","parameters":[{"description":"Quick filter id","in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"Returned when quick filter was deleted successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Sent when quick filter was not found with the given id"},"403":{"content":{"application/json":{}},"description":"User don't have restricted or system administrator permissions"}}},"get":{"description":"Get a single quick filter by id.","operationId":"getQuickFilter","parameters":[{"description":"Quick filter id","in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestQuickFilter"}}},"description":"Single quick filter data. Will contain only basic configuration, excluding e.g. quick filter's rules"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Quick filter not found"}}},"put":{"description":"Update quick filter's basic configuration, e.g. name or position on list. This method does not allow to configure quick filter's rules.","operationId":"updateQuickFilter","parameters":[{"description":"Quick filter id","in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestQuickFilter"}}},"description":"Quick filter","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestQuickFilter"}}},"description":"Returned when quick filter was updated successfully. Response will contain Quick Filter definition with data after update"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When any validation errors occur or no quick filter was found with given id. Response will contain all error messages"},"403":{"content":{"application/json":{}},"description":"User don't have restricted or system administrator permissions"}}}},"/api/latest/quickFilter/{id}/activate":{"put":{"description":"Activates a quick filter for currently logged in user.","operationId":"activateFilter","parameters":[{"description":"Quick filter id","in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"content":{"application/json":{}},"description":"When filter with given id was successfully activated for current user"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Sent when quick filter was not found with the given id"}}}},"/api/latest/quickFilter/{id}/deactivate":{"put":{"description":"Deactivates a quick filter for currently logged in user.","operationId":"deactivateFilter","parameters":[{"description":"Quick filter id","in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"content":{"application/json":{}},"description":"When filter with given id was successfully deactivated for current user"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Sent when quick filter was not found with the given id"}}}},"/api/latest/quicksearch":{"get":{"description":"Performs a starts with search against projects, plans, plan branches, deployment projects","operationId":"search","parameters":[{"description":"to search for","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"entity to search for","in":"query","name":"searchEntity","schema":{"type":"string","enum":["PROJECT","PLAN","DEPLOYMENT","PLAN_BRANCH"]}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonSearchResultsList"}}},"description":"Search results"}}}},"/api/latest/reindex":{"get":{"description":"Kicks off a reindex. Requires system admin permissions to perform this reindex.","operationId":"getReindexInfo","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReindexBean"}}},"description":"Reindex is finished"},"303":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReindexBean"}}},"description":"Reindex is currently performed in background or pending"}}},"post":{"description":"Kicks off a reindex. Requires system admin permissions to perform this operation.","operationId":"reindex","responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReindexBean"}}},"description":"Response that provides a redirect to the GET"},"403":{"content":{"application/json":{}},"description":"User doesn't have system admin permission"},"500":{"content":{"application/json":{}},"description":"Exception"}}}},"/api/latest/repository":{"get":{"description":"Search for existing linked repositories by name.","operationId":"findRepository","parameters":[{"description":"Target repository id","in":"query","name":"searchTerm","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestRepositoryList"}}},"description":"The page object with repositories"}}}},"/api/latest/repository/scan":{"post":{"description":"Webhook resource for triggering Repository-stored Bamboo Specs. Either repository ID or name must be provided via query parameters to identify the linked repository in which Bamboo Specs are defined.\n\nAmbiguous requests, which reference more than one repository via the query params, will result in one parameter taking precedence over the others. There's no guarantee which one.\n\nThis resource does not require authorisation. It will always return HTTP 204 response on every valid request, even if the targeted repository doesn't exist or does not contain Bamboo Specs.","operationId":"triggerSpecsScanning_1","parameters":[{"description":"Unique name of the linked repository which stores Bamboo Specs","in":"query","name":"name","schema":{"type":"string"}},{"description":"alternative name of the query parameter to provide repository ID","in":"query","name":"repositoryId","schema":{"type":"integer","format":"int64"}},{"description":"ID of the linked repository which stores Bamboo Specs","in":"query","name":"id","schema":{"type":"integer","format":"int64"}},{"description":"Alternative name of the query parameter to provide repository name","in":"query","name":"repositoryName","schema":{"type":"string"}}],"responses":{"204":{"description":"On any valid request"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When neither repository ID nor repository name were provided"},"404":{"content":{"application/json":{}},"description":"When Bamboo Specs feature is disabled in Bamboo"}}}},"/api/latest/repository/testConnection":{"put":{"description":"Tests connection to a repository if the repository type supports connection testing. Request payload should contain repository configuration.","operationId":"testConnection_1","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestRepositoryConnectionResult"}}},"description":"Successful call (without validation errors) will result in HTTP 200. The response will contain potential connection errors. If the connection to repository was successful, the error list will be empty"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Validation errors before attempting to connect to repository. The response will contain error messages and field errors. This response will also be sent if the repository type doesn't support connection testing"},"403":{"content":{"application/json":{}},"description":"The calling user had insufficient permissions, e.g. for a plan or a repository"}}}},"/api/latest/repository/{repositoryId}/enableAllProjectsAccess":{"put":{"description":"Enables access (i.e. allowing modifications) for all Bamboo projects by the Bamboo Specs code stored in this repository. Changes in Bamboo Specs detected will trigger execution of Specs and thus an update of corresponding entities (such as build plans or deployments).","operationId":"enableAllProjectsAccess","parameters":[{"description":"Repository id","in":"path","name":"repositoryId","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestEnableContainer"}}},"description":"Enable request","required":true},"responses":{"200":{"content":{"application/json":{}},"description":"Successfully enabled/disabled access of Bamboo Specs stored in the repository to all projects"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"This repository does not handle 'enableAllProjectsAccess' feature or input data is incorrect"},"403":{"content":{"application/json":{}},"description":"The calling user has insufficient permissions to change this setting"}}}},"/api/latest/repository/{repositoryId}/enableAllRepositoriesAccess":{"put":{"description":"Enables access (i.e. allowing usage in plans or deployment projects) for all Bamboo linked repositories by the Bamboo Specs code stored in this repository.","operationId":"enableAllRepositoriesAccess_1","parameters":[{"description":"Repository id","in":"path","name":"repositoryId","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestEnableContainer"}}},"description":"Enable request","required":true},"responses":{"200":{"content":{"application/json":{}},"description":"Successfully enabled/disabled access of Bamboo Specs stored in the repository to all linked repositories"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"This repository does not handle 'enableAllRepositoriesAccess' feature or input data is incorrect"},"403":{"content":{"application/json":{}},"description":"The calling user has insufficient permissions to change this setting"}}}},"/api/latest/repository/{repositoryId}/enableCi":{"put":{"description":"Enables or disables detection of Bamboo Specs stored in the repository. If enabled, code changes detected in Bamboo Specs in new commits will trigger execution of Bamboo Specs and thus an update of corresponding entities (such as build plans, deployments or permissions).","operationId":"enableCi","parameters":[{"description":"Repository id","in":"path","name":"repositoryId","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestEnableContainer"}}},"description":"Enable request","required":true},"responses":{"200":{"content":{"application/json":{}},"description":"Successfully enabled/disabled detection of Bamboo Specs stored in the repository"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"This repository does not support this feature or input data is incorrect"},"403":{"content":{"application/json":{}},"description":"The calling user has insufficient permissions to change this setting"}}}},"/api/latest/repository/{repositoryId}/enableProjectCreation":{"put":{"description":"Enables build and deployment project creation by the Bamboo Specs code stored in this repository.","operationId":"enableProjectCreation","parameters":[{"description":"Repository id","in":"path","name":"repositoryId","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestEnableContainer"}}},"description":"Enable request","required":true},"responses":{"200":{"content":{"application/json":{}},"description":"Successfully enabled/disabled ability of Bamboo Specs stored in the repository to create projects and deployment projects"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"This repository does not handle 'enableProjectCreation' feature or input data is incorrect"},"403":{"content":{"application/json":{}},"description":"The calling user has insufficient permissions to change this setting"}}}},"/api/latest/repository/{repositoryId}/rssBranches":{"get":{"description":"Search for divergent branches names (i.e. vcs branches that have RSS execution results).","operationId":"searchSpecsBranches","parameters":[{"description":"Part of branch name. Used to filter output","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"id of the linked repository which stores Bamboo Specs","in":"path","name":"repositoryId","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestBranchList"}}},"description":"The page object with branches"},"403":{"content":{"application/json":{}},"description":"When user has insufficient permissions to repository"},"404":{"content":{"application/json":{}},"description":"When Bamboo Specs feature is disabled in Bamboo, or when a repository with given ID could not be found"}}}},"/api/latest/repository/{repositoryId}/rssrepository":{"get":{"description":"Fetch list of RSS repositories which can use given repository by RSS code.","operationId":"getRssRepositoriesAllowedToAccessRepository","parameters":[{"description":"Target repository id","in":"path","name":"repositoryId","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RestRepository"}}}},"description":"array of repositories granted to use given repository by Repository stored Bamboo Specs."},"403":{"content":{"application/json":{}},"description":"When user has insufficient permissions to target repository"},"404":{"content":{"application/json":{}},"description":"When specified repository not found or repository stored Bamboo specs feature is disabled"}}},"post":{"description":"Grant repository with RSS code to use target repository in build plans and deployments. If permission is not granted RSS import will fail when code tries to use target repository.","operationId":"grantRssRepositoryAccess","parameters":[{"description":"Repository id","in":"path","name":"repositoryId","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestIdContainer"}}},"description":"Id container","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestRepositoryMinimal"}}},"description":"Repository which was granted permission to"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"When repository id is empty or null"},"403":{"content":{"application/json":{}},"description":"When user has insufficient permissions to target repository"},"404":{"content":{"application/json":{}},"description":"When specified repository not found by id or repository stored Bamboo specs feature is disabled"}}}},"/api/latest/repository/{repositoryId}/rssrepository/search":{"get":{"description":"Search for existing linked repositories which can be granted to use given repository by RSS.","operationId":"searchAvailableRepositories_2","parameters":[{"description":"Part of repository name. Used to filter output","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"Target repository id","in":"path","name":"repositoryId","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestRepositoryList"}}},"description":"Page container with linked repositories which are RSS compatible"},"403":{"content":{"application/json":{}},"description":"When user has insufficient permissions to target repository"},"404":{"content":{"application/json":{}},"description":"When specified repository not found or repository stored Bamboo specs feature is disabled"}}}},"/api/latest/repository/{repositoryId}/scan/status":{"get":{"description":"Resource providing status of RSS processing for a given repository and optional branch.","operationId":"getSpecsDetectionStatus","parameters":[{"description":"Maximum number of spec status entries returned in the response","in":"query","name":"max-result","schema":{"type":"integer","format":"int32","default":20}},{"description":"id of the linked repository which stores Bamboo Specs","in":"path","name":"repositoryId","required":true,"schema":{"type":"integer","format":"int64"}},{"description":"Optional branch of the repository. Works only if repository supports divergent branches","in":"query","name":"branch","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestVcsLocationSpecsStatus"}}},"description":"The object representing RSS status"},"403":{"content":{"application/json":{}},"description":"When user has insufficient permissions to repository"},"404":{"content":{"application/json":{}},"description":"When Bamboo Specs feature is disabled in Bamboo, or when a repository with given ID could not be found"}}}},"/api/latest/repository/{repositoryId}/scanNow":{"post":{"description":"Resource for triggering Repository-stored Bamboo Specs in a 'forced' way. Successful requests to this resource will trigger Bamboo Specs execution even if standard processing would have been skipped (e.g. no new commits to process).","operationId":"triggerSpecsScanning","parameters":[{"description":"id of the repository to trigger","in":"path","name":"repositoryId","required":true,"schema":{"type":"integer","format":"int64"}},{"description":"Optional branch of the repository. Works only if repository supports divergent branches","in":"query","name":"branch","schema":{"type":"string"}}],"responses":{"204":{"description":"On a valid request, when Specs scanning has been successfully enqueued"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Whenever Specs scanning could not be enqueued, e.g. when the Repository Stored Specs processing has not been enabled for the given repository"},"404":{"content":{"application/json":{}},"description":"When Bamboo Specs feature is disabled in Bamboo, or when the repository can't be found"}}}},"/api/latest/repository/{repositoryId}/usage":{"get":{"description":"Search for usages of given repository.","operationId":"findUsage","parameters":[{"description":"Maximum count of detailed plans at response","in":"query","name":"max-plans","schema":{"type":"integer","format":"int32","default":20}},{"description":"Repository id","in":"path","name":"repositoryId","required":true,"schema":{"type":"integer","format":"int64"}},{"description":"Maximum count of detailed environments at response","in":"query","name":"max-environments","schema":{"type":"integer","format":"int32","default":20}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestRepositoryUsageModel"}}},"description":"Plans and environments which use this repository"},"403":{"content":{"application/json":{}},"description":"User has no permissions to view repository or project"},"404":{"content":{"application/json":{}},"description":"Repository or project not found"}}}},"/api/latest/repository/{targetRepositoryId}/rssrepository/{repositoryId}":{"delete":{"description":"Revoke access of RSS code stored in repository defined by repositoryId from repository defined by targetRepositoryId. Use this method when need to prevent usage of target repository by RSS code stored in repository referenced by repositoryId.","operationId":"revokePermissionToUseRepositoryByRssRepo","parameters":[{"description":"Linked repository root id","in":"path","name":"repositoryId","required":true,"schema":{"type":"integer","format":"int64"}},{"description":"Target repository id","in":"path","name":"targetRepositoryId","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"When successfully removed link between target repository and repository"},"403":{"content":{"application/json":{}},"description":"When user has insufficient permissions to repository"},"404":{"content":{"application/json":{}},"description":"When specified repository does not exist or repository stored Bamboo specs feature is disabled"}}}},"/api/latest/result":{"get":{"description":"Provide list of the latest build results for top level plans visible for users.","operationId":"getLatestBuildResults","parameters":[{"description":"return build results in all lifecycle states, including unknown and active states","in":"query","name":"includeAllStates","schema":{"type":"boolean"}},{"description":"filter only results that may be continued (stopped on Manual Stage)","in":"query","name":"continuable","schema":{"type":"boolean"}},{"description":"expands build result details on request. Possible values are: artifacts, comments, labels, jiraIssues, stages. stages expand is available only for top level plans. It allows to drill down to job results using stages.stage.results.result. All expand parameters should contain results.result prefix","in":"query","name":"expand","schema":{"type":"string"}},{"description":"Filter by comma separated list of Jira issue key related to result","in":"query","name":"issueKey","schema":{"type":"string"}},{"description":"maximum size for returned list","in":"query","name":"max-results","schema":{"type":"integer","format":"int32"}},{"description":"start index for results list (zero based)","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}},{"description":"Filter by comma separated list of labels","in":"query","name":"label","schema":{"type":"string"}},{"description":"filter results by state, valid values are Unknown, Successful, Failed","in":"query","name":"buildstate","schema":{"type":"string"}},{"description":"Filters build results list to show only results for favourite plans. Works only for authenticated user","in":"query","name":"favourite","schema":{"type":"string"}},{"description":"return build results in given lifecycle state, valid values are Pending, Queued, InProgress, Finished, NotBuilt (multiple values can be separated by a comma)","in":"query","name":"lifeCycleState","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestResults"}}},"description":"Latest build results for all plans"}}}},"/api/latest/result/byChangeset/{csid}":{"get":{"description":"Provide list of build results related to changeset id passed as parameter. List of results contains results from all plans related to this changeset.","operationId":"getBuildResultsForChangeset","parameters":[{"description":"changeset id related to build result","in":"path","name":"csid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestResults"}}},"description":"Build results for specified changeset"}}}},"/api/latest/result/byCheckoutChangeset/{csid}":{"get":{"description":"Provide list of build results related to changeset id passed as parameter. List of results contains results from all plans which have repositories checked out with this changeset.","operationId":"getBuildResultsForCheckoutChangeset","parameters":[{"description":"checkout changeset id related to build result","in":"path","name":"csid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestResults"}}},"description":"Build results for specified changeset"}}}},"/api/latest/result/status/{projectKey}-{buildKey}-{buildNumber}":{"get":{"description":"Provide runtime information for currently executing build result. The key difference to other methods is that method is optimized to provide information available in memory only, so no database calls are made. The information provided is not as wide as for finished results, but the call is optimized for speed.","operationId":"getResultStatus","parameters":[{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"plan key (must be a plan key, not a job key)","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}},{"description":"Build number (numeric value only, 'latest' keyword is not supported for this method)","in":"path","name":"buildNumber","required":true,"schema":{"type":"string","pattern":"([0-9]+)"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestResultStatus"}}},"description":"Currently executing build status"},"403":{"content":{"application/json":{}},"description":"When user has no permission to view specified plan"},"404":{"content":{"application/json":{}},"description":"When specified project, plan or build result does not exists. Also when build result is not currently executed ie. build has been completed already"}}}},"/api/latest/result/{projectKey}":{"get":{"description":"Provide list of latest build results for top level plans for specified project. List of results is limited to plans visible for user.","operationId":"getLatestBuildResultsForProject","parameters":[{"description":"return build results in all lifecycle states, including unknown and active states","in":"query","name":"includeAllStates","schema":{"type":"boolean"}},{"description":"filter only results that may be continued (stopped on Manual Stage)","in":"query","name":"continuable","schema":{"type":"boolean"}},{"description":"expands build result details on request. Possible values are: artifacts, comments, labels, jiraIssues, stages. stages expand is available only for top level plans. It allows to drill down to job results using stages.stage.results.result. All expand parameters should contain results.result prefix","in":"query","name":"expand","schema":{"type":"string"}},{"description":"project key to filter plan result list","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"Filter by comma separated list of Jira issue key related to result","in":"query","name":"issueKey","schema":{"type":"string"}},{"description":"Maximum size for returned list","in":"query","name":"max-results","schema":{"type":"integer","format":"int32"}},{"description":"Start index for results list (zero based)","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}},{"description":"Filter by comma separated list of labels","in":"query","name":"label","schema":{"type":"string"}},{"description":"filter results by state, valid values are Unknown, Successful, Failed","in":"query","name":"buildstate","schema":{"type":"string"}},{"description":"Filters build results list to show only results for favourite plans. Works only for authenticated user","in":"query","name":"favourite","schema":{"type":"string"}},{"description":"return build results in given lifecycle state, valid values are Pending, Queued, InProgress, Finished, NotBuilt (multiple values can be separated by a comma)","in":"query","name":"lifeCycleState","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestResults"}}},"description":"Latest build results for plans for specified project"},"404":{"content":{"application/json":{}},"description":"When specified project does not exists or user does not have permission to see plans for specified project"}}}},"/api/latest/result/{projectKey}-{buildKey}":{"get":{"description":"Provide list of build results for specified plan. Plan might be top level plan (projectKey-planKey) or job plan (projectKey-planKey-jobKey).","operationId":"getBuildHistory","parameters":[{"description":"return build results in all lifecycle states, including unknown and active states","in":"query","name":"includeAllStates","schema":{"type":"boolean"}},{"description":"filter only results that may be continued (stopped on Manual Stage)","in":"query","name":"continuable","schema":{"type":"boolean"}},{"description":"expands build result details on request. Possible values are: artifacts, comments, labels, jiraIssues, stages. stages expand is available only for top level plans. It allows to drill down to job results using stages.stage.results.result. All expand parameters should contain results.result prefix","in":"query","name":"expand","schema":{"type":"string"}},{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-]+)"}},{"description":"Filter by comma separated list of Jira issue key related to result","in":"query","name":"issueKey","schema":{"type":"string"}},{"description":"Maximum size for returned list","in":"query","name":"max-results","schema":{"type":"integer","format":"int32"}},{"description":"Start index for results list (zero based)","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}},{"description":"plan key (might be simply planKey or composite planKey-jobKey)","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}},{"description":"Filter by comma separated list of labels","in":"query","name":"label","schema":{"type":"string"}},{"description":"filter results by state, valid values are Unknown, Successful, Failed","in":"query","name":"buildstate","schema":{"type":"string"}},{"description":"Filters build results list to show only results for favourite plans. Works only for authenticated user","in":"query","name":"favourite","schema":{"type":"string"}},{"description":"return build results in given lifecycle state, valid values are Pending, Queued, InProgress, Finished, NotBuilt (multiple values can be separated by a comma)","in":"query","name":"lifeCycleState","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestResults"}}},"description":"Latest build results for specified plan. Results are ordered from latest or oldest"},"403":{"content":{"application/json":{}},"description":"When user has no permission to view specified plan"},"404":{"content":{"application/json":{}},"description":"When specified project or plan does not exists"}}}},"/api/latest/result/{projectKey}-{buildKey}-{buildNumber}":{"get":{"description":"Provide build result specified by projectKey-buildKey-buildNumber.","operationId":"getBuild","parameters":[{"description":"expands build result details on request. Possible values are: changes, metadata, artifacts, comments, labels, jiraIssues, stages, logEntries. stages expand is available only for top level plans. It allows to drill down to job results using stages.stage.results.result. logEntries and testResults are available only for job results","in":"query","name":"expand","schema":{"type":"string"}},{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"in case of PENDING or QUEUED state expands build result queue position","in":"query","name":"buildPositions","schema":{"type":"string"}},{"description":"plan key (might be simply planKey or composite planKey-jobKey)","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}},{"description":"Build number may be specified as *latest* for the result with the highest build number","in":"path","name":"buildNumber","required":true,"schema":{"type":"string","pattern":"([0-9]+)|(latest)"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Result"}}},"description":"Result of single build. Presented content contain information for finished build. If build is in progress, contains additional runtime information. Top level plan contains additionally progress information, job progress information, current log entries and hasExecutableAgent boolean flag."},"403":{"content":{"application/json":{}},"description":"When user has no permission to view specified plan"},"404":{"content":{"application/json":{}},"description":"When specified project or plan or build result does not exist"}}}},"/api/latest/result/{projectKey}-{buildKey}-{buildNumber}/comment":{"get":{"description":"Provide list of comments for build result specified by projectKey-buildKey-buildNumber.","operationId":"getBuildComments","parameters":[{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"plan key (might be simply planKey or composite planKey-jobKey)","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}},{"description":"Build number may be specified as *latest* for the result with the highest build number","in":"path","name":"buildNumber","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestComments"}}},"description":"List of comments for build result"},"403":{"content":{"application/json":{}},"description":"When user has no permission to view specified plan"},"404":{"content":{"application/json":{}},"description":"When specified project or plan or build result does not exist"}}},"post":{"description":"Adds new comment to build result.","operationId":"addBuildComment","parameters":[{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"plan key (might be simply planKey or composite planKey-jobKey)","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}},{"description":"Build number","in":"path","name":"buildNumber","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCommentRequest"}},"application/xml":{"schema":{"$ref":"#/components/schemas/CreateCommentRequest"}}},"description":"Build result comment","required":true},"responses":{"204":{"description":"Comment added"},"403":{"content":{"application/json":{}},"description":"When user has no permission to view specified plan"},"404":{"content":{"application/json":{}},"description":"When specified project or plan or build result does not exist"}}}},"/api/latest/result/{projectKey}-{buildKey}-{buildNumber}/comment/{commentId}":{"delete":{"description":"Removes a comment from a build result.","operationId":"removeBuildComment","parameters":[{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"plan key (might be simply planKey or composite planKey-jobKey)","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}},{"description":"id of the comment","in":"path","name":"commentId","required":true,"schema":{"type":"string"}},{"description":"Build number","in":"path","name":"buildNumber","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Comment deleted"},"403":{"content":{"application/json":{}},"description":"When user has no permission to delete the specified comment"},"404":{"content":{"application/json":{}},"description":"When specified project, plan, build result or comment does not exist"}}}},"/api/latest/result/{projectKey}-{buildKey}-{buildNumber}/label":{"get":{"description":"Provide list of labels for build result specified by projectKey-buildKey-buildNumber.","operationId":"getBuildLabels","parameters":[{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"plan key (must be a plan key, not a job key)","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}},{"description":"Build number may be specified as \"latest\" for the result with the highest build number","in":"path","name":"buildNumber","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestBuildLabels"}}},"description":"List of comments for build result"},"403":{"content":{"application/json":{}},"description":"When user has no permission to view specified plan"},"404":{"content":{"application/json":{}},"description":"When specified project, plan, build result does not exist"}}},"post":{"description":"Adds new label to build result specified by projectKey-buildKey-buildNumber.","operationId":"addBuildLabel","parameters":[{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"plan key (must be a plan key, not a job key)","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}},{"description":"Build number may be specified as *latest* for the result with the highest build number","in":"path","name":"buildNumber","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestBuildLabel"}},"application/xml":{"schema":{"$ref":"#/components/schemas/RestBuildLabel"}}},"description":"Build result label","required":true},"responses":{"204":{"description":"On success"},"403":{"content":{"application/json":{}},"description":"When user has no permission to view specified plan"},"404":{"content":{"application/json":{}},"description":"When specified project, plan, build result does not exist"}}}},"/api/latest/result/{projectKey}-{buildKey}-{buildNumber}/label/{labelName}":{"delete":{"description":"Removes label from build result specified by projectKey-buildKey-buildNumber.","operationId":"removeBuildLabel","parameters":[{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"plan key (must be a plan key, not a job key)","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}},{"description":"Label name to remove from build result","in":"path","name":"labelName","required":true,"schema":{"type":"string"}},{"description":"Build number may be specified as *latest* for the result with the highest build number","in":"path","name":"buildNumber","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"On success"},"403":{"content":{"application/json":{}},"description":"When user has no permission to edit specified plan"},"404":{"content":{"application/json":{}},"description":"When specified project, plan, build result or label does not exist"}}}},"/api/latest/result/{projectKey}-{buildKey}/branch/{branchName}":{"get":{"description":"Provide list of build results for specified plan's branch. Plan might be top level plan (projectKey-planKey) or job plan (projectKey-planKey-jobKey).","operationId":"getBranchHistory","parameters":[{"description":"return build results in all lifecycle states, including unknown and active states","in":"query","name":"includeAllStates","schema":{"type":"boolean"}},{"description":"filter only results that may be continued (stopped on Manual Stage)","in":"query","name":"continuable","schema":{"type":"boolean"}},{"description":"Filter by comma separated list of Jira issue key related to result","in":"query","name":"issueKey","schema":{"type":"string"}},{"description":"Maximum size for returned list","in":"query","name":"max-results","schema":{"type":"integer","format":"int32"}},{"description":"Start index for results list (zero based)","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}},{"description":"plan key (might be simply planKey or composite planKey-jobKey)","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}},{"description":"Branch name","in":"path","name":"branchName","required":true,"schema":{"type":"string"}},{"description":"Filter by comma separated list of labels","in":"query","name":"label","schema":{"type":"string"}},{"description":"filter results by state, valid values are Unknown, Successful, Failed","in":"query","name":"buildstate","schema":{"type":"string"}},{"description":"Filters build results list to show only results for favourite plans. Works only for authenticated user","in":"query","name":"favourite","schema":{"type":"string"}},{"description":"expands build result details on request. Possible values are: artifacts, comments, labels, jiraIssues, stages. stages expand is available only for top level plans. It allows to drill down to job results using stages.stage.results.result. All expand parameters should contain results.result prefix.","in":"query","name":"expand","schema":{"type":"string"}},{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"return build results in given lifecycle state, valid values are Pending, Queued, InProgress, Finished, NotBuilt (multiple values can be separated by a comma)","in":"query","name":"lifeCycleState","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestResults"}}},"description":"Latest build results for specified plan. Results are ordered from latest or oldest"},"403":{"content":{"application/json":{}},"description":"When user has no permission to view specified plan"},"404":{"content":{"application/json":{}},"description":"When specified project or plan or branch does not exists"}}}},"/api/latest/result/{projectKey}-{buildKey}/{buildNumber}":{"get":{"description":"Provide build result specified by projectKey-buildKey-buildNumber.","operationId":"getBuildAlias","parameters":[{"description":"expands build result details on request. Possible values are: changes, metadata, artifacts, comments, labels, jiraIssues, stages, logEntries. stages expand is available only for top level plans. It allows to drill down to job results using stages.stage.results.result. logEntries and testResults are available only for job results","in":"query","name":"expand","schema":{"type":"string"}},{"description":"project key","in":"path","name":"projectKey","required":true,"schema":{"type":"string","pattern":"([^-/]+)"}},{"description":"plan key (might be simply planKey or composite planKey-jobKey)","in":"path","name":"buildKey","required":true,"schema":{"type":"string"}},{"description":"Build number may be specified as *latest* for the result with the highest build number","in":"path","name":"buildNumber","required":true,"schema":{"type":"string","pattern":"([0-9]+)|(latest)"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Result"}}},"description":"Result of single build. Presented content contain information for finished build. If build is in progress, contains additional runtime information. Top level plan contains additionally progress information, job progress information, current log entries and hasExecutableAgent boolean flag."},"403":{"content":{"application/json":{}},"description":"When user has no permission to view specified plan"},"404":{"content":{"application/json":{}},"description":"When specified project or plan or build result does not exist"}}}},"/api/latest/search/authors":{"get":{"description":"A starts-with search of authors based on their author name.","operationId":"searchAuthors","parameters":[{"description":"Maximum count of returned elements","in":"query","name":"max-result","schema":{"type":"integer","format":"int32"}},{"description":"if true will only include authors which are not currently linked to a user","in":"query","name":"unlinkedOnly","schema":{"type":"boolean"}},{"description":"The term to search for in authors","in":"query","name":"searchTerm","required":true,"schema":{"type":"string"}},{"description":"Start index","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResultsList"}}},"description":"Search results for authors matching the provided search term"}}}},"/api/latest/search/branches":{"get":{"description":"Performs a \"starts with\" search against full plan branch name and full plan branch key. Branches are restricted to \"masterPlanKey\" plan.","operationId":"searchBranches","parameters":[{"description":"Maximum count of returned elements","in":"query","name":"max-result","schema":{"type":"integer","format":"int32"}},{"description":"The term to search for in branches","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"Should master branch be included into result","in":"query","name":"includeMasterBranch","schema":{"type":"boolean"}},{"description":"Start index","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}},{"description":"Whether the search should only use branch names of plan branches. Default includes the VCS branch name into the fuzzy search","in":"query","name":"branchNameOnly","schema":{"type":"boolean"}},{"description":"Whether the search should be more relaxed when matching results. Default is false","in":"query","name":"fuzzy","schema":{"type":"boolean"}},{"description":"planKey for plan where branches will be searched for","in":"query","name":"masterPlanKey","required":true,"schema":{"type":"string"}},{"description":"id of deployment project - will return only branches that are released in this deployment","in":"query","name":"releasedInDeployment","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResultsList"}}},"description":"Search results for plans matching the provided search term"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Validation error"}}}},"/api/latest/search/deployments":{"get":{"description":"Performs a contains search against deployment project name.","operationId":"searchDeployments","parameters":[{"description":"Maximum count of returned elements","in":"query","name":"max-result","schema":{"type":"integer","format":"int32"}},{"description":"The term to search for in projects","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"Start index","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}},{"description":"Only return those deployment projects that querying user has permission to. Default is READ","in":"query","name":"permission","schema":{"type":"string","enum":["READ","WRITE","ADMINISTRATION"]}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResultsList"}}},"description":"Search results for plans matching the provided search term"}}}},"/api/latest/search/jobs/{planKey}":{"get":{"description":"Performs a \"starts with\" search against full job name and full job key.","operationId":"searchJobs","parameters":[{"description":"Maximum count of returned elements","in":"query","name":"max-result","schema":{"type":"integer","format":"int32"}},{"description":"The term to search for in jobs","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"Start index","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}},{"description":"planKey for plan where jobs will be searched for","in":"path","name":"planKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResultsList"}}},"description":"Search results for plans matching the provided search term"}}}},"/api/latest/search/plans":{"get":{"description":"Performs a \"starts with\" search against full plan name and full plan key. Use \"type\" argument to filter by plan type by default will return TopLevelPlans","operationId":"searchPlans","parameters":[{"description":"Maximum count of returned elements","in":"query","name":"max-result","schema":{"type":"integer","format":"int32"}},{"description":"The term to search for in plans","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"Start index","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}},{"description":"Only return those plans that querying user has permission to. Default is READ","in":"query","name":"permission","schema":{"type":"string","enum":["READ","WRITE","BUILD","CLONE","VIEW_CONFIGURATION","ADMINISTRATION"]}},{"description":"Type of the plan to return","in":"query","name":"type","schema":{"type":"string","enum":["CHAIN","JOB","CHAIN_BRANCH"]}},{"description":"Whether the search should be more relaxed when matching results. Default is false","in":"query","name":"fuzzy","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResultsList"}}},"description":"Search results for plans matching the provided search term"}}}},"/api/latest/search/projects":{"get":{"description":"Performs a contains search against project name.","operationId":"searchProjects","parameters":[{"description":"Maximum count of returned elements","in":"query","name":"max-result","schema":{"type":"integer","format":"int32"}},{"description":"The term to search for in projects","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"Start index","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}},{"description":"only return those projects that querying user has permission to. Default is READ","in":"query","name":"permission","schema":{"type":"string","enum":["READ","WRITE","ADMINISTRATION"]}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResultsList"}}},"description":"Search results for plans matching the provided search term"}}}},"/api/latest/search/stages/{planKey}":{"get":{"description":"Performs a \"starts with\" search against full stage name.","operationId":"searchStages","parameters":[{"description":"Maximum count of returned elements","in":"query","name":"max-result","schema":{"type":"integer","format":"int32"}},{"description":"The term to search for in stages","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"Start index","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}},{"description":"planKey for plan where stages will be searched for","in":"path","name":"planKey","required":true,"schema":{"type":"string"}},{"description":"Stage id","in":"query","name":"stageId","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResultsList"}}},"description":"Search results for plans matching the provided search term"}}}},"/api/latest/search/users":{"get":{"description":"A starts-with search of users based on their username, full-name and if allowed email address.","operationId":"searchUsers","parameters":[{"description":"Maximum count of returned elements","in":"query","name":"max-result","schema":{"type":"integer","format":"int32"}},{"description":"The term to search for in users","in":"query","name":"searchTerm","required":true,"schema":{"type":"string"}},{"description":"Start index","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResultsList"}}},"description":"Search results for users matching the provided search term"}}}},"/api/latest/search/versions":{"get":{"description":"Performs a contains search against a version name.","operationId":"searchVersions","parameters":[{"description":"Maximum count of returned elements","in":"query","name":"max-result","schema":{"type":"integer","format":"int32"}},{"description":"Narrow the search to releases created out of the branch","in":"query","name":"branchKey","schema":{"type":"string"}},{"description":"The term to search for in projects","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"Start index","in":"query","name":"start-index","schema":{"type":"integer","format":"int32"}},{"description":"The deployment project to search under","in":"query","name":"deploymentProjectId","required":true,"schema":{"type":"integer","format":"int64"}},{"description":"Sort releases by creation date","in":"query","name":"chronologicalOrder","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResultsList"}}},"description":"Search results for plans matching the provided search term"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"Validation error"},"404":{"content":{"application/json":{}},"description":"Deployment project not found"}}}},"/api/latest/server":{"get":{"description":"Get both the asked node and cluster states.","operationId":"getStatus_1","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestServerStatusInfo"}}},"description":"Server status"}}}},"/api/latest/server/nodes":{"get":{"description":"Get both the asked node and cluster states together with all nodes' statuses.","operationId":"getNodesStatus","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestServerNodesInfo"}}},"description":"Nodes status"},"403":{"content":{"application/json":{}},"description":"User doesn't have RESTRICTED_ADMINISTRATION permissions"}}}},"/api/latest/server/pause":{"post":{"description":"Pauses the cluster.","operationId":"pause","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestServerStatusInfo"}}},"description":"Both the asked node and cluster states"},"403":{"content":{"application/json":{}},"description":"User doesn't have ADMINISTRATION permissions"}}}},"/api/latest/server/prepareForRestart":{"put":{"description":"Prepare the asked node for restarting: suspend change detection, stop indexing, stop ec2 instance ordering etc.","operationId":"prepareForRestart","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestServerStatusInfo"}}},"description":"Both the asked node and cluster states"},"403":{"content":{"application/json":{}},"description":"User doesn't have ADMINISTRATION permissions"}}}},"/api/latest/server/resume":{"post":{"description":"Resumes the cluster.","operationId":"resume","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestServerStatusInfo"}}},"description":"Both the asked node and cluster states"},"403":{"content":{"application/json":{}},"description":"User doesn't have ADMINISTRATION permissions"}}}},"/api/latest/status":{"get":{"description":"Returns the current status of the Bamboo node. This endpoint enables a basic status check on the status of a Bamboo node.\n
\nThe status endpoint will be responsive as long as the Bamboo REST plugin will be running. In other words, this endpoint does depend on the instance health and might not answer as a result of a failure or when Bamboo is still starting.","operationId":"getStatus_2","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAnonymousServerStatusInfo"}}},"description":"Returns the current status of the server"}}}},"/api/latest/websudo-session":{"delete":{"description":"Remove web sudo from session.","operationId":"removeWebSudoFromSession","responses":{"204":{"description":"Web sudo has been removed from the current session"}}},"get":{"description":"Get the web sudo expiry from session.","operationId":"getExpiry","responses":{"200":{"content":{"application/json":{}},"description":"The expiry time of the current web sudo session"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"No session found in the request or the session did not have web sudo"}}},"put":{"description":"Refresh the web sudo expiry for the current session.","operationId":"refreshWebSudoSession","responses":{"200":{"content":{"application/json":{}},"description":"The new expiry time of the current web sudo session"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestErrorCollection"}}},"description":"No session found in the request or the session did not have web sudo"}}}}}}