Mailing list for everything connected with nodewatcher system (in English).

List archive Help


Re: [nodewatcher] Nodewatcher api: Top level nodes


Chronological Thread 
  • From: Jernej Kos < >
  • To:
  • Subject: Re: [nodewatcher] Nodewatcher api: Top level nodes
  • Date: Sun, 11 Jun 2017 14:09:38 +0200

Hello!

The filter has been added in the development branch. Note that the
codebase has also been migrated to Django 1.10, which was a major change.

Also note that this change has not yet been deployed to nodes, so in
order to have the filter, you will need to run your local nodewatcher
instance.


Jernej

On 11. 06. 2017 11:21, Jernej Kos wrote:
> Hello!
>
> I think such a filter by prefix length is currently not supported as we
> didn't use such filters anywhere. I'll add it and also for some other
> fields.
>
>
> Jernej
>
> On 11. 06. 2017 03:48, Ras wrote:
>> Hello!
>>
>> I am trying to write a nodewatcher pools api query that would return only
>> the top level nodes.
>> I tried by setting the prefix-length filter parameter to something like 16
>> For example:
>> https://nodes.wlan-si.net/api/v2/pool/ip/?format=json&prefix_length=17
>> But the nodes aren't filtered at all.
>>
>> How would one creating such a query?
>> Best wishes,
>> Ras
>>
>

Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.18.

Top of page