3.3.8. Get bucket flow versions


GET /buckets/{bucketId}/flows/{flowId}/versions

Description

Gets summary information for all versions of a flow. Versions are ordered newest->oldest.

Parameters

Type Name Description Schema

Path

bucketId required

The bucket identifier

string

Path

flowId required

The flow identifier

string

Responses

HTTP Code Description Schema

200

successful operation

< 4.59. VersionedFlowSnapshotMetadata > array

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

Consumes

  • /

Produces

  • application/json

Example HTTP request


/buckets/string/flows/string/versions

Example HTTP response


         [ {
  "link" : {
    "href" : "string",
    "params" : {
      "string" : "string"
    }
  },
  "bucketIdentifier" : "string",
  "flowIdentifier" : "string",
  "version" : 0,
  "timestamp" : 0,
  "author" : "string",
  "comments" : "string"
} ]