3.3.10. Get latest bucket flow version metadata


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

Description

Gets the metadata for the latest version of a flow.

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

VersionedFlowSnapshotMetadata

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

Request path


/buckets/string/flows/string/versions/latest/metadata

Example HTTP response

Response 200


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