-
Notifications
You must be signed in to change notification settings - Fork 11
/
ServiceInformation.yaml
105 lines (99 loc) · 4.06 KB
/
ServiceInformation.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
94
95
96
97
98
99
100
101
102
103
104
openapi: 3.0.3
info:
title: I_ServiceInformation
description: Information about the KIM service is requested via this interface.
version: 1.0.2
### 1.0.2
# - added operation GET /appTags
### 1.0.1
# - added kimServiceVersion and jwtExpirations to the ServiceInformation object
### 1.0.0
# - initial Version of I_ServiceInformation
# - added traceId to Error object
externalDocs:
description: GitHub - documentation
url: https://github.com/gematik/api-kim
servers:
- url: /ServiceInformation/v1.0/
# The URL must be formed as follows:
# 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: ServiceInformation
paths:
/serviceinfo:
get:
tags:
- ServiceInformation
summary: Request information via the KIM backend service
description: Request information via the KIM backend service
operationId: getServiceInformation
responses:
200:
description: OK
# Return the information via the KIM backend service
content:
application/json; charset=utf-8:
schema:
$ref: '#/components/schemas/ServiceInformation'
500:
$ref: 'CommonSchemas.yaml#/components/responses/500'
/appTags:
get:
tags:
- appTags
summary: Request information for application identifiers (Anwendungskennzeichen)
description: The list of application identifiers (Anwendungskennzeichen) is queried.
The application identifiers are used as the FHIR code system in the
Submit response
operationId: getAppTags
responses:
200:
description: OK
# Return of the application identifiers as FHIR CodeSystem (ServiceIdentifierCS)
# Please refer https://simplifier.net/app-transport-framework/service-identifier-cs/~json
content:
application/json; charset=utf-8:
schema:
externalDocs:
description: Return of the application identifiers as FHIR CodeSystem (ServiceIdentifierCS)
url: https://simplifier.net/app-transport-framework/service-identifier-cs/~json
500:
$ref: 'CommonSchemas.yaml#/components/responses/500'
components:
schemas:
ServiceInformation:
type: object
properties:
kimServiceVersion:
type: string
description: Specifies the version of the KIM backend service.
passwordPolicyRegEx:
type: string
description: Specifies the password policy that the AccountManager requires as a regular expression (in java compatible style).
passwordPolicyDisplay:
type: string
description: Specifies the password policy that the AccountManager requires in text form.
jwtExpiration:
type: integer
minimum: 300
maximum: 21600
description: Specifies the configured expiration time range for JWTs. The value is given in seconds.
referenceIdRequired:
type: boolean
description: Specifies whether the referenceID is required during initial registration.
initialPasswordRequired:
type: boolean
description: Specifies whether the initial password is required during initial registration.
example:
kimServiceVersion: 1.5.3
passwordPolicyRegEx: ^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[*.!@#$%^&(){}\[\]:;'<>,?/~_+\-=|\\]).{12,256}$
passwordPolicyDisplay: At least one number [0-9]
At least one lowercase letter [a-z]
At least one capital letter [A-Z]
At least one special character [*.!@#$%^&(){}[]:;'<>,?/~_+-=|\]
Minimum length 12 characters
Maximum length 256 characters.
jwtExpiration: 300
referenceIdRequired: true
initialPasswordRequired: false