1. Overview
The REST API provides an interface to a registry with operations for saving, versioning, reading NiFi flows and components.
1.1. Version information
Version : 0.8.0
1.2. Contact information
Contact : Apache NiFi Registry
Contact Email : dev@nifi.apache.org
1.3. License information
License : Apache 2.0 License
License URL : https://www.apache.org/licenses/LICENSE-2.0.html
Terms of service : As described in the license
1.4. URI scheme
BasePath : /nifi-registry-api
Schemes : HTTP, HTTPS
1.5. Tags
-
access : Endpoints for obtaining an access token or checking access status.
-
bucket bundles : Create extension bundles scoped to an existing bucket in the registry.
-
bucket flows : Create flows scoped to an existing bucket in the registry.
-
buckets : Create named buckets in the registry to store NiFi objects such flows and extensions. Search for and retrieve existing buckets.
-
bundles : Gets metadata about extension bundles and their versions.
-
config : Retrieves the configuration for this NiFi Registry.
-
extension repository : Interact with extension bundles via the hierarchy of bucket/group/artifact/version.
-
extensions : Find and retrieve extensions.
-
flows : Gets metadata about flows.
-
items : Retrieve items across all buckets for which the user is authorized.
-
policies : Endpoint for managing access policies.
-
tenants : Endpoint for managing users and user groups.
2. Security
2.1. Authorization
Type : apiKey
Name : Authorization
In : HEADER
3. Resources
3.1. Access
Endpoints for obtaining an access token or checking access status.
3.1.1. Get access status
GET /access
Description
Returns the current client’s authenticated identity and permissions to top-level resources
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
409 |
NiFi Registry was unable to complete the request because it assumes a server state that is not valid. The NiFi Registry might be running unsecured. |
No Content |
Consumes
-
/
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/access
Example HTTP response
Response 200
{
"identity" : "string",
"anonymous" : true,
"loginSupported" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"oidcloginSupported" : true
}
3.1.2. Performs a logout for other providers that have been issued a JWT.
DELETE /access/logout
Description
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
User was logged out successfully. |
No Content |
401 |
Authentication token provided was empty or not in the correct JWT format. |
No Content |
500 |
Client failed to log out. |
No Content |
Consumes
-
/
Produces
-
/
Example HTTP request
Request path
/access/logout
3.1.3. Redirect/callback URI for processing the result of the OpenId Connect login sequence.
GET /access/oidc/callback
Description
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Responses
HTTP Code | Description | Schema |
---|---|---|
default |
successful operation |
No Content |
Consumes
-
/
Produces
-
/
Example HTTP request
Request path
/access/oidc/callback
3.1.4. Retrieves a JWT following a successful login sequence using the configured OpenId Connect provider.
POST /access/oidc/exchange
Description
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
string |
Consumes
-
/
Produces
-
text/plain
Example HTTP request
Request path
/access/oidc/exchange
Example HTTP response
Response 200
"string"
3.1.5. Performs a logout in the OpenId Provider.
DELETE /access/oidc/logout
Description
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Responses
HTTP Code | Description | Schema |
---|---|---|
default |
successful operation |
No Content |
Consumes
-
/
Produces
-
/
Example HTTP request
Request path
/access/oidc/logout
3.1.6. Initiates a request to authenticate through the configured OpenId Connect provider.
GET /access/oidc/request
Description
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Responses
HTTP Code | Description | Schema |
---|---|---|
default |
successful operation |
No Content |
Consumes
-
/
Produces
-
/
Example HTTP request
Request path
/access/oidc/request
3.1.7. Create token trying all providers
POST /access/token
Description
Creates a token for accessing the REST API via auto-detected method of verifying client identity claim credentials. The token returned is formatted as a JSON Web Token (JWT). The token is base64 encoded and comprised of three parts. The header, the body, and the signature. The expiration of the token is a contained within the body. The token can be used in the Authorization header in the format 'Authorization: Bearer <token>'.
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
string |
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 |
409 |
NiFi Registry was unable to complete the request because it assumes a server state that is not valid. The NiFi Registry may not be configured to support login with username/password. |
No Content |
500 |
NiFi Registry was unable to complete the request because an unexpected error occurred. |
No Content |
Consumes
-
/
Produces
-
text/plain
Example HTTP request
Request path
/access/token
Example HTTP response
Response 200
"string"
3.1.8. Create token using identity provider
POST /access/token/identity-provider
Description
Creates a token for accessing the REST API via a custom identity provider. The user credentials must be passed in a format understood by the custom identity provider, e.g., a third-party auth token in an HTTP header. The exact format of the user credentials expected by the custom identity provider can be discovered by 'GET /access/token/identity-provider/usage'. The token returned is formatted as a JSON Web Token (JWT). The token is base64 encoded and comprised of three parts. The header, the body, and the signature. The expiration of the token is a contained within the body. The token can be used in the Authorization header in the format 'Authorization: Bearer <token>'.
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
string |
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 |
409 |
NiFi Registry was unable to complete the request because it assumes a server state that is not valid. The NiFi Registry may not be configured to support login with customized credentials. |
No Content |
500 |
NiFi Registry was unable to complete the request because an unexpected error occurred. |
No Content |
Consumes
-
/
Produces
-
text/plain
Example HTTP request
Request path
/access/token/identity-provider
Example HTTP response
Response 200
"string"
3.1.9. Test identity provider
POST /access/token/identity-provider/test
Description
Tests the format of the credentials against this identity provider without preforming authentication on the credentials to validate them. The user credentials should be passed in a format understood by the custom identity provider as defined by 'GET /access/token/identity-provider/usage'.
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
string |
400 |
NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification. |
No Content |
401 |
The format of the credentials were not recognized by the currently configured identity provider. |
No Content |
409 |
NiFi Registry was unable to complete the request because it assumes a server state that is not valid. The NiFi Registry may not be configured to support login with customized credentials. |
No Content |
500 |
NiFi Registry was unable to complete the request because an unexpected error occurred. |
No Content |
Consumes
-
/
Produces
-
text/plain
Example HTTP request
Request path
/access/token/identity-provider/test
Example HTTP response
Response 200
"string"
3.1.10. Get identity provider usage
GET /access/token/identity-provider/usage
Description
Provides a description of how the currently configured identity provider expects credentials to be passed to POST /access/token/identity-provider
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
string |
400 |
NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification. |
No Content |
409 |
NiFi Registry was unable to complete the request because it assumes a server state that is not valid. The NiFi Registry may not be configured to support login with customized credentials. |
No Content |
500 |
NiFi Registry was unable to complete the request because an unexpected error occurred. |
No Content |
Consumes
-
/
Produces
-
text/plain
Example HTTP request
Request path
/access/token/identity-provider/usage
Example HTTP response
Response 200
"string"
3.1.11. Create token using kerberos
POST /access/token/kerberos
Description
Creates a token for accessing the REST API via Kerberos Service Tickets or SPNEGO Tokens (which includes Kerberos Service Tickets). The token returned is formatted as a JSON Web Token (JWT). The token is base64 encoded and comprised of three parts. The header, the body, and the signature. The expiration of the token is a contained within the body. The token can be used in the Authorization header in the format 'Authorization: Bearer <token>'.
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
string |
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 |
409 |
NiFi Registry was unable to complete the request because it assumes a server state that is not valid. The NiFi Registry may not be configured to support login Kerberos credentials. |
No Content |
500 |
NiFi Registry was unable to complete the request because an unexpected error occurred. |
No Content |
Consumes
-
/
Produces
-
text/plain
Example HTTP request
Request path
/access/token/kerberos
Example HTTP response
Response 200
"string"
3.1.12. Create token using basic auth
POST /access/token/login
Description
Creates a token for accessing the REST API via username/password. The user credentials must be passed in standard HTTP Basic Auth format. That is: 'Authorization: Basic <credentials>', where <credentials> is the base64 encoded value of '<username>:<password>'. The token returned is formatted as a JSON Web Token (JWT). The token is base64 encoded and comprised of three parts. The header, the body, and the signature. The expiration of the token is a contained within the body. The token can be used in the Authorization header in the format 'Authorization: Bearer <token>'.
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
string |
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 |
409 |
NiFi Registry was unable to complete the request because it assumes a server state that is not valid. The NiFi Registry may not be configured to support login with username/password. |
No Content |
500 |
NiFi Registry was unable to complete the request because an unexpected error occurred. |
No Content |
Consumes
-
/
Produces
-
text/plain
Example HTTP request
Request path
/access/token/login
Example HTTP response
Response 200
"string"
3.2. Bucket Bundles
Create extension bundles scoped to an existing bucket in the registry.
3.2.1. Get extension bundles by bucket
GET /buckets/{bucketId}/bundles
Description
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bucketId |
The bucket identifier |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< ExtensionBundle > array |
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 |
Example HTTP request
Request path
/buckets/string/bundles
Example HTTP response
Response 200
[ {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"bundleType" : "string",
"groupId" : "string",
"artifactId" : "string",
"versionCount" : 0
} ]
3.2.2. Create extension bundle version
POST /buckets/{bucketId}/bundles/{bundleType}
Description
Creates a version of an extension bundle by uploading a binary artifact. If an extension bundle already exists in the given bucket with the same group id and artifact id as that of the bundle being uploaded, then it will be added as a new version to the existing bundle. If an extension bundle does not already exist in the given bucket with the same group id and artifact id, then a new extension bundle will be created and this version will be added to the new bundle. Client’s may optionally supply a SHA-256 in hex format through the multi-part form field 'sha256'. If supplied, then this value will be compared against the SHA-256 computed by the server, and the bundle will be rejected if the values do not match. If not supplied, the bundle will be accepted, but will be marked to indicate that the client did not supply a SHA-256 during creation.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bucketId |
The bucket identifier |
string |
Path |
bundleType |
The type of the bundle |
enum (nifi-nar, minifi-cpp) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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
-
multipart/form-data
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/buckets/string/bundles/string
Example HTTP response
Response 200
{
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"versionMetadata" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"id" : "string",
"bundleId" : "string",
"bucketId" : "string",
"groupId" : "string",
"artifactId" : "string",
"version" : "string",
"timestamp" : 0,
"author" : "string",
"description" : "string",
"sha256" : "string",
"sha256Supplied" : true,
"contentSize" : 0,
"systemApiVersion" : "string",
"buildInfo" : {
"buildTool" : "string",
"buildFlags" : "string",
"buildBranch" : "string",
"buildTag" : "string",
"buildRevision" : "string",
"built" : 0,
"builtBy" : "string"
}
},
"dependencies" : [ {
"groupId" : "string",
"artifactId" : "string",
"version" : "string"
} ],
"bundle" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"bundleType" : "string",
"groupId" : "string",
"artifactId" : "string",
"versionCount" : 0
},
"bucket" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"createdTimestamp" : 0,
"description" : "string",
"allowBundleRedeploy" : true,
"allowPublicRead" : true,
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
},
"filename" : "string"
}
3.3. Bucket Flows
Create flows scoped to an existing bucket in the registry.
3.3.1. Create flow
POST /buckets/{bucketId}/flows
Description
Creates a flow in the given bucket. The flow id is created by the server and populated in the returned entity.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bucketId |
The bucket identifier |
string |
Body |
body |
The details of the flow to create. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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
-
application/json
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/buckets/string/flows
Request body
{
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"versionCount" : 0,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
}
Example HTTP response
Response 200
{
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"versionCount" : 0,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
}
3.3.2. Get bucket flows
GET /buckets/{bucketId}/flows
Description
Retrieves all flows in the given bucket.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bucketId |
The bucket identifier |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< VersionedFlow > array |
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 |
Example HTTP request
Request path
/buckets/string/flows
Example HTTP response
Response 200
[ {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"versionCount" : 0,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
3.3.3. Get bucket flow
GET /buckets/{bucketId}/flows/{flowId}
Description
Retrieves the flow with the given id in the given bucket.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bucketId |
The bucket identifier |
string |
Path |
flowId |
The flow identifier |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/buckets/string/flows/string
Example HTTP response
Response 200
{
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"versionCount" : 0,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
}
3.3.4. Update bucket flow
PUT /buckets/{bucketId}/flows/{flowId}
Description
Updates the flow with the given id in the given bucket.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bucketId |
The bucket identifier |
string |
Path |
flowId |
The flow identifier |
string |
Body |
body |
The updated flow |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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
-
application/json
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/buckets/string/flows/string
Request body
{
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"versionCount" : 0,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
}
Example HTTP response
Response 200
{
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"versionCount" : 0,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
}
3.3.5. Delete bucket flow
DELETE /buckets/{bucketId}/flows/{flowId}
Description
Deletes a flow, including all saved versions of that flow.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bucketId |
The bucket identifier |
string |
Path |
flowId |
The flow identifier |
string |
Query |
clientId |
If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response. |
string |
Query |
version |
The version is used to verify the client is working with the latest version of the entity. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/buckets/string/flows/string
Request query
{
"clientId" : "string",
"version" : "string"
}
Example HTTP response
Response 200
{
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"versionCount" : 0,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
}
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 |
The bucket identifier |
string |
Path |
flowId |
The flow identifier |
string |
Path |
versionA |
The first version number |
integer (int32) |
Path |
versionB |
The second version number |
integer (int32) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/buckets/string/flows/string/diff/0/0
Example HTTP response
Response 200
{
"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"
} ]
} ]
}
3.3.7. Create flow version
POST /buckets/{bucketId}/flows/{flowId}/versions
Description
Creates the next version of a flow. The version number of the object being created must be the next available version integer. Flow versions are immutable after they are created.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bucketId |
The bucket identifier |
string |
Path |
flowId |
The flow identifier |
string |
Body |
body |
The new versioned flow snapshot. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/buckets/string/flows/string/versions
Request body
{
"snapshotMetadata" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"bucketIdentifier" : "string",
"flowIdentifier" : "string",
"version" : 0,
"timestamp" : 0,
"author" : "string",
"comments" : "string"
},
"flowContents" : {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"processGroups" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"processGroups" : [ "..." ],
"remoteProcessGroups" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"targetUri" : "string",
"targetUris" : "string",
"communicationsTimeout" : "string",
"yieldDuration" : "string",
"transportProtocol" : "string",
"localNetworkInterface" : "string",
"proxyHost" : "string",
"proxyPort" : 0,
"proxyUser" : "string",
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"processors" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"style" : {
"string" : "string"
},
"type" : "string",
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"schedulingPeriod" : "string",
"schedulingStrategy" : "string",
"executionNode" : "string",
"penaltyDuration" : "string",
"yieldDuration" : "string",
"bulletinLevel" : "string",
"runDurationMillis" : 0,
"concurrentlySchedulableTaskCount" : 0,
"autoTerminatedRelationships" : [ "string" ],
"scheduledState" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"connections" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"source" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"destination" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"labelIndex" : 0,
"zIndex" : 0,
"selectedRelationships" : [ "string" ],
"backPressureObjectThreshold" : 0,
"backPressureDataSizeThreshold" : "string",
"flowFileExpiration" : "string",
"prioritizers" : [ "string" ],
"bends" : [ {
"x" : 0.0,
"y" : 0.0
} ],
"loadBalanceStrategy" : "string",
"partitioningAttribute" : "string",
"loadBalanceCompression" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"labels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"label" : "string",
"width" : 0.0,
"height" : 0.0,
"style" : {
"string" : "string"
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"funnels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"controllerServices" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"controllerServiceApis" : [ {
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
}
} ],
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"versionedFlowCoordinates" : {
"registryUrl" : "string",
"bucketId" : "string",
"flowId" : "string",
"version" : 0,
"latest" : true
},
"variables" : {
"string" : "string"
},
"parameterContextName" : "string",
"componentType" : "string",
"flowFileConcurrency" : "string",
"flowFileOutboundPolicy" : "string",
"groupIdentifier" : "string"
} ],
"remoteProcessGroups" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"targetUri" : "string",
"targetUris" : "string",
"communicationsTimeout" : "string",
"yieldDuration" : "string",
"transportProtocol" : "string",
"localNetworkInterface" : "string",
"proxyHost" : "string",
"proxyPort" : 0,
"proxyUser" : "string",
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"processors" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"style" : {
"string" : "string"
},
"type" : "string",
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"schedulingPeriod" : "string",
"schedulingStrategy" : "string",
"executionNode" : "string",
"penaltyDuration" : "string",
"yieldDuration" : "string",
"bulletinLevel" : "string",
"runDurationMillis" : 0,
"concurrentlySchedulableTaskCount" : 0,
"autoTerminatedRelationships" : [ "string" ],
"scheduledState" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"connections" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"source" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"destination" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"labelIndex" : 0,
"zIndex" : 0,
"selectedRelationships" : [ "string" ],
"backPressureObjectThreshold" : 0,
"backPressureDataSizeThreshold" : "string",
"flowFileExpiration" : "string",
"prioritizers" : [ "string" ],
"bends" : [ {
"x" : 0.0,
"y" : 0.0
} ],
"loadBalanceStrategy" : "string",
"partitioningAttribute" : "string",
"loadBalanceCompression" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"labels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"label" : "string",
"width" : 0.0,
"height" : 0.0,
"style" : {
"string" : "string"
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"funnels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"controllerServices" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"controllerServiceApis" : [ {
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
}
} ],
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"versionedFlowCoordinates" : {
"registryUrl" : "string",
"bucketId" : "string",
"flowId" : "string",
"version" : 0,
"latest" : true
},
"variables" : {
"string" : "string"
},
"parameterContextName" : "string",
"componentType" : "string",
"flowFileConcurrency" : "string",
"flowFileOutboundPolicy" : "string",
"groupIdentifier" : "string"
},
"externalControllerServices" : {
"string" : "<<_externalcontrollerservicereference>>"
},
"parameterContexts" : {
"string" : "<<_versionedparametercontext>>"
},
"flowEncodingVersion" : "string",
"flow" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"versionCount" : 0,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
},
"bucket" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"createdTimestamp" : 0,
"description" : "string",
"allowBundleRedeploy" : true,
"allowPublicRead" : true,
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
},
"latest" : true
}
Example HTTP response
Response 200
{
"snapshotMetadata" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"bucketIdentifier" : "string",
"flowIdentifier" : "string",
"version" : 0,
"timestamp" : 0,
"author" : "string",
"comments" : "string"
},
"flowContents" : {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"processGroups" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"processGroups" : [ "..." ],
"remoteProcessGroups" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"targetUri" : "string",
"targetUris" : "string",
"communicationsTimeout" : "string",
"yieldDuration" : "string",
"transportProtocol" : "string",
"localNetworkInterface" : "string",
"proxyHost" : "string",
"proxyPort" : 0,
"proxyUser" : "string",
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"processors" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"style" : {
"string" : "string"
},
"type" : "string",
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"schedulingPeriod" : "string",
"schedulingStrategy" : "string",
"executionNode" : "string",
"penaltyDuration" : "string",
"yieldDuration" : "string",
"bulletinLevel" : "string",
"runDurationMillis" : 0,
"concurrentlySchedulableTaskCount" : 0,
"autoTerminatedRelationships" : [ "string" ],
"scheduledState" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"connections" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"source" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"destination" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"labelIndex" : 0,
"zIndex" : 0,
"selectedRelationships" : [ "string" ],
"backPressureObjectThreshold" : 0,
"backPressureDataSizeThreshold" : "string",
"flowFileExpiration" : "string",
"prioritizers" : [ "string" ],
"bends" : [ {
"x" : 0.0,
"y" : 0.0
} ],
"loadBalanceStrategy" : "string",
"partitioningAttribute" : "string",
"loadBalanceCompression" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"labels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"label" : "string",
"width" : 0.0,
"height" : 0.0,
"style" : {
"string" : "string"
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"funnels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"controllerServices" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"controllerServiceApis" : [ {
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
}
} ],
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"versionedFlowCoordinates" : {
"registryUrl" : "string",
"bucketId" : "string",
"flowId" : "string",
"version" : 0,
"latest" : true
},
"variables" : {
"string" : "string"
},
"parameterContextName" : "string",
"componentType" : "string",
"flowFileConcurrency" : "string",
"flowFileOutboundPolicy" : "string",
"groupIdentifier" : "string"
} ],
"remoteProcessGroups" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"targetUri" : "string",
"targetUris" : "string",
"communicationsTimeout" : "string",
"yieldDuration" : "string",
"transportProtocol" : "string",
"localNetworkInterface" : "string",
"proxyHost" : "string",
"proxyPort" : 0,
"proxyUser" : "string",
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"processors" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"style" : {
"string" : "string"
},
"type" : "string",
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"schedulingPeriod" : "string",
"schedulingStrategy" : "string",
"executionNode" : "string",
"penaltyDuration" : "string",
"yieldDuration" : "string",
"bulletinLevel" : "string",
"runDurationMillis" : 0,
"concurrentlySchedulableTaskCount" : 0,
"autoTerminatedRelationships" : [ "string" ],
"scheduledState" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"connections" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"source" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"destination" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"labelIndex" : 0,
"zIndex" : 0,
"selectedRelationships" : [ "string" ],
"backPressureObjectThreshold" : 0,
"backPressureDataSizeThreshold" : "string",
"flowFileExpiration" : "string",
"prioritizers" : [ "string" ],
"bends" : [ {
"x" : 0.0,
"y" : 0.0
} ],
"loadBalanceStrategy" : "string",
"partitioningAttribute" : "string",
"loadBalanceCompression" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"labels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"label" : "string",
"width" : 0.0,
"height" : 0.0,
"style" : {
"string" : "string"
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"funnels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"controllerServices" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"controllerServiceApis" : [ {
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
}
} ],
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"versionedFlowCoordinates" : {
"registryUrl" : "string",
"bucketId" : "string",
"flowId" : "string",
"version" : 0,
"latest" : true
},
"variables" : {
"string" : "string"
},
"parameterContextName" : "string",
"componentType" : "string",
"flowFileConcurrency" : "string",
"flowFileOutboundPolicy" : "string",
"groupIdentifier" : "string"
},
"externalControllerServices" : {
"string" : "<<_externalcontrollerservicereference>>"
},
"parameterContexts" : {
"string" : "<<_versionedparametercontext>>"
},
"flowEncodingVersion" : "string",
"flow" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"versionCount" : 0,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
},
"bucket" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"createdTimestamp" : 0,
"description" : "string",
"allowBundleRedeploy" : true,
"allowPublicRead" : true,
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
},
"latest" : true
}
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 |
The bucket identifier |
string |
Path |
flowId |
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 |
Example HTTP request
Request path
/buckets/string/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"
} ]
3.3.9. Get latest bucket flow version content
GET /buckets/{bucketId}/flows/{flowId}/versions/latest
Description
Gets the latest version of a flow, including the metadata and content of the flow.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bucketId |
The bucket identifier |
string |
Path |
flowId |
The flow identifier |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/buckets/string/flows/string/versions/latest
Example HTTP response
Response 200
{
"snapshotMetadata" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"bucketIdentifier" : "string",
"flowIdentifier" : "string",
"version" : 0,
"timestamp" : 0,
"author" : "string",
"comments" : "string"
},
"flowContents" : {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"processGroups" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"processGroups" : [ "..." ],
"remoteProcessGroups" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"targetUri" : "string",
"targetUris" : "string",
"communicationsTimeout" : "string",
"yieldDuration" : "string",
"transportProtocol" : "string",
"localNetworkInterface" : "string",
"proxyHost" : "string",
"proxyPort" : 0,
"proxyUser" : "string",
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"processors" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"style" : {
"string" : "string"
},
"type" : "string",
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"schedulingPeriod" : "string",
"schedulingStrategy" : "string",
"executionNode" : "string",
"penaltyDuration" : "string",
"yieldDuration" : "string",
"bulletinLevel" : "string",
"runDurationMillis" : 0,
"concurrentlySchedulableTaskCount" : 0,
"autoTerminatedRelationships" : [ "string" ],
"scheduledState" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"connections" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"source" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"destination" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"labelIndex" : 0,
"zIndex" : 0,
"selectedRelationships" : [ "string" ],
"backPressureObjectThreshold" : 0,
"backPressureDataSizeThreshold" : "string",
"flowFileExpiration" : "string",
"prioritizers" : [ "string" ],
"bends" : [ {
"x" : 0.0,
"y" : 0.0
} ],
"loadBalanceStrategy" : "string",
"partitioningAttribute" : "string",
"loadBalanceCompression" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"labels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"label" : "string",
"width" : 0.0,
"height" : 0.0,
"style" : {
"string" : "string"
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"funnels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"controllerServices" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"controllerServiceApis" : [ {
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
}
} ],
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"versionedFlowCoordinates" : {
"registryUrl" : "string",
"bucketId" : "string",
"flowId" : "string",
"version" : 0,
"latest" : true
},
"variables" : {
"string" : "string"
},
"parameterContextName" : "string",
"componentType" : "string",
"flowFileConcurrency" : "string",
"flowFileOutboundPolicy" : "string",
"groupIdentifier" : "string"
} ],
"remoteProcessGroups" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"targetUri" : "string",
"targetUris" : "string",
"communicationsTimeout" : "string",
"yieldDuration" : "string",
"transportProtocol" : "string",
"localNetworkInterface" : "string",
"proxyHost" : "string",
"proxyPort" : 0,
"proxyUser" : "string",
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"processors" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"style" : {
"string" : "string"
},
"type" : "string",
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"schedulingPeriod" : "string",
"schedulingStrategy" : "string",
"executionNode" : "string",
"penaltyDuration" : "string",
"yieldDuration" : "string",
"bulletinLevel" : "string",
"runDurationMillis" : 0,
"concurrentlySchedulableTaskCount" : 0,
"autoTerminatedRelationships" : [ "string" ],
"scheduledState" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"connections" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"source" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"destination" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"labelIndex" : 0,
"zIndex" : 0,
"selectedRelationships" : [ "string" ],
"backPressureObjectThreshold" : 0,
"backPressureDataSizeThreshold" : "string",
"flowFileExpiration" : "string",
"prioritizers" : [ "string" ],
"bends" : [ {
"x" : 0.0,
"y" : 0.0
} ],
"loadBalanceStrategy" : "string",
"partitioningAttribute" : "string",
"loadBalanceCompression" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"labels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"label" : "string",
"width" : 0.0,
"height" : 0.0,
"style" : {
"string" : "string"
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"funnels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"controllerServices" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"controllerServiceApis" : [ {
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
}
} ],
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"versionedFlowCoordinates" : {
"registryUrl" : "string",
"bucketId" : "string",
"flowId" : "string",
"version" : 0,
"latest" : true
},
"variables" : {
"string" : "string"
},
"parameterContextName" : "string",
"componentType" : "string",
"flowFileConcurrency" : "string",
"flowFileOutboundPolicy" : "string",
"groupIdentifier" : "string"
},
"externalControllerServices" : {
"string" : "<<_externalcontrollerservicereference>>"
},
"parameterContexts" : {
"string" : "<<_versionedparametercontext>>"
},
"flowEncodingVersion" : "string",
"flow" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"versionCount" : 0,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
},
"bucket" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"createdTimestamp" : 0,
"description" : "string",
"allowBundleRedeploy" : true,
"allowPublicRead" : true,
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
},
"latest" : true
}
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 |
The bucket identifier |
string |
Path |
flowId |
The flow identifier |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
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"
}
3.3.11. Get bucket flow version
GET /buckets/{bucketId}/flows/{flowId}/versions/{versionNumber}
Description
Gets the given version of a flow, including the metadata and content for the version.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bucketId |
The bucket identifier |
string |
Path |
flowId |
The flow identifier |
string |
Path |
versionNumber |
The version number |
integer (int32) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/buckets/string/flows/string/versions/0
Example HTTP response
Response 200
{
"snapshotMetadata" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"bucketIdentifier" : "string",
"flowIdentifier" : "string",
"version" : 0,
"timestamp" : 0,
"author" : "string",
"comments" : "string"
},
"flowContents" : {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"processGroups" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"processGroups" : [ "..." ],
"remoteProcessGroups" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"targetUri" : "string",
"targetUris" : "string",
"communicationsTimeout" : "string",
"yieldDuration" : "string",
"transportProtocol" : "string",
"localNetworkInterface" : "string",
"proxyHost" : "string",
"proxyPort" : 0,
"proxyUser" : "string",
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"processors" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"style" : {
"string" : "string"
},
"type" : "string",
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"schedulingPeriod" : "string",
"schedulingStrategy" : "string",
"executionNode" : "string",
"penaltyDuration" : "string",
"yieldDuration" : "string",
"bulletinLevel" : "string",
"runDurationMillis" : 0,
"concurrentlySchedulableTaskCount" : 0,
"autoTerminatedRelationships" : [ "string" ],
"scheduledState" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"connections" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"source" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"destination" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"labelIndex" : 0,
"zIndex" : 0,
"selectedRelationships" : [ "string" ],
"backPressureObjectThreshold" : 0,
"backPressureDataSizeThreshold" : "string",
"flowFileExpiration" : "string",
"prioritizers" : [ "string" ],
"bends" : [ {
"x" : 0.0,
"y" : 0.0
} ],
"loadBalanceStrategy" : "string",
"partitioningAttribute" : "string",
"loadBalanceCompression" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"labels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"label" : "string",
"width" : 0.0,
"height" : 0.0,
"style" : {
"string" : "string"
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"funnels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"controllerServices" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"controllerServiceApis" : [ {
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
}
} ],
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"versionedFlowCoordinates" : {
"registryUrl" : "string",
"bucketId" : "string",
"flowId" : "string",
"version" : 0,
"latest" : true
},
"variables" : {
"string" : "string"
},
"parameterContextName" : "string",
"componentType" : "string",
"flowFileConcurrency" : "string",
"flowFileOutboundPolicy" : "string",
"groupIdentifier" : "string"
} ],
"remoteProcessGroups" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"targetUri" : "string",
"targetUris" : "string",
"communicationsTimeout" : "string",
"yieldDuration" : "string",
"transportProtocol" : "string",
"localNetworkInterface" : "string",
"proxyHost" : "string",
"proxyPort" : 0,
"proxyUser" : "string",
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"processors" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"style" : {
"string" : "string"
},
"type" : "string",
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"schedulingPeriod" : "string",
"schedulingStrategy" : "string",
"executionNode" : "string",
"penaltyDuration" : "string",
"yieldDuration" : "string",
"bulletinLevel" : "string",
"runDurationMillis" : 0,
"concurrentlySchedulableTaskCount" : 0,
"autoTerminatedRelationships" : [ "string" ],
"scheduledState" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"connections" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"source" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"destination" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"labelIndex" : 0,
"zIndex" : 0,
"selectedRelationships" : [ "string" ],
"backPressureObjectThreshold" : 0,
"backPressureDataSizeThreshold" : "string",
"flowFileExpiration" : "string",
"prioritizers" : [ "string" ],
"bends" : [ {
"x" : 0.0,
"y" : 0.0
} ],
"loadBalanceStrategy" : "string",
"partitioningAttribute" : "string",
"loadBalanceCompression" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"labels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"label" : "string",
"width" : 0.0,
"height" : 0.0,
"style" : {
"string" : "string"
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"funnels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"controllerServices" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"controllerServiceApis" : [ {
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
}
} ],
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"versionedFlowCoordinates" : {
"registryUrl" : "string",
"bucketId" : "string",
"flowId" : "string",
"version" : 0,
"latest" : true
},
"variables" : {
"string" : "string"
},
"parameterContextName" : "string",
"componentType" : "string",
"flowFileConcurrency" : "string",
"flowFileOutboundPolicy" : "string",
"groupIdentifier" : "string"
},
"externalControllerServices" : {
"string" : "<<_externalcontrollerservicereference>>"
},
"parameterContexts" : {
"string" : "<<_versionedparametercontext>>"
},
"flowEncodingVersion" : "string",
"flow" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"versionCount" : 0,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
},
"bucket" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"createdTimestamp" : 0,
"description" : "string",
"allowBundleRedeploy" : true,
"allowPublicRead" : true,
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
},
"latest" : true
}
3.4. Buckets
Create named buckets in the registry to store NiFi objects such flows and extensions. Search for and retrieve existing buckets.
3.4.1. Create bucket
POST /buckets
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
body |
The bucket to create |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Consumes
-
application/json
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/buckets
Request body
{
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"createdTimestamp" : 0,
"description" : "string",
"allowBundleRedeploy" : true,
"allowPublicRead" : true,
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
}
Example HTTP response
Response 200
{
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"createdTimestamp" : 0,
"description" : "string",
"allowBundleRedeploy" : true,
"allowPublicRead" : true,
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
}
3.4.2. Get all buckets
GET /buckets
Description
The returned list will include only buckets for which the user is authorized.If the user is not authorized for any buckets, this returns an empty list.
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< Bucket > array |
401 |
Client could not be authenticated. |
No Content |
Consumes
-
/
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/buckets
Example HTTP response
Response 200
[ {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"createdTimestamp" : 0,
"description" : "string",
"allowBundleRedeploy" : true,
"allowPublicRead" : true,
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
3.4.3. Get bucket fields
GET /buckets/fields
Description
Retrieves bucket field names for searching or sorting on buckets.
Consumes
-
/
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/buckets/fields
Example HTTP response
Response 200
{
"fields" : [ "string" ]
}
3.4.4. Get bucket
GET /buckets/{bucketId}
Description
Gets the bucket with the given id.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bucketId |
The bucket identifier |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Consumes
-
/
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/buckets/string
Example HTTP response
Response 200
{
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"createdTimestamp" : 0,
"description" : "string",
"allowBundleRedeploy" : true,
"allowPublicRead" : true,
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
}
3.4.5. Update bucket
PUT /buckets/{bucketId}
Description
Updates the bucket with the given id.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bucketId |
The bucket identifier |
string |
Body |
body |
The updated bucket |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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
-
application/json
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/buckets/string
Request body
{
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"createdTimestamp" : 0,
"description" : "string",
"allowBundleRedeploy" : true,
"allowPublicRead" : true,
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
}
Example HTTP response
Response 200
{
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"createdTimestamp" : 0,
"description" : "string",
"allowBundleRedeploy" : true,
"allowPublicRead" : true,
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
}
3.4.6. Delete bucket
DELETE /buckets/{bucketId}
Description
Deletes the bucket with the given id, along with all objects stored in the bucket
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bucketId |
The bucket identifier |
string |
Query |
clientId |
If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response. |
string |
Query |
version |
The version is used to verify the client is working with the latest version of the entity. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Consumes
-
/
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/buckets/string
Request query
{
"clientId" : "string",
"version" : "string"
}
Example HTTP response
Response 200
{
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"createdTimestamp" : 0,
"description" : "string",
"allowBundleRedeploy" : true,
"allowPublicRead" : true,
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
}
3.5. Bundles
Gets metadata about extension bundles and their versions.
3.5.1. Get all bundles
GET /bundles
Description
Gets the metadata for all bundles across all authorized buckets with optional filters applied. The returned results will include only items from buckets for which the user is authorized. If the user is not authorized to any buckets, an empty list will be returned.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
artifactId |
Optional artifactId to filter results. The value may be an exact match, or a wildcard, such as 'nifi-%' to select all bundles where the artifactId starts with 'nifi-'. |
string |
Query |
bucketName |
Optional bucket name to filter results. The value may be an exact match, or a wildcard, such as 'My Bucket%' to select all bundles where the bucket name starts with 'My Bucket'. |
string |
Query |
groupId |
Optional groupId to filter results. The value may be an exact match, or a wildcard, such as 'com.%' to select all bundles where the groupId starts with 'com.'. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< ExtensionBundle > array |
401 |
Client could not be authenticated. |
No Content |
Consumes
-
/
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/bundles
Request query
{
"artifactId" : "string",
"bucketName" : "string",
"groupId" : "string"
}
Example HTTP response
Response 200
[ {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"bundleType" : "string",
"groupId" : "string",
"artifactId" : "string",
"versionCount" : 0
} ]
3.5.2. Get all bundle versions
GET /bundles/versions
Description
Gets the metadata about extension bundle versions across all authorized buckets with optional filters applied. If the user is not authorized to any buckets, an empty list will be returned.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
artifactId |
Optional artifactId to filter results. The value may be an exact match, or a wildcard, such as 'nifi-%' to select all bundle versions where the artifactId starts with 'nifi-'. |
string |
Query |
groupId |
Optional groupId to filter results. The value may be an exact match, or a wildcard, such as 'com.%' to select all bundle versions where the groupId starts with 'com.'. |
string |
Query |
version |
Optional version to filter results. The value maye be an exact match, or a wildcard, such as '1.0.%' to select all bundle versions where the version starts with '1.0.'. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< BundleVersionMetadata > array |
401 |
Client could not be authenticated. |
No Content |
Consumes
-
/
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/bundles/versions
Request query
{
"artifactId" : "string",
"groupId" : "string",
"version" : "string"
}
Example HTTP response
Response 200
[ {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"id" : "string",
"bundleId" : "string",
"bucketId" : "string",
"groupId" : "string",
"artifactId" : "string",
"version" : "string",
"timestamp" : 0,
"author" : "string",
"description" : "string",
"sha256" : "string",
"sha256Supplied" : true,
"contentSize" : 0,
"systemApiVersion" : "string",
"buildInfo" : {
"buildTool" : "string",
"buildFlags" : "string",
"buildBranch" : "string",
"buildTag" : "string",
"buildRevision" : "string",
"built" : 0,
"builtBy" : "string"
}
} ]
3.5.3. Get bundle
GET /bundles/{bundleId}
Description
Gets the metadata about an extension bundle.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bundleId |
The extension bundle identifier |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/bundles/string
Example HTTP response
Response 200
{
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"bundleType" : "string",
"groupId" : "string",
"artifactId" : "string",
"versionCount" : 0
}
3.5.4. Delete bundle
DELETE /bundles/{bundleId}
Description
Deletes the given extension bundle and all of it’s versions.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bundleId |
The extension bundle identifier |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/bundles/string
Example HTTP response
Response 200
{
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"bundleType" : "string",
"groupId" : "string",
"artifactId" : "string",
"versionCount" : 0
}
3.5.5. Get bundle versions
GET /bundles/{bundleId}/versions
Description
Gets the metadata for the versions of the given extension bundle.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bundleId |
The extension bundle identifier |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< BundleVersionMetadata > array |
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 |
Example HTTP request
Request path
/bundles/string/versions
Example HTTP response
Response 200
[ {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"id" : "string",
"bundleId" : "string",
"bucketId" : "string",
"groupId" : "string",
"artifactId" : "string",
"version" : "string",
"timestamp" : 0,
"author" : "string",
"description" : "string",
"sha256" : "string",
"sha256Supplied" : true,
"contentSize" : 0,
"systemApiVersion" : "string",
"buildInfo" : {
"buildTool" : "string",
"buildFlags" : "string",
"buildBranch" : "string",
"buildTag" : "string",
"buildRevision" : "string",
"built" : 0,
"builtBy" : "string"
}
} ]
3.5.6. Get bundle version
GET /bundles/{bundleId}/versions/{version}
Description
Gets the descriptor for the given version of the given extension bundle.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bundleId |
The extension bundle identifier |
string |
Path |
version |
The version of the bundle |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/bundles/string/versions/string
Example HTTP response
Response 200
{
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"versionMetadata" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"id" : "string",
"bundleId" : "string",
"bucketId" : "string",
"groupId" : "string",
"artifactId" : "string",
"version" : "string",
"timestamp" : 0,
"author" : "string",
"description" : "string",
"sha256" : "string",
"sha256Supplied" : true,
"contentSize" : 0,
"systemApiVersion" : "string",
"buildInfo" : {
"buildTool" : "string",
"buildFlags" : "string",
"buildBranch" : "string",
"buildTag" : "string",
"buildRevision" : "string",
"built" : 0,
"builtBy" : "string"
}
},
"dependencies" : [ {
"groupId" : "string",
"artifactId" : "string",
"version" : "string"
} ],
"bundle" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"bundleType" : "string",
"groupId" : "string",
"artifactId" : "string",
"versionCount" : 0
},
"bucket" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"createdTimestamp" : 0,
"description" : "string",
"allowBundleRedeploy" : true,
"allowPublicRead" : true,
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
},
"filename" : "string"
}
3.5.7. Delete bundle version
DELETE /bundles/{bundleId}/versions/{version}
Description
Deletes the given extension bundle version and it’s associated binary content.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bundleId |
The extension bundle identifier |
string |
Path |
version |
The version of the bundle |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/bundles/string/versions/string
Example HTTP response
Response 200
{
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"versionMetadata" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"id" : "string",
"bundleId" : "string",
"bucketId" : "string",
"groupId" : "string",
"artifactId" : "string",
"version" : "string",
"timestamp" : 0,
"author" : "string",
"description" : "string",
"sha256" : "string",
"sha256Supplied" : true,
"contentSize" : 0,
"systemApiVersion" : "string",
"buildInfo" : {
"buildTool" : "string",
"buildFlags" : "string",
"buildBranch" : "string",
"buildTag" : "string",
"buildRevision" : "string",
"built" : 0,
"builtBy" : "string"
}
},
"dependencies" : [ {
"groupId" : "string",
"artifactId" : "string",
"version" : "string"
} ],
"bundle" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"bundleType" : "string",
"groupId" : "string",
"artifactId" : "string",
"versionCount" : 0
},
"bucket" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"createdTimestamp" : 0,
"description" : "string",
"allowBundleRedeploy" : true,
"allowPublicRead" : true,
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
},
"filename" : "string"
}
3.5.8. Get bundle version content
GET /bundles/{bundleId}/versions/{version}/content
Description
Gets the binary content for the given version of the given extension bundle.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bundleId |
The extension bundle identifier |
string |
Path |
version |
The version of the bundle |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< string (byte) > array |
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/octet-stream
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/bundles/string/versions/string/content
Example HTTP response
Response 200
[ "string" ]
3.5.9. Get bundle version extensions
GET /bundles/{bundleId}/versions/{version}/extensions
Description
Gets the metadata about the extensions in the given extension bundle version.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bundleId |
The extension bundle identifier |
string |
Path |
version |
The version of the bundle |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< ExtensionMetadata > array |
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 |
Example HTTP request
Request path
/bundles/string/versions/string/extensions
Example HTTP response
Response 200
[ {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"name" : "string",
"displayName" : "string",
"type" : "string",
"description" : "string",
"deprecationNotice" : {
"reason" : "string",
"alternatives" : [ "string" ]
},
"tags" : [ "string" ],
"restricted" : {
"generalRestrictionExplanation" : "string",
"restrictions" : [ {
"requiredPermission" : "string",
"explanation" : "string"
} ]
},
"providedServiceAPIs" : [ {
"className" : "string",
"groupId" : "string",
"artifactId" : "string",
"version" : "string"
} ],
"bundleInfo" : {
"bucketId" : "string",
"bucketName" : "string",
"bundleId" : "string",
"bundleType" : "string",
"groupId" : "string",
"artifactId" : "string",
"version" : "string",
"systemApiVersion" : "string"
},
"hasAdditionalDetails" : true,
"linkDocs" : {
"href" : "string",
"params" : {
"string" : "string"
}
}
} ]
3.5.10. Get bundle version extension
GET /bundles/{bundleId}/versions/{version}/extensions/{name}
Description
Gets the metadata about the extension with the given name in the given extension bundle version.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bundleId |
The extension bundle identifier |
string |
Path |
name |
The fully qualified name of the extension |
string |
Path |
version |
The version of the bundle |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< Extension > array |
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 |
Example HTTP request
Request path
/bundles/string/versions/string/extensions/string
Example HTTP response
Response 200
[ {
"name" : "string",
"type" : "string",
"deprecationNotice" : {
"reason" : "string",
"alternatives" : [ "string" ]
},
"description" : "string",
"tags" : [ "string" ],
"properties" : [ {
"name" : "string",
"displayName" : "string",
"description" : "string",
"defaultValue" : "string",
"controllerServiceDefinition" : {
"className" : "string",
"groupId" : "string",
"artifactId" : "string",
"version" : "string"
},
"allowableValues" : [ {
"value" : "string",
"displayName" : "string",
"description" : "string"
} ],
"required" : true,
"sensitive" : true,
"expressionLanguageSupported" : true,
"expressionLanguageScope" : "string",
"dynamicallyModifiesClasspath" : true,
"dynamic" : true
} ],
"dynamicProperties" : [ {
"name" : "string",
"value" : "string",
"description" : "string",
"expressionLanguageScope" : "string",
"expressionLanguageSupported" : true
} ],
"relationships" : [ {
"name" : "string",
"description" : "string",
"autoTerminated" : true
} ],
"dynamicRelationship" : {
"name" : "string",
"description" : "string"
},
"readsAttributes" : [ {
"name" : "string",
"description" : "string"
} ],
"writesAttributes" : [ {
"name" : "string",
"description" : "string"
} ],
"stateful" : {
"description" : "string",
"scopes" : [ "string" ]
},
"restricted" : {
"generalRestrictionExplanation" : "string",
"restrictions" : [ {
"requiredPermission" : "string",
"explanation" : "string"
} ]
},
"inputRequirement" : "string",
"systemResourceConsiderations" : [ {
"resource" : "string",
"description" : "string"
} ],
"seeAlso" : [ "string" ],
"providedServiceAPIs" : [ {
"className" : "string",
"groupId" : "string",
"artifactId" : "string",
"version" : "string"
} ]
} ]
3.5.11. Get bundle version extension docs
GET /bundles/{bundleId}/versions/{version}/extensions/{name}/docs
Description
Gets the documentation for the given extension in the given extension bundle version.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bundleId |
The extension bundle identifier |
string |
Path |
name |
The fully qualified name of the extension |
string |
Path |
version |
The version of the bundle |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
string |
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
-
text/html
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/bundles/string/versions/string/extensions/string/docs
Example HTTP response
Response 200
"string"
3.5.12. Get bundle version extension docs details
GET /bundles/{bundleId}/versions/{version}/extensions/{name}/docs/additional-details
Description
Gets the additional details documentation for the given extension in the given extension bundle version.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bundleId |
The extension bundle identifier |
string |
Path |
name |
The fully qualified name of the extension |
string |
Path |
version |
The version of the bundle |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
string |
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
-
text/html
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/bundles/string/versions/string/extensions/string/docs/additional-details
Example HTTP response
Response 200
"string"
3.6. Config
Retrieves the configuration for this NiFi Registry.
3.6.1. Get configration
GET /config
Description
Gets the NiFi Registry configurations.
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
401 |
Client could not be authenticated. |
No Content |
Consumes
-
/
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/config
Example HTTP response
Response 200
{
"supportsManagedAuthorizer" : true,
"supportsConfigurableAuthorizer" : true,
"supportsConfigurableUsersAndGroups" : true
}
3.7. Extension Repository
Interact with extension bundles via the hierarchy of bucket/group/artifact/version.
3.7.1. Get extension repo buckets
GET /extension-repository
Description
Gets the names of the buckets the current user is authorized for in order to browse the repo by bucket.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< ExtensionRepoBucket > array |
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 |
Example HTTP request
Request path
/extension-repository
Example HTTP response
Response 200
[ {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"bucketName" : "string"
} ]
3.7.2. Get extension repo groups
GET /extension-repository/{bucketName}
Description
Gets the groups in the extension repository in the given bucket.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bucketName |
The bucket name |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< ExtensionRepoGroup > array |
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 |
Example HTTP request
Request path
/extension-repository/string
Example HTTP response
Response 200
[ {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"bucketName" : "string",
"groupId" : "string"
} ]
3.7.3. Get extension repo artifacts
GET /extension-repository/{bucketName}/{groupId}
Description
Gets the artifacts in the extension repository in the given bucket and group.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bucketName |
The bucket name |
string |
Path |
groupId |
The group id |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< ExtensionRepoArtifact > array |
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 |
Example HTTP request
Request path
/extension-repository/string/string
Example HTTP response
Response 200
[ {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"bucketName" : "string",
"groupId" : "string",
"artifactId" : "string"
} ]
3.7.4. Get extension repo versions
GET /extension-repository/{bucketName}/{groupId}/{artifactId}
Description
Gets the versions in the extension repository for the given bucket, group, and artifact.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
artifactId |
The artifact identifier |
string |
Path |
bucketName |
The bucket name |
string |
Path |
groupId |
The group identifier |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< ExtensionRepoVersionSummary > array |
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 |
Example HTTP request
Request path
/extension-repository/string/string/string
Example HTTP response
Response 200
[ {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"bucketName" : "string",
"groupId" : "string",
"artifactId" : "string",
"version" : "string",
"author" : "string",
"timestamp" : 0
} ]
3.7.5. Get extension repo version
GET /extension-repository/{bucketName}/{groupId}/{artifactId}/{version}
Description
Gets information about the version in the given bucket, group, and artifact.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
artifactId |
The artifact identifier |
string |
Path |
bucketName |
The bucket name |
string |
Path |
groupId |
The group identifier |
string |
Path |
version |
The version |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/extension-repository/string/string/string/string
Example HTTP response
Response 200
{
"extensionsLink" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"downloadLink" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"sha256Link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"sha256Supplied" : {
"href" : "string",
"params" : {
"string" : "string"
}
}
}
3.7.6. Get extension repo version content
GET /extension-repository/{bucketName}/{groupId}/{artifactId}/{version}/content
Description
Gets the binary content of the bundle with the given bucket, group, artifact, and version.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
artifactId |
The artifact identifier |
string |
Path |
bucketName |
The bucket name |
string |
Path |
groupId |
The group identifier |
string |
Path |
version |
The version |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< string (byte) > array |
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/octet-stream
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/extension-repository/string/string/string/string/content
Example HTTP response
Response 200
[ "string" ]
3.7.7. Get extension repo extensions
GET /extension-repository/{bucketName}/{groupId}/{artifactId}/{version}/extensions
Description
Gets information about the extensions in the given bucket, group, artifact, and version.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
artifactId |
The artifact identifier |
string |
Path |
bucketName |
The bucket name |
string |
Path |
groupId |
The group identifier |
string |
Path |
version |
The version |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< ExtensionMetadata > array |
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 |
Example HTTP request
Request path
/extension-repository/string/string/string/string/extensions
Example HTTP response
Response 200
[ {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"name" : "string",
"displayName" : "string",
"type" : "string",
"description" : "string",
"deprecationNotice" : {
"reason" : "string",
"alternatives" : [ "string" ]
},
"tags" : [ "string" ],
"restricted" : {
"generalRestrictionExplanation" : "string",
"restrictions" : [ {
"requiredPermission" : "string",
"explanation" : "string"
} ]
},
"providedServiceAPIs" : [ {
"className" : "string",
"groupId" : "string",
"artifactId" : "string",
"version" : "string"
} ],
"bundleInfo" : {
"bucketId" : "string",
"bucketName" : "string",
"bundleId" : "string",
"bundleType" : "string",
"groupId" : "string",
"artifactId" : "string",
"version" : "string",
"systemApiVersion" : "string"
},
"hasAdditionalDetails" : true,
"linkDocs" : {
"href" : "string",
"params" : {
"string" : "string"
}
}
} ]
3.7.8. Get extension repo extension
GET /extension-repository/{bucketName}/{groupId}/{artifactId}/{version}/extensions/{name}
Description
Gets information about the extension with the given name in the given bucket, group, artifact, and version.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
artifactId |
The artifact identifier |
string |
Path |
bucketName |
The bucket name |
string |
Path |
groupId |
The group identifier |
string |
Path |
name |
The fully qualified name of the extension |
string |
Path |
version |
The version |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/extension-repository/string/string/string/string/extensions/string
Example HTTP response
Response 200
{
"name" : "string",
"type" : "string",
"deprecationNotice" : {
"reason" : "string",
"alternatives" : [ "string" ]
},
"description" : "string",
"tags" : [ "string" ],
"properties" : [ {
"name" : "string",
"displayName" : "string",
"description" : "string",
"defaultValue" : "string",
"controllerServiceDefinition" : {
"className" : "string",
"groupId" : "string",
"artifactId" : "string",
"version" : "string"
},
"allowableValues" : [ {
"value" : "string",
"displayName" : "string",
"description" : "string"
} ],
"required" : true,
"sensitive" : true,
"expressionLanguageSupported" : true,
"expressionLanguageScope" : "string",
"dynamicallyModifiesClasspath" : true,
"dynamic" : true
} ],
"dynamicProperties" : [ {
"name" : "string",
"value" : "string",
"description" : "string",
"expressionLanguageScope" : "string",
"expressionLanguageSupported" : true
} ],
"relationships" : [ {
"name" : "string",
"description" : "string",
"autoTerminated" : true
} ],
"dynamicRelationship" : {
"name" : "string",
"description" : "string"
},
"readsAttributes" : [ {
"name" : "string",
"description" : "string"
} ],
"writesAttributes" : [ {
"name" : "string",
"description" : "string"
} ],
"stateful" : {
"description" : "string",
"scopes" : [ "string" ]
},
"restricted" : {
"generalRestrictionExplanation" : "string",
"restrictions" : [ {
"requiredPermission" : "string",
"explanation" : "string"
} ]
},
"inputRequirement" : "string",
"systemResourceConsiderations" : [ {
"resource" : "string",
"description" : "string"
} ],
"seeAlso" : [ "string" ],
"providedServiceAPIs" : [ {
"className" : "string",
"groupId" : "string",
"artifactId" : "string",
"version" : "string"
} ]
}
3.7.9. Get extension repo extension docs
GET /extension-repository/{bucketName}/{groupId}/{artifactId}/{version}/extensions/{name}/docs
Description
Gets the documentation for the extension with the given name in the given bucket, group, artifact, and version.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
artifactId |
The artifact identifier |
string |
Path |
bucketName |
The bucket name |
string |
Path |
groupId |
The group identifier |
string |
Path |
name |
The fully qualified name of the extension |
string |
Path |
version |
The version |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
string |
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
-
text/html
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/extension-repository/string/string/string/string/extensions/string/docs
Example HTTP response
Response 200
"string"
3.7.10. Get extension repo extension details
GET /extension-repository/{bucketName}/{groupId}/{artifactId}/{version}/extensions/{name}/docs/additional-details
Description
Gets the additional details documentation for the extension with the given name in the given bucket, group, artifact, and version.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
artifactId |
The artifact identifier |
string |
Path |
bucketName |
The bucket name |
string |
Path |
groupId |
The group identifier |
string |
Path |
name |
The fully qualified name of the extension |
string |
Path |
version |
The version |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
string |
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
-
text/html
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/extension-repository/string/string/string/string/extensions/string/docs/additional-details
Example HTTP response
Response 200
"string"
3.7.11. Get extension repo version checksum
GET /extension-repository/{bucketName}/{groupId}/{artifactId}/{version}/sha256
Description
Gets the hex representation of the SHA-256 digest for the binary content of the bundle with the given bucket, group, artifact, and version.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
artifactId |
The artifact identifier |
string |
Path |
bucketName |
The bucket name |
string |
Path |
groupId |
The group identifier |
string |
Path |
version |
The version |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
string |
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
-
text/plain
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/extension-repository/string/string/string/string/sha256
Example HTTP response
Response 200
"string"
3.7.12. Get global extension repo version checksum
GET /extension-repository/{groupId}/{artifactId}/{version}/sha256
Description
Gets the hex representation of the SHA-256 digest for the binary content with the given bucket, group, artifact, and version. Since the same group-artifact-version can exist in multiple buckets, this will return the checksum of the first one returned. This will be consistent since the checksum must be the same when existing in multiple buckets.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
artifactId |
The artifact identifier |
string |
Path |
groupId |
The group identifier |
string |
Path |
version |
The version |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
string |
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
-
text/plain
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/extension-repository/string/string/string/sha256
Example HTTP response
Response 200
"string"
3.8. Extensions
Find and retrieve extensions.
3.8.1. Get all extensions
GET /extensions
Description
Gets the metadata for all extensions that match the filter params and are part of bundles located in buckets the current user is authorized for. If the user is not authorized to any buckets, an empty result set will be returned.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
bundleType |
The type of bundles to return |
enum (nifi-nar, minifi-cpp) |
Query |
extensionType |
The type of extensions to return |
enum (PROCESSOR, CONTROLLER_SERVICE, REPORTING_TASK) |
Query |
tag |
The tags to filter on, will be used in an OR statement |
< string > array(multi) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/extensions
Request query
{
"bundleType" : "string",
"extensionType" : "string",
"tag" : "string"
}
Example HTTP response
Response 200
{
"numResults" : 0,
"filterParams" : {
"bundleType" : "string",
"extensionType" : "string",
"tags" : [ "string" ]
},
"extensions" : [ {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"name" : "string",
"displayName" : "string",
"type" : "string",
"description" : "string",
"deprecationNotice" : {
"reason" : "string",
"alternatives" : [ "string" ]
},
"tags" : [ "string" ],
"restricted" : {
"generalRestrictionExplanation" : "string",
"restrictions" : [ {
"requiredPermission" : "string",
"explanation" : "string"
} ]
},
"providedServiceAPIs" : [ {
"className" : "string",
"groupId" : "string",
"artifactId" : "string",
"version" : "string"
} ],
"bundleInfo" : {
"bucketId" : "string",
"bucketName" : "string",
"bundleId" : "string",
"bundleType" : "string",
"groupId" : "string",
"artifactId" : "string",
"version" : "string",
"systemApiVersion" : "string"
},
"hasAdditionalDetails" : true,
"linkDocs" : {
"href" : "string",
"params" : {
"string" : "string"
}
}
} ]
}
3.8.2. Get extensions providing service API
GET /extensions/provided-service-api
Description
Gets the metadata for extensions that provide the specified API and are part of bundles located in buckets the current user is authorized for. If the user is not authorized to any buckets, an empty result set will be returned.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
artifactId |
The artifactId of the bundle containing the service API class |
string |
Query |
className |
The name of the service API class |
string |
Query |
groupId |
The groupId of the bundle containing the service API class |
string |
Query |
version |
The version of the bundle containing the service API class |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/extensions/provided-service-api
Request query
{
"artifactId" : "string",
"className" : "string",
"groupId" : "string",
"version" : "string"
}
Example HTTP response
Response 200
{
"numResults" : 0,
"filterParams" : {
"bundleType" : "string",
"extensionType" : "string",
"tags" : [ "string" ]
},
"extensions" : [ {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"name" : "string",
"displayName" : "string",
"type" : "string",
"description" : "string",
"deprecationNotice" : {
"reason" : "string",
"alternatives" : [ "string" ]
},
"tags" : [ "string" ],
"restricted" : {
"generalRestrictionExplanation" : "string",
"restrictions" : [ {
"requiredPermission" : "string",
"explanation" : "string"
} ]
},
"providedServiceAPIs" : [ {
"className" : "string",
"groupId" : "string",
"artifactId" : "string",
"version" : "string"
} ],
"bundleInfo" : {
"bucketId" : "string",
"bucketName" : "string",
"bundleId" : "string",
"bundleType" : "string",
"groupId" : "string",
"artifactId" : "string",
"version" : "string",
"systemApiVersion" : "string"
},
"hasAdditionalDetails" : true,
"linkDocs" : {
"href" : "string",
"params" : {
"string" : "string"
}
}
} ]
}
3.8.3. Get extension tags
GET /extensions/tags
Description
Gets all the extension tags known to this NiFi Registry instance, along with the number of extensions that have the given tag.
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< TagCount > array |
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 |
Example HTTP request
Request path
/extensions/tags
Example HTTP response
Response 200
[ {
"tag" : "string",
"count" : 0
} ]
3.9. Flows
Gets metadata about flows.
3.9.1. Get flow fields
GET /flows/fields
Description
Retrieves the flow field names that can be used for searching or sorting on flows.
Consumes
-
/
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/flows/fields
Example HTTP response
Response 200
{
"fields" : [ "string" ]
}
3.9.2. Get flow
GET /flows/{flowId}
Description
Gets a flow by id.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
flowId |
The flow identifier |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/flows/string
Example HTTP response
Response 200
{
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"versionCount" : 0,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
}
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 |
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 |
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"
} ]
3.9.4. Get latest flow version
GET /flows/{flowId}/versions/latest
Description
Gets the latest version of a flow, including metadata and flow content.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
flowId |
The flow identifier |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/flows/string/versions/latest
Example HTTP response
Response 200
{
"snapshotMetadata" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"bucketIdentifier" : "string",
"flowIdentifier" : "string",
"version" : 0,
"timestamp" : 0,
"author" : "string",
"comments" : "string"
},
"flowContents" : {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"processGroups" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"processGroups" : [ "..." ],
"remoteProcessGroups" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"targetUri" : "string",
"targetUris" : "string",
"communicationsTimeout" : "string",
"yieldDuration" : "string",
"transportProtocol" : "string",
"localNetworkInterface" : "string",
"proxyHost" : "string",
"proxyPort" : 0,
"proxyUser" : "string",
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"processors" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"style" : {
"string" : "string"
},
"type" : "string",
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"schedulingPeriod" : "string",
"schedulingStrategy" : "string",
"executionNode" : "string",
"penaltyDuration" : "string",
"yieldDuration" : "string",
"bulletinLevel" : "string",
"runDurationMillis" : 0,
"concurrentlySchedulableTaskCount" : 0,
"autoTerminatedRelationships" : [ "string" ],
"scheduledState" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"connections" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"source" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"destination" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"labelIndex" : 0,
"zIndex" : 0,
"selectedRelationships" : [ "string" ],
"backPressureObjectThreshold" : 0,
"backPressureDataSizeThreshold" : "string",
"flowFileExpiration" : "string",
"prioritizers" : [ "string" ],
"bends" : [ {
"x" : 0.0,
"y" : 0.0
} ],
"loadBalanceStrategy" : "string",
"partitioningAttribute" : "string",
"loadBalanceCompression" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"labels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"label" : "string",
"width" : 0.0,
"height" : 0.0,
"style" : {
"string" : "string"
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"funnels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"controllerServices" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"controllerServiceApis" : [ {
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
}
} ],
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"versionedFlowCoordinates" : {
"registryUrl" : "string",
"bucketId" : "string",
"flowId" : "string",
"version" : 0,
"latest" : true
},
"variables" : {
"string" : "string"
},
"parameterContextName" : "string",
"componentType" : "string",
"flowFileConcurrency" : "string",
"flowFileOutboundPolicy" : "string",
"groupIdentifier" : "string"
} ],
"remoteProcessGroups" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"targetUri" : "string",
"targetUris" : "string",
"communicationsTimeout" : "string",
"yieldDuration" : "string",
"transportProtocol" : "string",
"localNetworkInterface" : "string",
"proxyHost" : "string",
"proxyPort" : 0,
"proxyUser" : "string",
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"processors" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"style" : {
"string" : "string"
},
"type" : "string",
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"schedulingPeriod" : "string",
"schedulingStrategy" : "string",
"executionNode" : "string",
"penaltyDuration" : "string",
"yieldDuration" : "string",
"bulletinLevel" : "string",
"runDurationMillis" : 0,
"concurrentlySchedulableTaskCount" : 0,
"autoTerminatedRelationships" : [ "string" ],
"scheduledState" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"connections" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"source" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"destination" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"labelIndex" : 0,
"zIndex" : 0,
"selectedRelationships" : [ "string" ],
"backPressureObjectThreshold" : 0,
"backPressureDataSizeThreshold" : "string",
"flowFileExpiration" : "string",
"prioritizers" : [ "string" ],
"bends" : [ {
"x" : 0.0,
"y" : 0.0
} ],
"loadBalanceStrategy" : "string",
"partitioningAttribute" : "string",
"loadBalanceCompression" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"labels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"label" : "string",
"width" : 0.0,
"height" : 0.0,
"style" : {
"string" : "string"
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"funnels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"controllerServices" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"controllerServiceApis" : [ {
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
}
} ],
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"versionedFlowCoordinates" : {
"registryUrl" : "string",
"bucketId" : "string",
"flowId" : "string",
"version" : 0,
"latest" : true
},
"variables" : {
"string" : "string"
},
"parameterContextName" : "string",
"componentType" : "string",
"flowFileConcurrency" : "string",
"flowFileOutboundPolicy" : "string",
"groupIdentifier" : "string"
},
"externalControllerServices" : {
"string" : "<<_externalcontrollerservicereference>>"
},
"parameterContexts" : {
"string" : "<<_versionedparametercontext>>"
},
"flowEncodingVersion" : "string",
"flow" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"versionCount" : 0,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
},
"bucket" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"createdTimestamp" : 0,
"description" : "string",
"allowBundleRedeploy" : true,
"allowPublicRead" : true,
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
},
"latest" : true
}
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 |
The flow identifier |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
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"
}
3.9.6. Get flow version
GET /flows/{flowId}/versions/{versionNumber}
Description
Gets the given version of a flow, including metadata and flow content.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
flowId |
The flow identifier |
string |
Path |
versionNumber |
The version number |
integer (int32) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/flows/string/versions/0
Example HTTP response
Response 200
{
"snapshotMetadata" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"bucketIdentifier" : "string",
"flowIdentifier" : "string",
"version" : 0,
"timestamp" : 0,
"author" : "string",
"comments" : "string"
},
"flowContents" : {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"processGroups" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"processGroups" : [ "..." ],
"remoteProcessGroups" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"targetUri" : "string",
"targetUris" : "string",
"communicationsTimeout" : "string",
"yieldDuration" : "string",
"transportProtocol" : "string",
"localNetworkInterface" : "string",
"proxyHost" : "string",
"proxyPort" : 0,
"proxyUser" : "string",
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"processors" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"style" : {
"string" : "string"
},
"type" : "string",
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"schedulingPeriod" : "string",
"schedulingStrategy" : "string",
"executionNode" : "string",
"penaltyDuration" : "string",
"yieldDuration" : "string",
"bulletinLevel" : "string",
"runDurationMillis" : 0,
"concurrentlySchedulableTaskCount" : 0,
"autoTerminatedRelationships" : [ "string" ],
"scheduledState" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"connections" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"source" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"destination" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"labelIndex" : 0,
"zIndex" : 0,
"selectedRelationships" : [ "string" ],
"backPressureObjectThreshold" : 0,
"backPressureDataSizeThreshold" : "string",
"flowFileExpiration" : "string",
"prioritizers" : [ "string" ],
"bends" : [ {
"x" : 0.0,
"y" : 0.0
} ],
"loadBalanceStrategy" : "string",
"partitioningAttribute" : "string",
"loadBalanceCompression" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"labels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"label" : "string",
"width" : 0.0,
"height" : 0.0,
"style" : {
"string" : "string"
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"funnels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"controllerServices" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"controllerServiceApis" : [ {
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
}
} ],
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"versionedFlowCoordinates" : {
"registryUrl" : "string",
"bucketId" : "string",
"flowId" : "string",
"version" : 0,
"latest" : true
},
"variables" : {
"string" : "string"
},
"parameterContextName" : "string",
"componentType" : "string",
"flowFileConcurrency" : "string",
"flowFileOutboundPolicy" : "string",
"groupIdentifier" : "string"
} ],
"remoteProcessGroups" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"targetUri" : "string",
"targetUris" : "string",
"communicationsTimeout" : "string",
"yieldDuration" : "string",
"transportProtocol" : "string",
"localNetworkInterface" : "string",
"proxyHost" : "string",
"proxyPort" : 0,
"proxyUser" : "string",
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"remoteGroupId" : "string",
"concurrentlySchedulableTaskCount" : 0,
"useCompression" : true,
"batchSize" : {
"count" : 0,
"size" : "string",
"duration" : "string"
},
"componentType" : "string",
"targetId" : "string",
"scheduledState" : "string",
"groupIdentifier" : "string"
} ],
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"processors" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"style" : {
"string" : "string"
},
"type" : "string",
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"schedulingPeriod" : "string",
"schedulingStrategy" : "string",
"executionNode" : "string",
"penaltyDuration" : "string",
"yieldDuration" : "string",
"bulletinLevel" : "string",
"runDurationMillis" : 0,
"concurrentlySchedulableTaskCount" : 0,
"autoTerminatedRelationships" : [ "string" ],
"scheduledState" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"inputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"outputPorts" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"concurrentlySchedulableTaskCount" : 0,
"scheduledState" : "string",
"allowRemoteAccess" : true,
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"connections" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"source" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"destination" : {
"id" : "string",
"type" : "string",
"groupId" : "string",
"name" : "string",
"comments" : "string"
},
"labelIndex" : 0,
"zIndex" : 0,
"selectedRelationships" : [ "string" ],
"backPressureObjectThreshold" : 0,
"backPressureDataSizeThreshold" : "string",
"flowFileExpiration" : "string",
"prioritizers" : [ "string" ],
"bends" : [ {
"x" : 0.0,
"y" : 0.0
} ],
"loadBalanceStrategy" : "string",
"partitioningAttribute" : "string",
"loadBalanceCompression" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"labels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"label" : "string",
"width" : 0.0,
"height" : 0.0,
"style" : {
"string" : "string"
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"funnels" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"controllerServices" : [ {
"identifier" : "string",
"name" : "string",
"comments" : "string",
"position" : {
"x" : 0.0,
"y" : 0.0
},
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
},
"controllerServiceApis" : [ {
"type" : "string",
"bundle" : {
"group" : "string",
"artifact" : "string",
"version" : "string"
}
} ],
"properties" : {
"string" : "string"
},
"propertyDescriptors" : {
"string" : "<<_versionedpropertydescriptor>>"
},
"annotationData" : "string",
"componentType" : "string",
"groupIdentifier" : "string"
} ],
"versionedFlowCoordinates" : {
"registryUrl" : "string",
"bucketId" : "string",
"flowId" : "string",
"version" : 0,
"latest" : true
},
"variables" : {
"string" : "string"
},
"parameterContextName" : "string",
"componentType" : "string",
"flowFileConcurrency" : "string",
"flowFileOutboundPolicy" : "string",
"groupIdentifier" : "string"
},
"externalControllerServices" : {
"string" : "<<_externalcontrollerservicereference>>"
},
"parameterContexts" : {
"string" : "<<_versionedparametercontext>>"
},
"flowEncodingVersion" : "string",
"flow" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"versionCount" : 0,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
},
"bucket" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"createdTimestamp" : 0,
"description" : "string",
"allowBundleRedeploy" : true,
"allowPublicRead" : true,
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
},
"latest" : true
}
3.10. Items
Retrieve items across all buckets for which the user is authorized.
3.10.1. Get all items
GET /items
Description
Get items across all buckets. The returned items will include only items from buckets for which the user is authorized. If the user is not authorized to any buckets, an empty list will be returned.
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< BucketItem > array |
401 |
Client could not be authenticated. |
No Content |
Consumes
-
/
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/items
Example HTTP response
Response 200
[ {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
} ]
3.10.2. Get item fields
GET /items/fields
Description
Retrieves the item field names for searching or sorting on bucket items.
Consumes
-
/
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/items/fields
Example HTTP response
Response 200
{
"fields" : [ "string" ]
}
3.10.3. Get bucket items
GET /items/{bucketId}
Description
Gets the items located in the given bucket.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bucketId |
The bucket identifier |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< BucketItem > array |
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 |
Consumes
-
/
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/items/string
Example HTTP response
Response 200
[ {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
} ]
3.11. Policies
Endpoint for managing access policies.
3.11.1. Create access policy
POST /policies
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
body |
The access policy configuration details. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
409 |
NiFi Registry was unable to complete the request because it assumes a server state that is not valid. The NiFi Registry might not be configured to use a ConfigurableAccessPolicyProvider. |
No Content |
Consumes
-
application/json
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/policies
Request body
{
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"users" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"userGroups" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
}
Example HTTP response
Response 200
{
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"users" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"userGroups" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
}
3.11.2. Get all access policies
GET /policies
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< AccessPolicy > array |
401 |
Client could not be authenticated. |
No Content |
403 |
Client is not authorized to make this request. |
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 |
Example HTTP request
Request path
/policies
Example HTTP response
Response 200
[ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"users" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"userGroups" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
} ]
3.11.3. Get available resources
GET /policies/resources
Description
Gets the available resources that support access/authorization policies
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< Resource > array |
401 |
Client could not be authenticated. |
No Content |
403 |
Client is not authorized to make this request. |
No Content |
Consumes
-
/
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/policies/resources
Example HTTP response
Response 200
[ {
"identifier" : "string",
"name" : "string"
} ]
3.11.4. Get access policy for resource
GET /policies/{action}/{resource}
Description
Gets an access policy for the specified action and resource
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
action |
The request action. |
enum (read, write, delete) |
Path |
resource |
The resource of the policy. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/policies/string/string
Example HTTP response
Response 200
{
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"users" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"userGroups" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
}
3.11.5. Get access policy
GET /policies/{id}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
id |
The access policy id. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/policies/string
Example HTTP response
Response 200
{
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"users" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"userGroups" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
}
3.11.6. Update access policy
PUT /policies/{id}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
id |
The access policy id. |
string |
Body |
body |
The access policy configuration details. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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. The NiFi Registry might not be configured to use a ConfigurableAccessPolicyProvider. |
No Content |
Consumes
-
application/json
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/policies/string
Request body
{
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"users" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"userGroups" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
}
Example HTTP response
Response 200
{
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"users" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"userGroups" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
}
3.11.7. Delete access policy
DELETE /policies/{id}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
id |
The access policy id. |
string |
Query |
clientId |
If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response. |
string |
Query |
version |
The version is used to verify the client is working with the latest version of the entity. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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. The NiFi Registry might not be configured to use a ConfigurableAccessPolicyProvider. |
No Content |
Consumes
-
/
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/policies/string
Request query
{
"clientId" : "string",
"version" : "string"
}
Example HTTP response
Response 200
{
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"users" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"userGroups" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
}
3.12. Tenants
Endpoint for managing users and user groups.
3.12.1. Create user group
POST /tenants/user-groups
Description
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
body |
The user group configuration details. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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
-
application/json
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/tenants/user-groups
Request body
{
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"users" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
}
Example HTTP response
Response 200
{
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"users" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
}
3.12.2. Get user groups
GET /tenants/user-groups
Description
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< UserGroup > array |
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 |
Example HTTP request
Request path
/tenants/user-groups
Example HTTP response
Response 200
[ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"users" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
} ]
3.12.3. Get user group
GET /tenants/user-groups/{id}
Description
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
id |
The user group id. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/tenants/user-groups/string
Example HTTP response
Response 200
{
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"users" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
}
3.12.4. Update user group
PUT /tenants/user-groups/{id}
Description
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
id |
The user group id. |
string |
Body |
body |
The user group configuration details. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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
-
application/json
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/tenants/user-groups/string
Request body
{
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"users" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
}
Example HTTP response
Response 200
{
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"users" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
}
3.12.5. Delete user group
DELETE /tenants/user-groups/{id}
Description
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
id |
The user group id. |
string |
Query |
clientId |
If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response. |
string |
Query |
version |
The version is used to verify the client is working with the latest version of the entity. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/tenants/user-groups/string
Request query
{
"clientId" : "string",
"version" : "string"
}
Example HTTP response
Response 200
{
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"users" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
}
3.12.6. Create user
POST /tenants/users
Description
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
body |
The user configuration details. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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
-
application/json
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/tenants/users
Request body
{
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"userGroups" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
}
Example HTTP response
Response 200
{
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"userGroups" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
}
3.12.7. Get all users
GET /tenants/users
Description
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< User > array |
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 |
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 |
Example HTTP request
Request path
/tenants/users
Example HTTP response
Response 200
[ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"userGroups" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
} ]
3.12.8. Get user
GET /tenants/users/{id}
Description
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
id |
The user id. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/tenants/users/string
Example HTTP response
Response 200
{
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"userGroups" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
}
3.12.9. Update user
PUT /tenants/users/{id}
Description
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
id |
The user id. |
string |
Body |
body |
The user configuration details. |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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
-
application/json
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Example HTTP request
Request path
/tenants/users/string
Request body
{
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"userGroups" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
}
Example HTTP response
Response 200
{
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"userGroups" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
}
3.12.10. Delete user
DELETE /tenants/users/{id}
Description
Note
|
This endpoint is subject to change as NiFi Registry and its REST API evolve. |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
id |
The user id. |
string |
Query |
clientId |
If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response. |
string |
Query |
version |
The version is used to verify the client is working with the latest version of the entity. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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 |
Example HTTP request
Request path
/tenants/users/string
Request query
{
"clientId" : "string",
"version" : "string"
}
Example HTTP response
Response 200
{
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
},
"userGroups" : [ {
"identifier" : "string",
"identity" : "string",
"configurable" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
},
"accessPolicies" : [ {
"identifier" : "string",
"resource" : "string",
"action" : "string",
"configurable" : true,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ],
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]
}
4. Definitions
4.1. AccessPolicy
Name | Description | Schema |
---|---|---|
action |
The action associated with this access policy. |
enum (read, write, delete) |
configurable |
Indicates if this access policy is configurable, based on which Authorizer has been configured to manage it. |
boolean |
identifier |
The id of the policy. Set by server at creation time. |
string |
resource |
The resource for this access policy. |
string |
revision |
The revision of this entity used for optimistic-locking during updates. |
|
userGroups |
The set of user group IDs associated with this access policy. |
< Tenant > array |
users |
The set of user IDs associated with this access policy. |
< Tenant > array |
4.2. AccessPolicySummary
Name | Description | Schema |
---|---|---|
action |
The action associated with this access policy. |
enum (read, write, delete) |
configurable |
Indicates if this access policy is configurable, based on which Authorizer has been configured to manage it. |
boolean |
identifier |
The id of the policy. Set by server at creation time. |
string |
resource |
The resource for this access policy. |
string |
revision |
The revision of this entity used for optimistic-locking during updates. |
4.3. AllowableValue
Name | Description | Schema |
---|---|---|
description |
The description of the allowable value |
string |
displayName |
The display name of the allowable value |
string |
value |
The value of the allowable value |
string |
4.4. Attribute
Name | Description | Schema |
---|---|---|
description |
The description of the attribute |
string |
name |
The name of the attribute |
string |
4.5. BatchSize
Name | Description | Schema |
---|---|---|
count |
Preferred number of flow files to include in a transaction. |
integer (int32) |
duration |
Preferred amount of time that a transaction should span. |
string |
size |
Preferred number of bytes to include in a transaction. |
string |
4.6. Bucket
Name | Description | Schema |
---|---|---|
allowBundleRedeploy |
Indicates if this bucket allows the same version of an extension bundle to be redeployed and thus overwrite the existing artifact. By default this is false. |
boolean |
allowPublicRead |
Indicates if this bucket allows read access to unauthenticated anonymous users |
boolean |
createdTimestamp |
The timestamp of when the bucket was first created. This is set by the server at creation time. |
integer (int64) |
description |
A description of the bucket. |
string |
identifier |
An ID to uniquely identify this object. |
string |
link |
An WebLink to this entity. |
|
name |
The name of the bucket. |
string |
permissions |
The access that the current user has to this bucket. |
|
revision |
The revision of this entity used for optimistic-locking during updates. |
4.7. BucketItem
Name | Description | Schema |
---|---|---|
bucketIdentifier |
The identifier of the bucket this items belongs to. This cannot be changed after the item is created. |
string |
bucketName |
The name of the bucket this items belongs to. |
string |
createdTimestamp |
The timestamp of when the item was created, as milliseconds since epoch. |
integer (int64) |
description |
A description of the item. |
string |
identifier |
An ID to uniquely identify this object. |
string |
link |
An WebLink to this entity. |
|
modifiedTimestamp |
The timestamp of when the item was last modified, as milliseconds since epoch. |
integer (int64) |
name |
The name of the item. |
string |
permissions |
The access that the current user has to the bucket containing this item. |
|
type |
The type of item. |
enum (Flow, Bundle) |
4.8. BuildInfo
Name | Description | Schema |
---|---|---|
buildBranch |
The branch used to build the version of the bundle |
string |
buildFlags |
The flags used to build the version of the bundle |
string |
buildRevision |
The revision used to build the version of the bundle |
string |
buildTag |
The tag used to build the version of the bundle |
string |
buildTool |
The tool used to build the version of the bundle |
string |
built |
The timestamp the version of the bundle was built |
integer (int64) |
builtBy |
The identity of the user that performed the build |
string |
4.9. Bundle
Name | Description | Schema |
---|---|---|
artifact |
The artifact of the bundle |
string |
group |
The group of the bundle |
string |
version |
The version of the bundle |
string |
4.10. BundleInfo
Name | Description | Schema |
---|---|---|
artifactId |
The artifact id of the bundle |
string |
bucketId |
The id of the bucket where the bundle is located |
string |
bucketName |
The name of the bucket where the bundle is located |
string |
bundleId |
The id of the bundle |
string |
bundleType |
The type of bundle (i.e. a NiFi NAR vs MiNiFi CPP) |
enum (NIFI_NAR, MINIFI_CPP) |
groupId |
The group id of the bundle |
string |
systemApiVersion |
The version of the system API the bundle was built against |
string |
version |
The version of the bundle |
string |
4.11. BundleVersion
Name | Description | Schema |
---|---|---|
bucket |
The bucket that the extension bundle belongs to |
|
bundle |
The bundle this version is for |
|
dependencies |
The set of other bundle versions that this version is dependent on |
< BundleVersionDependency > array |
filename |
Example : |
string |
link |
An WebLink to this entity. |
|
versionMetadata |
The metadata about this version of the extension bundle |
4.12. BundleVersionDependency
Name | Description | Schema |
---|---|---|
artifactId |
The artifact id of the bundle dependency |
string |
groupId |
The group id of the bundle dependency |
string |
version |
The version of the bundle dependency |
string |
4.13. BundleVersionMetadata
Name | Description | Schema |
---|---|---|
artifactId |
Example : |
string |
author |
The identity that created this version |
string |
bucketId |
The id of the bucket the extension bundle belongs to |
string |
buildInfo |
The build information about this version |
|
bundleId |
The id of the extension bundle this version is for |
string |
contentSize |
The size of the binary content for this version in bytes |
integer (int64) |
description |
The description for this version |
string |
groupId |
Example : |
string |
id |
The id of this version of the extension bundle |
string |
link |
An WebLink to this entity. |
|
sha256 |
The hex representation of the SHA-256 digest of the binary content for this version |
string |
sha256Supplied |
Whether or not the client supplied a SHA-256 when uploading the bundle |
boolean |
systemApiVersion |
The version of the system API that this bundle version was built against |
string |
timestamp |
The timestamp of the create date of this version |
integer (int64) |
version |
The version of the extension bundle |
string |
4.14. ComponentDifference
Name | Description | Schema |
---|---|---|
changeDescription |
The description of the change. |
string |
differenceType |
The key to the difference. |
string |
differenceTypeDescription |
The description of the change type. |
string |
valueA |
The earlier value from the difference. |
string |
valueB |
The newer value from the difference. |
string |
4.15. ComponentDifferenceGroup
Name | Description | Schema |
---|---|---|
componentId |
The id of the component whose changes are grouped together. |
string |
componentName |
The name of the component whose changes are grouped together. |
string |
componentType |
The type of component these changes relate to. |
string |
differences |
The list of changes related to this component between the 2 versions. |
< ComponentDifference > array |
processGroupId |
The process group id for this component. |
string |
4.16. ConnectableComponent
Name | Description | Schema |
---|---|---|
comments |
The comments for the connectable component. |
string |
groupId |
The id of the group that the connectable component resides in |
string |
id |
The id of the connectable component. |
string |
name |
The name of the connectable component |
string |
type |
The type of component the connectable is. |
enum (PROCESSOR, REMOTE_INPUT_PORT, REMOTE_OUTPUT_PORT, INPUT_PORT, OUTPUT_PORT, FUNNEL) |
4.17. ControllerServiceAPI
Name | Description | Schema |
---|---|---|
bundle |
The details of the artifact that bundled this service interface. |
|
type |
The fully qualified name of the service interface. |
string |
4.18. ControllerServiceDefinition
Name | Description | Schema |
---|---|---|
artifactId |
The artifact id of the service API |
string |
className |
The class name of the service API |
string |
groupId |
The group id of the service API |
string |
version |
The version of the service API |
string |
4.19. CurrentUser
Name | Description | Schema |
---|---|---|
anonymous |
Indicates if the current user is anonymous |
boolean |
identity |
The identity of the current user |
string |
loginSupported |
Indicates if the NiFi Registry instance supports logging in |
boolean |
oidcloginSupported |
Indicates if the NiFi Registry instance supports logging in with an OIDC provider |
boolean |
resourcePermissions |
The access that the current user has to top level resources |
4.20. DeprecationNotice
Name | Description | Schema |
---|---|---|
alternatives |
The alternatives to use |
< string > array |
reason |
The reason for the deprecation |
string |
4.21. DynamicProperty
Name | Description | Schema |
---|---|---|
description |
The description of the dynamic property |
string |
expressionLanguageScope |
The scope of the expression language support |
enum (NONE, VARIABLE_REGISTRY, FLOWFILE_ATTRIBUTES) |
expressionLanguageSupported |
Whether or not expression language is supported |
boolean |
name |
The description of the dynamic property name |
string |
value |
The description of the dynamic property value |
string |
4.22. DynamicRelationship
Name | Description | Schema |
---|---|---|
description |
The description of the dynamic relationship |
string |
name |
The description of the dynamic relationship name |
string |
4.23. Extension
Name | Description | Schema |
---|---|---|
deprecationNotice |
The deprecation notice of the extension |
|
description |
The description of the extension |
string |
dynamicProperties |
The dynamic properties of the extension |
< DynamicProperty > array |
dynamicRelationship |
The dynamic relationships of the extension |
|
inputRequirement |
The input requirement of the extension |
enum (INPUT_REQUIRED, INPUT_ALLOWED, INPUT_FORBIDDEN) |
name |
The name of the extension |
string |
properties |
The properties of the extension |
< Property > array |
providedServiceAPIs |
The service APIs provided by this extension |
< ProvidedServiceAPI > array |
readsAttributes |
The attributes read from flow files by the extension |
< Attribute > array |
relationships |
The relationships of the extension |
< Relationship > array |
restricted |
The restrictions of the extension |
|
seeAlso |
The names of other extensions to see |
< string > array |
stateful |
The information about how the extension stores state |
|
systemResourceConsiderations |
The resource considerations of the extension |
< SystemResourceConsideration > array |
tags |
The tags of the extension |
< string > array |
type |
The type of the extension |
enum (PROCESSOR, CONTROLLER_SERVICE, REPORTING_TASK) |
writesAttributes |
The attributes written to flow files by the extension |
< Attribute > array |
4.24. ExtensionBundle
Name | Description | Schema |
---|---|---|
artifactId |
The artifact id of the extension bundle |
string |
bucketIdentifier |
The identifier of the bucket this items belongs to. This cannot be changed after the item is created. |
string |
bucketName |
The name of the bucket this items belongs to. |
string |
bundleType |
The type of the extension bundle |
enum (NIFI_NAR, MINIFI_CPP) |
createdTimestamp |
The timestamp of when the item was created, as milliseconds since epoch. |
integer (int64) |
description |
A description of the item. |
string |
groupId |
The group id of the extension bundle |
string |
identifier |
An ID to uniquely identify this object. |
string |
link |
An WebLink to this entity. |
|
modifiedTimestamp |
The timestamp of when the item was last modified, as milliseconds since epoch. |
integer (int64) |
name |
The name of the item. |
string |
permissions |
The access that the current user has to the bucket containing this item. |
|
type |
The type of item. |
enum (Flow, Bundle) |
versionCount |
The number of versions of this extension bundle. |
integer (int64) |
4.25. ExtensionFilterParams
Name | Description | Schema |
---|---|---|
bundleType |
The type of bundle |
enum (NIFI_NAR, MINIFI_CPP) |
extensionType |
The type of extension |
enum (PROCESSOR, CONTROLLER_SERVICE, REPORTING_TASK) |
tags |
The tags |
< string > array |
4.26. ExtensionMetadata
Name | Description | Schema |
---|---|---|
bundleInfo |
The information for the bundle where this extension is located |
|
deprecationNotice |
The deprecation notice of the extension |
|
description |
The description of the extension |
string |
displayName |
The display name of the extension |
string |
hasAdditionalDetails |
Whether or not the extension has additional detail documentation |
boolean |
link |
An WebLink to this entity. |
|
linkDocs |
A WebLink to the documentation for this extension. |
|
name |
The name of the extension |
string |
providedServiceAPIs |
The service APIs provided by the extension |
< ProvidedServiceAPI > array |
restricted |
The restrictions of the extension |
|
tags |
The tags of the extension |
< string > array |
type |
The type of the extension |
enum (PROCESSOR, CONTROLLER_SERVICE, REPORTING_TASK) |
4.27. ExtensionMetadataContainer
Name | Description | Schema |
---|---|---|
extensions |
The metadata for the extensions |
< ExtensionMetadata > array |
filterParams |
The filter parameters submitted for the request |
|
numResults |
The number of extensions in the response |
integer (int32) |
4.28. ExtensionRepoArtifact
Name | Description | Schema |
---|---|---|
artifactId |
The artifact id |
string |
bucketName |
The bucket name |
string |
groupId |
The group id |
string |
link |
An WebLink to this entity. |
4.29. ExtensionRepoBucket
Name | Description | Schema |
---|---|---|
bucketName |
The name of the bucket |
string |
link |
An WebLink to this entity. |
4.30. ExtensionRepoGroup
Name | Description | Schema |
---|---|---|
bucketName |
The bucket name |
string |
groupId |
The group id |
string |
link |
An WebLink to this entity. |
4.31. ExtensionRepoVersion
Name | Description | Schema |
---|---|---|
downloadLink |
The WebLink to download this version of the extension bundle. |
|
extensionsLink |
The WebLink to view the metadata about the extensions contained in the extension bundle. |
|
sha256Link |
The WebLink to retrieve the SHA-256 digest for this version of the extension bundle. |
|
sha256Supplied |
Indicates if the client supplied a SHA-256 when uploading this version of the extension bundle. |
4.32. ExtensionRepoVersionSummary
Name | Description | Schema |
---|---|---|
artifactId |
The artifact id |
string |
author |
The identity of the user that created this version |
string |
bucketName |
The bucket name |
string |
groupId |
The group id |
string |
link |
An WebLink to this entity. |
|
timestamp |
The timestamp of when this version was created |
integer (int64) |
version |
The version |
string |
4.33. ExternalControllerServiceReference
Name | Description | Schema |
---|---|---|
identifier |
The identifier of the controller service |
string |
name |
The name of the controller service |
string |
4.34. Fields
Name | Description | Schema |
---|---|---|
fields |
Example : |
< string > array |
4.35. JaxbLink
Name | Description | Schema |
---|---|---|
href |
The href for the link |
string (uri) |
params |
The params for the link |
< string, string > map |
4.36. Permissions
Name | Description | Schema |
---|---|---|
canDelete |
Indicates whether the user can delete a given resource. |
boolean |
canRead |
Indicates whether the user can read a given resource. |
boolean |
canWrite |
Indicates whether the user can write a given resource. |
boolean |
4.37. Position
The position of a component on the graph
Name | Description | Schema |
---|---|---|
x |
The x coordinate. |
number (double) |
y |
The y coordinate. |
number (double) |
4.38. Property
Name | Description | Schema |
---|---|---|
allowableValues |
The allowable values for this property |
< AllowableValue > array |
controllerServiceDefinition |
The controller service required by this property, or null if none is required |
|
defaultValue |
The default value |
string |
description |
The description |
string |
displayName |
The display name |
string |
dynamic |
Whether or not the processor is dynamic |
boolean |
dynamicallyModifiesClasspath |
Whether or not the processor dynamically modifies the classpath |
boolean |
expressionLanguageScope |
The scope of expression language support |
enum (NONE, VARIABLE_REGISTRY, FLOWFILE_ATTRIBUTES) |
expressionLanguageSupported |
Whether or not expression language is supported |
boolean |
name |
The name of the property |
string |
required |
Whether or not the property is required |
boolean |
sensitive |
Whether or not the property is sensitive |
boolean |
4.39. ProvidedServiceAPI
Name | Description | Schema |
---|---|---|
artifactId |
The artifact id of the service API being provided |
string |
className |
The class name of the service API being provided |
string |
groupId |
The group id of the service API being provided |
string |
version |
The version of the service API being provided |
string |
4.40. RegistryConfiguration
Name | Description | Schema |
---|---|---|
supportsConfigurableAuthorizer |
Whether this NiFi Registry supports a configurable authorizer. |
boolean |
supportsConfigurableUsersAndGroups |
Whether this NiFi Registry supports configurable users and groups. |
boolean |
supportsManagedAuthorizer |
Whether this NiFi Registry supports a managed authorizer. Managed authorizers can visualize users, groups, and policies in the UI. |
boolean |
4.41. Relationship
Name | Description | Schema |
---|---|---|
autoTerminated |
Whether or not the relationship is auto-terminated by default |
boolean |
description |
The description of the relationship |
string |
name |
The name of the relationship |
string |
4.42. Resource
Name | Description | Schema |
---|---|---|
identifier |
The identifier of the resource. |
string |
name |
The name of the resource. |
string |
4.43. ResourcePermissions
Name | Description | Schema |
---|---|---|
anyTopLevelResource |
The access that the current user has to any top level resources (a logical 'OR' of all other values) |
|
buckets |
The access that the current user has to the top level /buckets resource of this NiFi Registry (i.e., access to all buckets) |
|
policies |
The access that the current user has to the top level /policies resource of this NiFi Registry |
|
proxy |
The access that the current user has to the top level /proxy resource of this NiFi Registry |
|
tenants |
The access that the current user has to the top level /tenants resource of this NiFi Registry |
4.44. Restricted
Name | Description | Schema |
---|---|---|
generalRestrictionExplanation |
The general restriction for the extension, or null if only specific restrictions exist |
string |
restrictions |
The specific restrictions |
< Restriction > array |
4.45. Restriction
Name | Description | Schema |
---|---|---|
explanation |
The explanation of this restriction |
string |
requiredPermission |
The permission required for this restriction |
string |
4.46. RevisionInfo
The revision information for an entity managed through the REST API.
Name | Description | Schema |
---|---|---|
clientId |
A client identifier used to make a request. By including a client identifier, the API can allow multiple requests without needing the current revision. Due to the asynchronous nature of requests/responses this was implemented to allow the client to make numerous requests without having to wait for the previous response to come back. |
string |
lastModifier |
The user that last modified the entity. |
string |
version |
NiFi Registry employs an optimistic locking strategy where the client must include a revision in their request when performing an update. In a response to a mutable flow request, this field represents the updated base version. |
integer (int64) |
4.47. Stateful
Name | Description | Schema |
---|---|---|
description |
The description for how the extension stores state |
string |
scopes |
The scopes used to store state |
< enum (CLUSTER, LOCAL) > array |
4.48. SystemResourceConsideration
Name | Description | Schema |
---|---|---|
description |
The description of how the resource is affected |
string |
resource |
The resource to consider |
string |
4.49. TagCount
Name | Description | Schema |
---|---|---|
count |
The number of occurrences of the given tag |
integer (int32) |
tag |
The tag label |
string |
4.50. Tenant
Name | Description | Schema |
---|---|---|
accessPolicies |
The access policies granted to this tenant. |
< AccessPolicySummary > array |
configurable |
Indicates if this tenant is configurable, based on which UserGroupProvider has been configured to manage it. |
boolean |
identifier |
The computer-generated identifier of the tenant. |
string |
identity |
The human-facing identity of the tenant. This can only be changed if the tenant is configurable. |
string |
resourcePermissions |
A summary top-level resource access policies granted to this tenant. |
|
revision |
The revision of this entity used for optimistic-locking during updates. |
4.51. User
Name | Description | Schema |
---|---|---|
accessPolicies |
The access policies granted to this tenant. |
< AccessPolicySummary > array |
configurable |
Indicates if this tenant is configurable, based on which UserGroupProvider has been configured to manage it. |
boolean |
identifier |
The computer-generated identifier of the tenant. |
string |
identity |
The human-facing identity of the tenant. This can only be changed if the tenant is configurable. |
string |
resourcePermissions |
A summary top-level resource access policies granted to this tenant. |
|
revision |
The revision of this entity used for optimistic-locking during updates. |
|
userGroups |
The groups to which the user belongs. |
< Tenant > array |
4.52. UserGroup
Name | Description | Schema |
---|---|---|
accessPolicies |
The access policies granted to this tenant. |
< AccessPolicySummary > array |
configurable |
Indicates if this tenant is configurable, based on which UserGroupProvider has been configured to manage it. |
boolean |
identifier |
The computer-generated identifier of the tenant. |
string |
identity |
The human-facing identity of the tenant. This can only be changed if the tenant is configurable. |
string |
resourcePermissions |
A summary top-level resource access policies granted to this tenant. |
|
revision |
The revision of this entity used for optimistic-locking during updates. |
|
users |
The users that belong to this user group. This can only be changed if this group is configurable. |
< Tenant > array |
4.53. VersionedConnection
Name | Description | Schema |
---|---|---|
backPressureDataSizeThreshold |
The object data size threshold for determining when back pressure is applied. Updating this value is a passive change in the sense that it won’t impact whether existing files over the limit are affected but it does help feeder processors to stop pushing too much into this work queue. |
string |
backPressureObjectThreshold |
The object count threshold for determining when back pressure is applied. Updating this value is a passive change in the sense that it won’t impact whether existing files over the limit are affected but it does help feeder processors to stop pushing too much into this work queue. |
integer (int64) |
bends |
The bend points on the connection. |
< Position > array |
comments |
The user-supplied comments for the component |
string |
componentType |
Example : |
enum (CONNECTION, PROCESSOR, PROCESS_GROUP, REMOTE_PROCESS_GROUP, INPUT_PORT, OUTPUT_PORT, REMOTE_INPUT_PORT, REMOTE_OUTPUT_PORT, FUNNEL, LABEL, CONTROLLER_SERVICE) |
destination |
The destination of the connection. |
|
flowFileExpiration |
The amount of time a flow file may be in the flow before it will be automatically aged out of the flow. Once a flow file reaches this age it will be terminated from the flow the next time a processor attempts to start work on it. |
string |
groupIdentifier |
The ID of the Process Group that this component belongs to |
string |
identifier |
The component’s unique identifier |
string |
labelIndex |
The index of the bend point where to place the connection label. |
integer (int32) |
loadBalanceCompression |
Whether or not compression should be used when transferring FlowFiles between nodes |
enum (DO_NOT_COMPRESS, COMPRESS_ATTRIBUTES_ONLY, COMPRESS_ATTRIBUTES_AND_CONTENT) |
loadBalanceStrategy |
The Strategy to use for load balancing data across the cluster, or null, if no Load Balance Strategy has been specified. |
enum (DO_NOT_LOAD_BALANCE, PARTITION_BY_ATTRIBUTE, ROUND_ROBIN, SINGLE_NODE) |
name |
The component’s name |
string |
partitioningAttribute |
The attribute to use for partitioning data as it is load balanced across the cluster. If the Load Balance Strategy is configured to use PARTITION_BY_ATTRIBUTE, the value returned by this method is the name of the FlowFile Attribute that will be used to determine which node in the cluster should receive a given FlowFile. If the Load Balance Strategy is unset or is set to any other value, the Partitioning Attribute has no effect. |
string |
position |
The component’s position on the graph |
|
prioritizers |
The comparators used to prioritize the queue. |
< string > array |
selectedRelationships |
The selected relationship that comprise the connection. |
< string > array |
source |
The source of the connection. |
|
zIndex |
The z index of the connection. |
integer (int64) |
4.54. VersionedControllerService
Name | Description | Schema |
---|---|---|
annotationData |
The annotation for the controller service. This is how the custom UI relays configuration to the controller service. |
string |
bundle |
The details of the artifact that bundled this processor type. |
|
comments |
The user-supplied comments for the component |
string |
componentType |
Example : |
enum (CONNECTION, PROCESSOR, PROCESS_GROUP, REMOTE_PROCESS_GROUP, INPUT_PORT, OUTPUT_PORT, REMOTE_INPUT_PORT, REMOTE_OUTPUT_PORT, FUNNEL, LABEL, CONTROLLER_SERVICE) |
controllerServiceApis |
Lists the APIs this Controller Service implements. |
< ControllerServiceAPI > array |
groupIdentifier |
The ID of the Process Group that this component belongs to |
string |
identifier |
The component’s unique identifier |
string |
name |
The component’s name |
string |
position |
The component’s position on the graph |
|
properties |
The properties of the controller service. |
< string, string > map |
propertyDescriptors |
The property descriptors for the processor. |
< string, VersionedPropertyDescriptor > map |
type |
The type of the controller service. |
string |
4.55. VersionedFlow
Name | Description | Schema |
---|---|---|
bucketIdentifier |
The identifier of the bucket this items belongs to. This cannot be changed after the item is created. |
string |
bucketName |
The name of the bucket this items belongs to. |
string |
createdTimestamp |
The timestamp of when the item was created, as milliseconds since epoch. |
integer (int64) |
description |
A description of the item. |
string |
identifier |
An ID to uniquely identify this object. |
string |
link |
An WebLink to this entity. |
|
modifiedTimestamp |
The timestamp of when the item was last modified, as milliseconds since epoch. |
integer (int64) |
name |
The name of the item. |
string |
permissions |
The access that the current user has to the bucket containing this item. |
|
revision |
The revision of this entity used for optimistic-locking during updates. |
|
type |
The type of item. |
enum (Flow, Bundle) |
versionCount |
The number of versions of this flow. |
integer (int64) |
4.56. VersionedFlowCoordinates
Name | Description | Schema |
---|---|---|
bucketId |
The UUID of the bucket that the flow resides in |
string |
flowId |
The UUID of the flow |
string |
latest |
Whether or not these coordinates point to the latest version of the flow |
boolean |
registryUrl |
The URL of the Flow Registry that contains the flow |
string |
version |
The version of the flow |
integer (int32) |
4.57. VersionedFlowDifference
Name | Description | Schema |
---|---|---|
bucketId |
The id of the bucket that the flow is stored in. |
string |
componentDifferenceGroups |
Example : |
< ComponentDifferenceGroup > array |
flowId |
The id of the flow that is being examined. |
string |
versionA |
The earlier version from the diff operation. |
integer (int32) |
versionB |
The latter version from the diff operation. |
integer (int32) |
4.58. VersionedFlowSnapshot
Name | Description | Schema |
---|---|---|
bucket |
The bucket where the flow is located |
|
externalControllerServices |
The information about controller services that exist outside this versioned flow, but are referenced by components within the versioned flow. |
< string, ExternalControllerServiceReference > map |
flow |
The flow this snapshot is for |
|
flowContents |
The contents of the versioned flow |
|
flowEncodingVersion |
The optional encoding version of the flow contents. |
string |
latest |
Example : |
boolean |
parameterContexts |
The parameter contexts referenced by process groups in the flow contents. The mapping is from the name of the context to the context instance, and it is expected that any context in this map is referenced by at least one process group in this flow. |
< string, VersionedParameterContext > map |
snapshotMetadata |
The metadata for this snapshot |
4.59. VersionedFlowSnapshotMetadata
Name | Description | Schema |
---|---|---|
author |
The user that created this snapshot of the flow. |
string |
bucketIdentifier |
The identifier of the bucket this snapshot belongs to. |
string |
comments |
The comments provided by the user when creating the snapshot. |
string |
flowIdentifier |
The identifier of the flow this snapshot belongs to. |
string |
link |
An WebLink to this entity. |
|
timestamp |
The timestamp when the flow was saved, as milliseconds since epoch. |
integer (int64) |
version |
The version of this snapshot of the flow. |
integer (int32) |
4.60. VersionedFunnel
Name | Description | Schema |
---|---|---|
comments |
The user-supplied comments for the component |
string |
componentType |
Example : |
enum (CONNECTION, PROCESSOR, PROCESS_GROUP, REMOTE_PROCESS_GROUP, INPUT_PORT, OUTPUT_PORT, REMOTE_INPUT_PORT, REMOTE_OUTPUT_PORT, FUNNEL, LABEL, CONTROLLER_SERVICE) |
groupIdentifier |
The ID of the Process Group that this component belongs to |
string |
identifier |
The component’s unique identifier |
string |
name |
The component’s name |
string |
position |
The component’s position on the graph |
4.61. VersionedLabel
Name | Description | Schema |
---|---|---|
comments |
The user-supplied comments for the component |
string |
componentType |
Example : |
enum (CONNECTION, PROCESSOR, PROCESS_GROUP, REMOTE_PROCESS_GROUP, INPUT_PORT, OUTPUT_PORT, REMOTE_INPUT_PORT, REMOTE_OUTPUT_PORT, FUNNEL, LABEL, CONTROLLER_SERVICE) |
groupIdentifier |
The ID of the Process Group that this component belongs to |
string |
height |
The height of the label in pixels when at a 1:1 scale. |
number (double) |
identifier |
The component’s unique identifier |
string |
label |
The text that appears in the label. |
string |
name |
The component’s name |
string |
position |
The component’s position on the graph |
|
style |
The styles for this label (font-size : 12px, background-color : #eee, etc). |
< string, string > map |
width |
The width of the label in pixels when at a 1:1 scale. |
number (double) |
4.62. VersionedParameter
Name | Description | Schema |
---|---|---|
description |
The description of the param |
string |
name |
The name of the parameter |
string |
sensitive |
Whether or not the parameter value is sensitive |
boolean |
value |
The value of the parameter |
string |
4.63. VersionedParameterContext
Name | Description | Schema |
---|---|---|
description |
The description of the parameter context |
string |
name |
The name of the context |
string |
parameters |
The parameters in the context |
< VersionedParameter > array |
4.64. VersionedPort
Name | Description | Schema |
---|---|---|
allowRemoteAccess |
Whether or not this port allows remote access for site-to-site |
boolean |
comments |
The user-supplied comments for the component |
string |
componentType |
Example : |
enum (CONNECTION, PROCESSOR, PROCESS_GROUP, REMOTE_PROCESS_GROUP, INPUT_PORT, OUTPUT_PORT, REMOTE_INPUT_PORT, REMOTE_OUTPUT_PORT, FUNNEL, LABEL, CONTROLLER_SERVICE) |
concurrentlySchedulableTaskCount |
The number of tasks that should be concurrently scheduled for the port. |
integer (int32) |
groupIdentifier |
The ID of the Process Group that this component belongs to |
string |
identifier |
The component’s unique identifier |
string |
name |
The component’s name |
string |
position |
The component’s position on the graph |
|
scheduledState |
The scheduled state of the component |
enum (ENABLED, DISABLED) |
type |
The type of port. |
enum (INPUT_PORT, OUTPUT_PORT) |
4.65. VersionedProcessGroup
Name | Description | Schema |
---|---|---|
comments |
The user-supplied comments for the component |
string |
componentType |
Example : |
enum (CONNECTION, PROCESSOR, PROCESS_GROUP, REMOTE_PROCESS_GROUP, INPUT_PORT, OUTPUT_PORT, REMOTE_INPUT_PORT, REMOTE_OUTPUT_PORT, FUNNEL, LABEL, CONTROLLER_SERVICE) |
connections |
The Connections |
< VersionedConnection > array |
controllerServices |
The Controller Services |
< VersionedControllerService > array |
flowFileConcurrency |
The configured FlowFile Concurrency for the Process Group |
string |
flowFileOutboundPolicy |
The FlowFile Outbound Policy for the Process Group |
string |
funnels |
The Funnels |
< VersionedFunnel > array |
groupIdentifier |
The ID of the Process Group that this component belongs to |
string |
identifier |
The component’s unique identifier |
string |
inputPorts |
The Input Ports |
< VersionedPort > array |
labels |
The Labels |
< VersionedLabel > array |
name |
The component’s name |
string |
outputPorts |
The Output Ports |
< VersionedPort > array |
parameterContextName |
The name of the parameter context used by this process group |
string |
position |
The component’s position on the graph |
|
processGroups |
The child Process Groups |
< VersionedProcessGroup > array |
processors |
The Processors |
< VersionedProcessor > array |
remoteProcessGroups |
The Remote Process Groups |
< VersionedRemoteProcessGroup > array |
variables |
The Variables in the Variable Registry for this Process Group (not including any ancestor or descendant Process Groups) |
< string, string > map |
versionedFlowCoordinates |
The coordinates where the remote flow is stored, or null if the Process Group is not directly under Version Control |
4.66. VersionedProcessor
Name | Description | Schema |
---|---|---|
annotationData |
The annotation data for the processor used to relay configuration between a custom UI and the procesosr. |
string |
autoTerminatedRelationships |
The names of all relationships that cause a flow file to be terminated if the relationship is not connected elsewhere. This property differs from the 'isAutoTerminate' property of the RelationshipDTO in that the RelationshipDTO is meant to depict the current configuration, whereas this property can be set in a DTO when updating a Processor in order to change which Relationships should be auto-terminated. |
< string > array |
bulletinLevel |
The level at which the processor will report bulletins. |
string |
bundle |
Information about the bundle from which the component came |
|
comments |
The user-supplied comments for the component |
string |
componentType |
Example : |
enum (CONNECTION, PROCESSOR, PROCESS_GROUP, REMOTE_PROCESS_GROUP, INPUT_PORT, OUTPUT_PORT, REMOTE_INPUT_PORT, REMOTE_OUTPUT_PORT, FUNNEL, LABEL, CONTROLLER_SERVICE) |
concurrentlySchedulableTaskCount |
The number of tasks that should be concurrently schedule for the processor. If the processor doesn’t allow parallol processing then any positive input will be ignored. |
integer (int32) |
executionNode |
Indicates the node where the process will execute. |
string |
groupIdentifier |
The ID of the Process Group that this component belongs to |
string |
identifier |
The component’s unique identifier |
string |
name |
The component’s name |
string |
penaltyDuration |
The amout of time that is used when the process penalizes a flowfile. |
string |
position |
The component’s position on the graph |
|
properties |
The properties for the processor. Properties whose value is not set will only contain the property name. |
< string, string > map |
propertyDescriptors |
The property descriptors for the processor. |
< string, VersionedPropertyDescriptor > map |
runDurationMillis |
The run duration for the processor in milliseconds. |
integer (int64) |
scheduledState |
The scheduled state of the component |
enum (ENABLED, DISABLED) |
schedulingPeriod |
The frequency with which to schedule the processor. The format of the value will depend on th value of schedulingStrategy. |
string |
schedulingStrategy |
Indcates whether the prcessor should be scheduled to run in event or timer driven mode. |
string |
style |
Stylistic data for rendering in a UI |
< string, string > map |
type |
The type of Processor |
string |
yieldDuration |
The amount of time that must elapse before this processor is scheduled again after yielding. |
string |
4.67. VersionedPropertyDescriptor
Name | Description | Schema |
---|---|---|
displayName |
The display name of the property |
string |
identifiesControllerService |
Whether or not the property provides the identifier of a Controller Service |
boolean |
name |
The name of the property |
string |
sensitive |
Whether or not the property is considered sensitive |
boolean |
4.68. VersionedRemoteGroupPort
Name | Description | Schema |
---|---|---|
batchSize |
The batch settings for data transmission. |
|
comments |
The user-supplied comments for the component |
string |
componentType |
Example : |
enum (CONNECTION, PROCESSOR, PROCESS_GROUP, REMOTE_PROCESS_GROUP, INPUT_PORT, OUTPUT_PORT, REMOTE_INPUT_PORT, REMOTE_OUTPUT_PORT, FUNNEL, LABEL, CONTROLLER_SERVICE) |
concurrentlySchedulableTaskCount |
The number of task that may transmit flowfiles to the target port concurrently. |
integer (int32) |
groupIdentifier |
The ID of the Process Group that this component belongs to |
string |
identifier |
The component’s unique identifier |
string |
name |
The component’s name |
string |
position |
The component’s position on the graph |
|
remoteGroupId |
The id of the remote process group that the port resides in. |
string |
scheduledState |
The scheduled state of the component |
enum (ENABLED, DISABLED) |
targetId |
The ID of the port on the target NiFi instance |
string |
useCompression |
Whether the flowfiles are compressed when sent to the target port. |
boolean |
4.69. VersionedRemoteProcessGroup
Name | Description | Schema |
---|---|---|
comments |
The user-supplied comments for the component |
string |
communicationsTimeout |
The time period used for the timeout when communicating with the target. |
string |
componentType |
Example : |
enum (CONNECTION, PROCESSOR, PROCESS_GROUP, REMOTE_PROCESS_GROUP, INPUT_PORT, OUTPUT_PORT, REMOTE_INPUT_PORT, REMOTE_OUTPUT_PORT, FUNNEL, LABEL, CONTROLLER_SERVICE) |
groupIdentifier |
The ID of the Process Group that this component belongs to |
string |
identifier |
The component’s unique identifier |
string |
inputPorts |
A Set of Input Ports that can be connected to, in order to send data to the remote NiFi instance |
< VersionedRemoteGroupPort > array |
localNetworkInterface |
The local network interface to send/receive data. If not specified, any local address is used. If clustered, all nodes must have an interface with this identifier. |
string |
name |
The component’s name |
string |
outputPorts |
A Set of Output Ports that can be connected to, in order to pull data from the remote NiFi instance |
< VersionedRemoteGroupPort > array |
position |
The component’s position on the graph |
|
proxyHost |
Example : |
string |
proxyPort |
Example : |
integer (int32) |
proxyUser |
Example : |
string |
targetUri |
[DEPRECATED] The target URI of the remote process group. If target uri is not set, but uris are set, then returns the first uri in the uris. If neither target uri nor uris are set, then returns null. |
string |
targetUris |
The target URIs of the remote process group. If target uris is not set but target uri is set, then returns the single target uri. If neither target uris nor target uri is set, then returns null. |
string |
transportProtocol |
The Transport Protocol that is used for Site-to-Site communications |
enum (RAW, HTTP) |
yieldDuration |
When yielding, this amount of time must elapse before the remote process group is scheduled again. |
string |