Class BambooLinkedRepositoryExportResource

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

@Path("/export/repository") @Consumes("application/json") @Produces("application/json") @Singleton public class BambooLinkedRepositoryExportResource extends Object
  • Constructor Details

  • Method Details

    • exportAllLinkedRepositories

      @POST @Path("all") public javax.ws.rs.core.Response exportAllLinkedRepositories()
      Export configuration of all linked repositories to YAML format.
      Returns:
      json array of paths to all updated files
    • exportLinkedRepository

      @POST @Path("id/{repositoryId}") public javax.ws.rs.core.Response exportLinkedRepository(@PathParam("repositoryId") long repositoryId)
      Export configuration of a linked repository to YAML format
      Parameters:
      repositoryId - linked repository id
      Returns:
      json array of paths to all updated files
    • exportLinkedRepository

      @POST @Path("oid/{oid}") public javax.ws.rs.core.Response exportLinkedRepository(@PathParam("oid") String oidString)
      Export configuration of a linked repository to YAML format
      Parameters:
      oid - linked repository oid
      Returns:
      json array of paths to all updated files
    • exportLinkedRepositoryByName

      @POST @Path("name/{name}") public javax.ws.rs.core.Response exportLinkedRepositoryByName(@PathParam("name") String name)
      Export configuration of a linked repository to YAML format
      Parameters:
      name - linked repository name
      Returns:
      json array of paths to all updated files