This repository has been archived by the owner on Apr 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathspec.yaml
72 lines (72 loc) · 1.67 KB
/
spec.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
swagger: '2.0'
info:
version: 0.2.1
title: Tilerator/TileratorUI Service Template
description: A template for creating Node.JS services
termsOfService: https://wikimediafoundation.org/wiki/Terms_of_Use
contact:
name: the Wikimedia Services team
url: http://mediawiki.org/wiki/Services
license:
name: Apache2
url: http://www.apache.org/licenses/LICENSE-2.0
x-default-params:
domain: en.wikipedia.org
paths:
# from routes/root.js
/robots.txt:
get:
tags:
- Root
- Robots
description: Gets robots.txt
x-amples:
- title: robots.txt check
request: {}
response:
status: 200
headers:
user-agent: '*'
disallow: '/'
/:
get:
tags:
- Root
description: The root service end-point
produces:
- application/json
x-amples:
- title: root with no query params
request: {}
response:
status: 200
/variables:
get:
description: Get configured variables
produces:
- application/json
x-amples:
- title: Get configured variables
request: {}
reponse:
status: 200
/sources:
get:
description: Get configured sources
produces:
- application/json
x-amples:
- title: Get configured sources
request: {}
reponse:
status: 200
/jobs/stats:
get:
description: Get stats about current jobs
produces:
- application/json
x-amples:
- title: Get stats about current jobs
request: {}
reponse:
status: 200