-
Notifications
You must be signed in to change notification settings - Fork 11
/
AccountLimit.yaml
93 lines (88 loc) · 2.96 KB
/
AccountLimit.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
openapi: 3.0.3
info:
title: I_AccountLimit_Service
description: The limits of a user account are queried via this interface
version: 1.1.3
### 1.1.3
# - removed operation setLimits for compatibility with KIM 1.5.2
# - changed security to basic auth for compatibility with KIM 1.5.2
# - changed dataTimeToLive maximum value for compatibility with KIM 1.5.2
# - changed servers -url for compatibility with KIM 1.5.2
### 1.1.2
# - changed servers -url
# - adding new operation setLimits
# - added object property AccountLimit.kasMailSizeThreshold
# - added traceId to Error object
### 1.1.1
# - changed minimum value for maxMailSize
# - changed descriptions
### 1.1.0
# - changed version number in server url
# - removed quotation marks and added minimum value for maxMailSize
### 1.0.0
# - initial Version of I_AccountLimit_Service
externalDocs:
description: GitHub - documentation
url: https://github.com/gematik/api-kim
servers:
- url: /AccountLimit/v1.1/
# Die URL muss wie folgt gebildet werden:
# https://<FQDN gemäß DNS-SD SRV RR>:<Port gemäß DNS-SD SRV RR><Base-path gemäß TXT RR><path gemäß yaml Datei>
# Die SRV und TXT RR sind unter dem Resource Record Bezeichner <accmgr_service_name> zu finden.
tags:
- name: AccountLimit
paths:
/limit:
get:
tags:
- AccountLimit
summary: Query the limits of an account
description: Query the limits of an account
operationId: getLimits
responses:
200:
description: OK
# Returning the metadata of a user account
content:
application/json; charset=utf-8:
schema:
$ref: '#/components/schemas/AccountLimit'
401:
$ref: 'CommonSchemas.yaml#/components/responses/401'
404:
$ref: 'CommonSchemas.yaml#/components/responses/404'
500:
$ref: 'CommonSchemas.yaml#/components/responses/500'
components:
schemas:
AccountLimit:
type: object
properties:
dataTimeToLive:
type: integer
minimum: 10
maximum: 365
default: 90
example: 90
description: Storage duration of emails on the mail server and attachments on the KAS backend service. Specified in days.
maxMailSize:
type: integer
format: int64
minimum: 734003200
example: 734003200
description: Sets the maximum size of a KIM email in bytes.
quota:
type: integer
format: int64
readOnly: true
example: 160000000000
description: Specifies the maximum storage volume for a user account.
remainQuota:
type: integer
format: int64
readOnly: true
example: 112000000000
description: Specifies the remaining storage volume for a user account.
securitySchemes:
KIMBasicAuth:
$ref: 'CommonSchemas.yaml#/components/securitySchemes/KIMBasicAuth'