If you click on any row in the list of operations it expands it and
shows the description of each field, which is where the description of
id field was that I referred to earlier.
On Fri, Sep 21, 2018 at 9:15 AM l vic <[email protected]> wrote:
>
> I can only see "id" in swagger doc, like the image attached, if i am missing 
> more verbose part I apologize
>
> On Thu, Sep 20, 2018 at 12:53 PM Bryan Bende <[email protected]> wrote:
>>
>> 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