3.4.1. Create bucket


POST /buckets

Parameters

Type Name Description Schema

Body

body required

The bucket to create

4.6. Bucket

Responses

HTTP Code Description Schema

200

successful operation

4.6. 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

Consumes

  • application/json

Produces

  • application/json

Example HTTP request


/buckets

         {
  "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"
  }
}
      

Example HTTP response


         {
  "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"
  }
}