3.9.5. Get latest flow version metadata


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

Description

Gets the metadata for the latest version of a flow.

Parameters

Type Name Description Schema

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

Security

Type Name

apiKey

Authorization

Example HTTP request

Request path


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