-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcleverdesk.raml
62 lines (62 loc) · 1.7 KB
/
cleverdesk.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
#%RAML 0.8
title: Cleverdesk
baseUri: https://api.cleverdesk.net
version: v1
protocols: [ HTTP, HTTPS ]
securitySchemes:
- basic:
type: Basic Authentication
/user:
get:
description: Gets Information about Current user
securedBy: [basic]
responses:
200:
body:
application/json:
schema: !include schema/response/user.json
example: !include example/response/user.json
401:
body:
application/json:
schema: !include schema/error/401.json
example: !include example/error/401.json
/main/pages:
get:
securedBy: [basic]
description: Gets a list of all pages.
responses:
200:
body:
application/json:
schema: !include schema/response/pages.json
example: !include example/response/pages.json
401:
body:
application/json:
schema: !include schema/error/401.json
example: !include example/error/401.json
/{plugin}:
get:
securedBy: [basic]
description: Gets Information about a plugin
/page/{pagename}:
get:
securedBy: [basic]
description: Gets Information about a page
responses:
200:
body:
application/json:
schema: !include schema/response/page.json
example: !include example/response/page.json
404:
body:
application/json:
schema: !include schema/error/404.json
example: !include example/error/404.json
401:
body:
application/json:
schema: !include schema/error/401.json
example: !include example/error/401.json