Apache NiFi Registry REST API ReferencePDF version

3.4.5. Update bucket

PUT /buckets/{bucketId}

Updates the bucket with the given id.

Type Name Description Schema

Path

bucketId required

The bucket identifier

string

Body

body required

The updated bucket

Bucket

HTTP Code Description Schema

200

successful operation

Bucket

400

NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification.

No Content

401

Client could not be authenticated.

No Content

403

Client is not authorized to make this request.

No Content

404

The specified resource could not be found.

No Content

409

NiFi Registry was unable to complete the request because it assumes a server state that is not valid.

No Content

  • application/json

  • application/json

Type Name

apiKey

Authorization

Request path

/buckets/string

Request body

         {
  "link" : {
    "href" : "string",
    "params" : {
      "string" : "string"
    }
  },
  "identifier" : "string",
  "name" : "string",
  "createdTimestamp" : 0,
  "description" : "string",
  "allowBundleRedeploy" : true,
  "allowPublicRead" : true,
  "permissions" : {
    "canRead" : true,
    "canWrite" : true,
    "canDelete" : true
  },
  "revision" : {
    "clientId" : "string",
    "version" : 0,
    "lastModifier" : "string"
  }
}
      

Response 200
         {
  "link" : {
    "href" : "string",
    "params" : {
      "string" : "string"
    }
  },
  "identifier" : "string",
  "name" : "string",
  "createdTimestamp" : 0,
  "description" : "string",
  "allowBundleRedeploy" : true,
  "allowPublicRead" : true,
  "permissions" : {
    "canRead" : true,
    "canWrite" : true,
    "canDelete" : true
  },
  "revision" : {
    "clientId" : "string",
    "version" : 0,
    "lastModifier" : "string"
  }
}