3.3.6. Get bucket flow diff
GET /buckets/{bucketId}/flows/{flowId}/diff/{versionA}/{versionB}
Description
Computes the differences between two given versions of a flow.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bucketId required |
The bucket identifier |
string |
Path |
flowId required |
The flow identifier |
string |
Path |
versionA required |
The first version number |
integer (int32) |
Path |
versionB required |
The second version number |
integer (int32) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
VersionedFlowDifference |
400 |
NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification. |
No Content |
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
/buckets/string/flows/string/diff/0/0
Example HTTP response
{
"bucketId" : "string",
"flowId" : "string",
"versionA" : 0,
"versionB" : 0,
"componentDifferenceGroups" : [ {
"componentId" : "string",
"componentName" : "string",
"componentType" : "string",
"processGroupId" : "string",
"differences" : [ {
"valueA" : "string",
"valueB" : "string",
"changeDescription" : "string",
"differenceType" : "string",
"differenceTypeDescription" : "string"
} ]
} ]
}