All URIs are relative to http://localhost/nifi-api
Method | HTTP request | Description |
---|---|---|
get_label | GET /labels/{id} | Gets a label |
remove_label | DELETE /labels/{id} | Deletes a label |
update_label | PUT /labels/{id} | Updates a label |
crate::models::LabelEntity get_label(id) Gets a label
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | String | The label id. | [required] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::LabelEntity remove_label(id, version, client_id, disconnected_node_acknowledged) Deletes a label
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | String | The label id. | [required] | |
version | Option<String> | The revision is used to verify the client is working with the latest version of the flow. | ||
client_id | Option<String> | If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response. | ||
disconnected_node_acknowledged | Option<bool> | Acknowledges that this node is disconnected to allow for mutable requests to proceed. | [default to false] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::LabelEntity update_label(id, body) Updates a label
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | String | The label id. | [required] | |
body | LabelEntity | The label configuration details. | [required] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]