From 20296d4a89465ac58bf5383d31180f04df7ef4b6 Mon Sep 17 00:00:00 2001 From: Kyle Havlovitz Date: Fri, 1 Sep 2017 12:34:27 -0700 Subject: [PATCH] Change segment list endpoint in docs/client api --- api/operator_segment.go | 2 +- website/source/api/operator/segment.html.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/operator_segment.go b/api/operator_segment.go index 432d55badd..92b05d3c03 100644 --- a/api/operator_segment.go +++ b/api/operator_segment.go @@ -3,7 +3,7 @@ package api // SegmentList returns all the available LAN segments. func (op *Operator) SegmentList(q *QueryOptions) ([]string, *QueryMeta, error) { var out []string - qm, err := op.c.query("/v1/operator/segment/list", &out, q) + qm, err := op.c.query("/v1/operator/segment", &out, q) if err != nil { return nil, nil, err } diff --git a/website/source/api/operator/segment.html.md b/website/source/api/operator/segment.html.md index 2c86152842..53a7e7848a 100644 --- a/website/source/api/operator/segment.html.md +++ b/website/source/api/operator/segment.html.md @@ -28,7 +28,7 @@ This endpoint lists all network areas. | Method | Path | Produces | | ------ | ---------------------------- | -------------------------- | -| `GET` | `/operator/segment/list` | `application/json` | +| `GET` | `/operator/segment` | `application/json` | The table below shows this endpoint's support for [blocking queries](/api/index.html#blocking-queries),