The REST API documentation [1] for the method you are using says:

Name    Location  Type      Description
id           path        string     The process group id.

[1] https://nifi.apache.org/docs/nifi-docs/rest-api/index.html
On Thu, Sep 20, 2018 at 12:49 PM l vic <[email protected]> wrote:
>
> yes, the "id" must actually be "groupId", then it works... As usual, Nifi 
> documentation is vague or misleading
>
> On Thu, Sep 20, 2018 at 12:38 PM Bryan Bende <[email protected]> wrote:
>>
>> That means there is no process group with the id you specified.
>> On Thu, Sep 20, 2018 at 12:36 PM l vic <[email protected]> wrote:
>> >
>> > yes, in this case i see another error:
>> >
>> > Unable to locate group with id 
>> > '46f95fe5-3024-31d8-0000-000000000000'.ma6219-mac:deploy
>> >
>> >
>> > On Thu, Sep 20, 2018 at 9:58 AM Bryan Bende <[email protected]> wrote:
>> >>
>> >> The URL you specified is not the correct path, it is missing 
>> >> "process-groups".
>> >>
>> >> http://10.10.100.105:8080/nifi-api/process-groups/f2ae3d20-e105-37a1-0000-000000000000/templates/upload
>> >> On Wed, Sep 19, 2018 at 4:17 PM l vic <[email protected]> wrote:
>> >> >
>> >> > Hi,
>> >> > I have template for the processing group "test-template.xml" with
>> >> > id=f2ae3d20-e105-37a1-0000-000000000000
>> >> > that I am trying to upload from my mac
>> >> >
>> >> > curl -iv -F [email protected] -X POST  
>> >> > http://10.10.100.105:8080/nifi-api/f2ae3d20-e105-37a1-0000-000000000000/templates/upload
>> >> >
>> >> >
>> >> > I see http error:
>> >> >
>> >> >
>> >> > The specified resource could not be found.ma6219-mac:deploy
>> >> >
>> >> >
>> >> > Any idea what the problem is with my command?
>> >> >
>> >> > Thanks ,
>> >> >
>> >> > -V

Reply via email to