-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapiary.apib
More file actions
129 lines (120 loc) · 3.58 KB
/
Copy pathapiary.apib
File metadata and controls
129 lines (120 loc) · 3.58 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
FORMAT: 1A
HOST: http://admin.alagoasdevday.com.br/api/v1
# Alagoas Dev Day
API that provides data to the 2015 edition of Alagoas Dev Day, an anual event placed in Maceió / AL - Brazil.
# Group Speakers
## Speakers [/speakers]
All speakers object with all its details. Includes a boolean *confirmed* that shows whether the speaker is already confirmed or not.
### List all Speakers [GET]
+ Response 200 (application/json)
[
{
"id": 1,
"name": "Speaker Name",
"bio": "Speaker Bio",
"company_name": "Speaker Company Name",
"theme": "Speaker Theme",
"confirmed": false,
"twitter_url": "http://twitter.com/aldevday",
"facebook_url": "https://www.facebook.com/devdayalagoas",
"github_url: "http://github.com/alagoasdevday",
"linkedin_url": "https://www.linkedin.com/in/devdayalagoas",
"speakerdeck_url": "https://speakerdeck.com",
"video_url": "https://www.youtube.com/watch?v=rylyfI2PLzE",
"images": {
"company": {
"original": "http://admin.alagoasdevday.com.br/system/uploads/speaker/company_image/1/image.jpg"
},
"speaker": {
"original": "http://admin.alagoasdevday.com.br/system/uploads/speaker/speaker_image/1/image.jpg"
}
}
},
{
"id": 2,
"name": "Speaker Name",
"bio": "Speaker Bio",
"company_name": "Speaker Company Name",
"theme": "Speaker Theme",
"confirmed": true,
"twitter_url": "http://twitter.com/aldevday",
"facebook_url": "https://www.facebook.com/devdayalagoas",
"github_url: "http://github.com/alagoasdevday",
"linkedin_url": "https://www.linkedin.com/in/devdayalagoas",
"speakerdeck_url": "https://speakerdeck.com",
"video_url": "https://www.youtube.com/watch?v=rylyfI2PLzE",
"images": {
"company": {
"original": "http://admin.alagoasdevday.com.br/system/uploads/speaker/company_image/2/image.jpg"
},
"speaker": {
"original": "http://admin.alagoasdevday.com.br/system/uploads/speaker/speaker_image/2/image.jpg"
}
}
}
]
# Group Sponsors
## Sponsors by category [/sponsors]
All sponsor categories object with all its details and attached sponsors.
### All sponsors grouped by category [GET]
+ Response 200 (application/json)
[
{
"id": 1,
"name": "Platinum",
"sponsors": [
{
"id": 1,
"name": "Sponsor Name",
"url": "http://www.alagoasdevday.com/",
"images": {
"original": "http://admin.alagoasdevday.com.br/system/uploads/sponsor/image/1/image.jpg"
}
},
{
"id": 2,
"name": "Sponsor Name",
"url": "http://www.alagoasdevday.com/",
"images": {
"original": "http://admin.alagoasdevday.com.br/system/uploads/sponsor/image/2/image.jpg"
}
}
]
},
{
"id": 2,
"name": "Gold",
"sponsors": [
{
"id": 3,
"name": "Sponsor Name",
"url": "http://www.alagoasdevday.com/",
"images": {
"original": "http://admin.alagoasdevday.com.br/system/uploads/sponsor/image/3/image.jpg"
}
}
]
}
]
## Sponsors on a single category [/sponsors/{id}]
All sponsors attached on a single category.
### All sponsors from a category [GET]
+ Response 200 (application/json)
[
{
"id": 1,
"name": "Sponsor Name",
"url": "http://www.alagoasdevday.com/",
"images": {
"original": "http://admin.alagoasdevday.com.br/system/uploads/sponsor/image/1/image.jpg"
}
},
{
"id": 2,
"name": "Sponsor Name",
"url": "http://www.alagoasdevday.com/",
"images": {
"original": "http://admin.alagoasdevday.com.br/system/uploads/sponsor/image/2/image.jpg"
}
}
]