nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karthi keyan <karthi93.san...@gmail.com>
Subject Re: REST API approch
Date Tue, 03 May 2016 07:31:06 GMT
Ravisankar

Did you passed the "Processor Entity as json"  in the the Body(
application/json).

Since its optional entity in what scenario it expecting the XY coordinates
?

Then try with sample json to parse the configurations for the Processor.

Thanks,
Karthikeyan

On Tue, May 3, 2016 at 12:07 PM, Ravisankar Mani <rravimr@gmail.com> wrote:

> Hi All,
>
> I have tried to access the NiFi processor using Rest Api
>
> Reference
> https://nifi.apache.org/docs/nifi-docs/rest-api/
>
> In this case, i need to use already created template, so i will try the
> following API
>
> Syntax:
>
> POST
> /controller/process-groups/{process-group-id}/processors
>
> Creates a new processor
>
>
> Query:
>
>
> http://localhost:10004/nifi-api/controller/process-groups/6b7303af-3b79-4528-995c-e69146ba914b/processors
>
> But I have returned some errors when executing the API
>
> Error:
>
> "the position (x, y) must be specified"
>
> Please share the suggestion on this approach.
>
> Regards,
> Ravisankar
>

Mime
View raw message