Skip to content

Commit 501c3be

Browse files
authored
Merge pull request #663 from segmentio/repo-sync
repo sync
2 parents 2be2137 + 92a4b26 commit 501c3be

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

src/_data/sidenav/main.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -475,8 +475,13 @@ sections:
475475
title: Verifying Your Email Address
476476
- section_title: API
477477
section:
478-
- path: /api/public-api
479-
title: Public API
478+
- section_title: Public API
479+
slug: api/public-api
480+
section:
481+
- path: /api/public-api
482+
title: Public API
483+
- path: /api/public-api/fql
484+
title: Destination Filter Query Language
480485
- section_title: Config API
481486
slug: api/config-api
482487
section:
@@ -486,8 +491,6 @@ sections:
486491
title: API design
487492
- path: /api/config-api/authentication
488493
title: Authentication
489-
- path: /api/config-api/fql
490-
title: Destination Filter Query Language
491494
# - path: "https://reference.segmentapis.com/"
492495
# title: Reference
493496
# menu_icon: new-tab

src/api/config-api/fql.md renamed to src/api/public-api/fql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ You can use parentheses to group subexpressions for more complex "and / or" logi
130130
| `length( list or string )` | `number` | Returns the number of elements in a list or number of bytes (not necessarily characters) in a string. For example, `a` is 1 byte and`` is 3 bytes long. |
131131
| `lowercase( s string )` | `string` | Returns `s` with all uppercase characters replaced with their lowercase equivalent. |
132132
| `typeof( value )` | `string` | Returns the type of the given value: `"string"`, `"number"`, `"list"`, `"bool"`, or `"null"`. |
133-
| `match( s string, pattern string )` | `bool` | Returns `true` if the glob pattern `pattern` matches `s`. See below for more details about glob matching. |
133+
| `match( s string, pattern string )` | `bool` | Returns `true` if the glob pattern `pattern` matches `s`. See below for more details about glob matching. |
134134

135135
Functions handle `null` with sensible defaults to make writing FQL more concise.
136136
For example, you can write `length( userId ) > 0` instead of `typeof( userId ) =

src/api/public-api.md renamed to src/api/public-api/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
title: Public API
3+
redirect_from:
4+
- '/public-api'
35
---
46
The Segment Public API helps you manage your Segment workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs.
57

src/connections/destinations/destination-filters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ To create a destination filter:
4646

4747
## Destination filters API
4848

49-
The destination filters API provides more power than Segment's dashboard destination filters settings. With the API, you can create complex filters that are conditionally applied using Segment's [Filter Query Language (FQL)](/docs/api/config-api/fql/).
49+
The destination filters API provides more power than Segment's dashboard destination filters settings. With the API, you can create complex filters that are conditionally applied using Segment's [Filter Query Language (FQL)](/docs/api/public-api/fql/).
5050

5151
The destination filters API offers four different filter types:
5252

0 commit comments

Comments
 (0)