Class BambooCredentialsExportResource

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

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

  • Method Details

    • exportAllCredentials

      @POST @Path("all") public javax.ws.rs.core.Response exportAllCredentials()
      Export configuration of all shared credentials to YAML format.
      Returns:
      json array of paths to all updated files
    • exportCredentials

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

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

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