-
Notifications
You must be signed in to change notification settings - Fork 103
/
webservices.raml
88 lines (83 loc) · 1.66 KB
/
webservices.raml
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
#%RAML 1.0
title: coala webservices
version: v1
protocols: [ HTTP, HTTPS ]
baseUri: http://webservices.coala.io
mediaType: application/json
types:
Bear:
type: object
properties:
ASCIINEMA_URL: string
AUTHORS: string[]
AUTHORS_EMAILS: string[]
BEAR_DEPS: string[]
CAN_DETECT: string[]
CAN_FIX: string[]
INCLUDE_LOCAL_FILES: string[]
LANGUAGES: string[]
LICENSE: string
MAINTAINERS: string[]
MAINTAINERS_EMAILS: string[]
PLATFORMS: string[]
REQUIREMENTS: Requirement[]
can_detect: string[]
data_dir: string
maintainers: string[]
maintainers_emails: string[]
metadata: BearMetaData
name: string
Requirement:
type: object
properties:
package: string
type: string
version: string
BearInfo:
type: object
properties:
name: string
desc: string
languages: string[]
BearMetaData:
type: object
properties:
desc: string
non_optional_params: string[]
optional_params: string[]
User:
type: object
properties:
reviews: number
contributions: number
bio: string
login: string
name: string
issues: number
/list:
/bears:
get:
responses:
200:
body:
application/json:
type: BearInfo[]
/search:
/bears:
get:
responses:
200:
body:
application/json:
type: Bear
queryParameters:
bear:
type: string
required: true
/contrib/:
get:
responses:
200:
body:
application/json:
type: User[]