generated from bundesAPI/api-doc-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
openapi_en.yaml
46 lines (41 loc) · 1.29 KB
/
openapi_en.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
openapi: "3.0.0"
info:
description: "API Description"
version: "1.0.0"
title: "API Name"
x-office: "Amtsname"
contact:
name: Responsible authority
email: [email protected]
url: https://example.com
servers:
- url: "https://warnung.bund.de/api31"
tags:
- name: default
paths:
/dashboard/{AGS}.json:
get:
summary: Name of endpoint
description: Here the function of the end point is described.
operationId: getAGS
tags:
- default
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Result'
parameters:
- in: path
required: true
name: AGS
schema:
type: string
description: Official area key - can be retrieved from [here](https://www.xrepository.de/api/xrepository/urn:de:bund:destatis:bevoelkerungsstatistik:schluessel:rs_2021-07-31/download/Regionalschl_ssel_2021-07-31.json). The last 7 digits have to be replaced with "0000000" because data is only offered on the area level [Kreisebene](https://de.wikipedia.org/wiki/Amtlicher_Gemeindeschl%C3%BCssel).
example: "example-parameter"
components:
schemas:
Result:
type: string