3.5.1. Get all bundles


GET /bundles

Description

Gets the metadata for all bundles across all authorized buckets with optional filters applied. The returned results will include only items from buckets for which the user is authorized. If the user is not authorized to any buckets, an empty list will be returned.

Parameters

Type Name Description Schema

Query

artifactId optional

Optional artifactId to filter results. The value may be an exact match, or a wildcard, such as 'nifi-%' to select all bundles where the artifactId starts with 'nifi-'.

string

Query

bucketName optional

Optional bucket name to filter results. The value may be an exact match, or a wildcard, such as 'My Bucket%' to select all bundles where the bucket name starts with 'My Bucket'.

string

Query

groupId optional

Optional groupId to filter results. The value may be an exact match, or a wildcard, such as 'com.%' to select all bundles where the groupId starts with 'com.'.

string

Responses

HTTP Code Description Schema

200

successful operation

< ExtensionBundle > array

401

Client could not be authenticated.

No Content

Consumes

  • /

Produces

  • application/json

Example HTTP request

Request path


/bundles

Request query


         {
  "artifactId" : "string",
  "bucketName" : "string",
  "groupId" : "string"
}
      

Example HTTP response

Response 200


         [ {
  "link" : {
    "href" : "string",
    "params" : {
      "string" : "string"
    }
  },
  "identifier" : "string",
  "name" : "string",
  "description" : "string",
  "bucketIdentifier" : "string",
  "bucketName" : "string",
  "createdTimestamp" : 0,
  "modifiedTimestamp" : 0,
  "type" : "string",
  "permissions" : {
    "canRead" : true,
    "canWrite" : true,
    "canDelete" : true
  },
  "bundleType" : "string",
  "groupId" : "string",
  "artifactId" : "string",
  "versionCount" : 0
} ]