You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: API/README.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,18 @@ Requests that may change the state (PUT & DELETE) will require authenticaiton if
8
8
In such case the authorization header must be sent with the proper API key.
9
9
Example: `authorization: ApiKey SECRET_API_KEY`
10
10
11
-
## GET `/flags/{namespace}`
11
+
## GET `/api/flags/{namespace}`
12
12
Get all the enabled feature flags in a namespace.
13
13
14
-
## HEAD `/flags/{namespace}`
14
+
## HEAD `/api/flags/{namespace}`
15
15
Check if the feature flags have been updated for a namespace. The response will contain the [etag](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag) header.
16
16
If the etag header value is the same as in the most recent GET or HEAD request, the namespace's feature flags have not changed.
17
17
18
-
## PUT `/flags/{namespace}/{flag}`
18
+
## PUT `/api/flags/{namespace}/{flag}`
19
19
Enable a feature flag in a namespace.
20
20
21
-
## DELETE `/flags/{namespace}/{flag}`
22
-
Disable a feature flag in a namespace.
21
+
## DELETE `/api/flags/{namespace}/{flag}`
22
+
Disable a feature flag in a namespace.
23
+
24
+
## GET `/api/health`
25
+
Health check endpoint that can be used to verify the service is running in a healthy state.
0 commit comments