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: docs/proposals/limits-api.md
+31-10Lines changed: 31 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
---
2
-
title: "Limits API"
3
-
linkTitle: "Limits API"
2
+
title: "User Overrides API"
3
+
linkTitle: "User Overrides API"
4
4
weight: 1
5
-
slug: limits-api
5
+
slug: overrides-api
6
6
---
7
7
8
8
- Author: Bogdan Stancu
@@ -11,7 +11,7 @@ slug: limits-api
11
11
12
12
## Overview
13
13
14
-
This proposal outlines the design for a new API endpoint that will allow users to modify their current limits in Cortex. Currently, limits can only be changed by administrators modifying the runtime configuration file and waiting for it to be reloaded.
14
+
This proposal outlines the design for a new API endpoint that will allow users to modify their current limits in Cortex. Currently, overrides can only be changed by administrators modifying the runtime configuration file and waiting for it to be reloaded.
15
15
16
16
## Problem
17
17
@@ -26,8 +26,8 @@ This manual process is time-consuming, error-prone, and doesn't scale well with
26
26
27
27
### Endpoints
28
28
29
-
#### 1. GET /api/v1/user-limits
30
-
Returns the current limits configuration for a specific tenant.
29
+
#### 1. GET /api/v1/user-overrides
30
+
Returns the current overrides configuration for a specific tenant.
31
31
32
32
Response format:
33
33
```json
@@ -40,8 +40,8 @@ Response format:
40
40
}
41
41
```
42
42
43
-
#### 2. PUT /api/v1/user-limits
44
-
Updates limits for a specific tenant. The request body should contain only the limits that need to be updated.
43
+
#### 2. PUT /api/v1/user-overrides
44
+
Updates overrides for a specific tenant. The request body should contain only the overrides that need to be updated.
45
45
46
46
Request body:
47
47
```json
@@ -51,8 +51,8 @@ Request body:
51
51
}
52
52
```
53
53
54
-
#### 3. DELETE /api/v1/user-limits
55
-
Removes tenant-specific limits, reverting to default limits.
54
+
#### 3. DELETE /api/v1/user-overrides
55
+
Removes tenant-specific overrides, reverting to default overrides.
0 commit comments