Apache NiFi Registry REST API
REST API definition for Apache NiFi Registry web services
OpenAPI spec version: 2.6.0 Contact: dev@nifi.apache.org Generated by: https://github.com/swagger-api/swagger-codegen.git
- class nipyapi.registry.apis.tenants_api.TenantsApi(api_client=None)[source]
Bases:
objectNOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Ref: https://github.com/swagger-api/swagger-codegen
- create_user(body, **kwargs)[source]
Create user.
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
create_user_with_http_info()method instead.
- create_user_group(body, **kwargs)[source]
Create user group.
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
create_user_group_with_http_info()method instead.
- create_user_group_with_http_info(body, **kwargs)[source]
Create user group.
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
create_user_group()method instead.
- create_user_with_http_info(body, **kwargs)[source]
Create user.
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
create_user()method instead.
- get_user(id, **kwargs)[source]
Get user.
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
get_user_with_http_info()method instead.
- get_user_group(id, **kwargs)[source]
Get user group.
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
get_user_group_with_http_info()method instead.
- get_user_group_with_http_info(id, **kwargs)[source]
Get user group.
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
get_user_group()method instead.
- get_user_groups(**kwargs)[source]
Get user groups.
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
get_user_groups_with_http_info()method instead.Args:
- Returns:
The response data.
- Return type:
list[UserGroup]
- get_user_groups_with_http_info(**kwargs)[source]
Get user groups.
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
get_user_groups()method instead.Args:
- Returns:
(
list[UserGroup], status_code, headers) - Response data with HTTP details.- Return type:
- get_user_with_http_info(id, **kwargs)[source]
Get user.
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
get_user()method instead.
- get_users(**kwargs)[source]
Get all users.
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
get_users_with_http_info()method instead.Args:
- Returns:
The response data.
- Return type:
list[User]
- get_users_with_http_info(**kwargs)[source]
Get all users.
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
get_users()method instead.Args:
- Returns:
(
list[User], status_code, headers) - Response data with HTTP details.- Return type:
- remove_user(version, id, **kwargs)[source]
Delete user.
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
remove_user_with_http_info()method instead.- Parameters:
version (
LongParameter) – The version is used to verify the client is working with the latest version of the entity. (required)id (str) – The user id. (required)
client_id (
ClientIdParameter) – If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response.
- Returns:
The response data.
- Return type:
- remove_user_group(version, id, **kwargs)[source]
Delete user group.
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
remove_user_group_with_http_info()method instead.- Parameters:
version (
LongParameter) – The version is used to verify the client is working with the latest version of the entity. (required)id (str) – The user group id. (required)
client_id (
ClientIdParameter) – If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response.
- Returns:
The response data.
- Return type:
- remove_user_group_with_http_info(version, id, **kwargs)[source]
Delete user group.
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
remove_user_group()method instead.- Parameters:
version (
LongParameter) – The version is used to verify the client is working with the latest version of the entity. (required)id (str) – The user group id. (required)
client_id (
ClientIdParameter) – If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response.
- Returns:
(
UserGroup, status_code, headers) - Response data with HTTP details.- Return type:
- remove_user_with_http_info(version, id, **kwargs)[source]
Delete user.
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
remove_user()method instead.- Parameters:
version (
LongParameter) – The version is used to verify the client is working with the latest version of the entity. (required)id (str) – The user id. (required)
client_id (
ClientIdParameter) – If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response.
- Returns:
(
User, status_code, headers) - Response data with HTTP details.- Return type:
- update_user(body, id, **kwargs)[source]
Update user.
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
update_user_with_http_info()method instead.
- update_user_group(body, id, **kwargs)[source]
Update user group.
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
update_user_group_with_http_info()method instead.
- update_user_group_with_http_info(body, id, **kwargs)[source]
Update user group.
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
update_user_group()method instead.
- update_user_with_http_info(body, id, **kwargs)[source]
Update user.
NOTE: This endpoint is subject to change as NiFi Registry and its REST API evolve.
This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
update_user()method instead.