-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapi.yaml
71 lines (64 loc) · 1.97 KB
/
api.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
openapi: 3.0.1
info:
title: Search Index REST API
description: This is the Swagger Documentation of the Search Index REST API.
license:
name: MIT License
url: https://opensource.org/licenses/MIT
version: 1.0.0
externalDocs:
description: Find out more about Swagger
url: https://swagger.io
servers:
- url: /
tags:
- name: config-controller
description: EndPoint for Backend configuration
- name: label-controller
description: Endpoints for access to labels
- name: metadata-controller
description: Every EndPoint for Metadata Controller
- name: oembed-Controller
description: oEmbed provider endpoint
- name: search-Controller
description: Every EndPoint for Search Controller
- name: vocab-Controller
description: vocab endpoint
paths:
/api/label/{language}:
$ref: "label.yaml#/~1api~1label~1{language}"
/api/contact:
$ref: "contact.yaml#/~1api~1contact"
/api/metadata:
$ref: "metadata.yaml#/~1api~1metadata"
/api/metadata/bulk:
$ref: "metadata.yaml#/~1api~1metadata~1bulk"
/api/metadata/source:
$ref: "metadata.yaml#/~1api~1metadata~1source"
/api/metadata/source/{id}:
$ref: "metadata.yaml#/~1api~1metadata~1source~1{id}"
/api/metadata/{id}:
$ref: "metadata.yaml#/~1api~1metadata~1{id}"
/api/metadata-config:
$ref: "config.yaml#/~1api~1metadata-config"
/api/oembed-json:
$ref: "oembed.yaml#/~1api~1oembed-json"
/api/oembed-xml:
$ref: "oembed.yaml#/~1api~1oembed-xml"
/api/search/**:
$ref: "search.yaml#/~1api~1search~1**"
/api/vocab/bulk:
$ref: "vocab.yaml#/~1api~1vocab~1bulk"
components:
schemas:
LocalizedString:
title: Localized String
type: object
example:
de: 'Mathematik'
en: 'Mathematics'
additionalProperties:
type: string
description: "A language-tagged string using JSON-LD \"language maps\", see\
\ https://www.w3.org/TR/json-ld/#language-maps. Valid keys are ISO-639-1 language\
\ codes."