Class BambooRepositoryImportResource

java.lang.Object
com.atlassian.bamboo.plugins.rest.configuration.external.BambooRepositoryImportResource

@Path("/import/repository") @Consumes("application/x-yaml") @Produces("application/json") @Singleton public class BambooRepositoryImportResource extends Object
  • Constructor Details

    • BambooRepositoryImportResource

      @Inject public BambooRepositoryImportResource(RepositoryExportService repositoryExportService, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.message.I18nResolver i18nResolver, BambooAuthenticationContext authenticationContext)
  • Method Details

    • importRepository

      @POST public javax.ws.rs.core.Response importRepository(@NotNull @NotNull String yamlString, @Context javax.ws.rs.core.HttpHeaders headers, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
      Import configuration of a linked repository in YAML format. Request payload contains YAML with import data.
      Throws:
      WebValidationException