Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.22 KB

README.md

File metadata and controls

28 lines (17 loc) · 1.22 KB
branch coveralls docs report card
main Coverage Status GoDoc Go Report Card

Autojoin API

List Nodes

The Autojoin API allows listing all known servers for various reasons:

Request Parameters

Node list operations use the same base url and supports multiple output formats.

Base: https://autojoin.measurementlab.net/autojoin/v0/node/list

Formats:

  • format=script-exporter - output format used by script-exporter.
  • format=prometheus - output format used by prometheus to scrape metrics.
  • format=servers - simple list known server names.
  • format=sites - simple list known site names.
  • org=<org> - limit results the given organization.

For example, a client could list all known sites associated with org "foo":

  • https://autojoin.measurementlab.net/autojoin/v0/node/list?format=sites&org=foo