-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathhyrule-compendium.yaml
97 lines (96 loc) · 2.81 KB
/
hyrule-compendium.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
openapi: 3.0.1
info:
title: Hyrule Compendium API
description: |
An API serving data on all creatures, monsters, materials, equipment, and treasure in The Legend of Zelda: Breath of the Wild.
version: 1.0.1
servers:
- url: https://botw-compendium.herokuapp.com/api/v2
paths:
/entry/{entry}:
get:
summary: Get single entry
description: This endpoint is used for retrieving a specific entry, using it's name or ID. If you are using a name to search for an item, spaces are to be replaced with an underscore or "%20".
operationId: getEntry
parameters:
- name: entry
in: path
required: true
description: Name or id of entity
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
/category/{category}:
get:
summary: Get all entries from category
description: This endpoint is used for retrieving all entries in a category.
operationId: getCategory
parameters:
- name: category
in: path
required: true
description: Name or id of entity
schema:
type: string
enum:
- creatures
- equipment
- materials
- monsters
- treasure
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
/all:
get:
summary: Get everything
description: This endpoint is for retrieving all data.
operationId: getAll
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
/master_mode/entry/{entry}:
get:
summary: Get single master entry
description: This endpoint retrieves data on a master mode exclusive entry, using it's name or ID. If you are using a name to search for an item, spaces are to be replaced with an underscore or "%20".
operationId: getMasterEntry
parameters:
- name: entry
in: path
required: true
description: Name or id of entity
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
/master_mode/all:
get:
summary: Get everything master
description: This endpoint retrieves all data on master mode exclusive entries.
operationId: getMasterAll
responses:
'200':
description: Success
content:
application/json:
schema:
type: object