Skip to content

Commit 58883a8

Browse files
authored
Merge pull request #114 from encryption4all/docs/align-api-description-limits
docs(api): align upload limit descriptions with current constants
2 parents a31dbf1 + d16869d commit 58883a8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

api-description.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ paths:
147147
"404":
148148
description: "Partially uploaded file does not exist."
149149
"413":
150-
description: "The upload exceeds the per-upload size limit (5 GB)."
150+
description: "The upload exceeds the per-upload size limit (5 GB for non-API-key uploads, 100 GB for API-key uploads)."
151151
content:
152152
application/json:
153153
schema:
@@ -197,7 +197,7 @@ paths:
197197
"404":
198198
description: "Partially upload file does not exist."
199199
"413":
200-
description: "The sender has exceeded the rolling 14-day upload limit (15 GB)."
200+
description: "The sender has exceeded the rolling 14-day upload limit (5 GB for non-API-key uploads, 100 GB for API-key uploads)."
201201
content:
202202
application/json:
203203
schema:
@@ -247,14 +247,14 @@ paths:
247247
limit_bytes:
248248
type: "integer"
249249
format: "int64"
250-
description: "Rolling-window upload limit in bytes (15 GB)."
250+
description: "Rolling-window upload limit in bytes for the requesting sender (5 GB for non-API-key uploads, 100 GB for API-key uploads)."
251251
window_days:
252252
type: "integer"
253253
description: "Length of the rolling window in days."
254254
per_upload_limit_bytes:
255255
type: "integer"
256256
format: "int64"
257-
description: "Maximum size of a single upload in bytes (5 GB)."
257+
description: "Maximum size of a single upload in bytes for the requesting sender (5 GB for non-API-key uploads, 100 GB for API-key uploads)."
258258
resets_at:
259259
type: "string"
260260
format: "date-time"

0 commit comments

Comments
 (0)