3.9.3. Get flow versions
GET /flows/{flowId}/versions
Description
Gets summary information for all versions of a given flow. Versions are ordered newest->oldest.
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
|
Path |
flowId required |
The flow identifier |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
|
200 |
successful operation |
< 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
Security
| Type | Name |
|---|---|
|
apiKey |
Authorization |
Example HTTP request
Request path
/flows/string/versions
Example HTTP response
Response 200
[ {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"bucketIdentifier" : "string",
"flowIdentifier" : "string",
"version" : 0,
"timestamp" : 0,
"author" : "string",
"comments" : "string"
} ]
