forked from mvanhorn/printing-press-library
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspec.yaml
More file actions
243 lines (235 loc) · 6.78 KB
/
Copy pathspec.yaml
File metadata and controls
243 lines (235 loc) · 6.78 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
name: luma
description: "Browse and search public Luma events — discover events by city and category, fetch event and calendar details. Read-only, no Luma account or API key needed."
version: "0.1.0"
base_url: "https://api.luma.com"
http_transport: standard
health_check_path: "/discover/bootstrap-page"
category: social-and-messaging
required_headers:
- name: User-Agent
value: "Mozilla/5.0 (compatible; luma-pp-cli)"
- name: Accept
value: "application/json"
auth:
type: none
config:
format: toml
path: "~/.config/luma-pp-cli/config.toml"
resources:
discover:
description: "Discover featured events, places, and categories on Luma"
endpoints:
home:
method: GET
path: "/discover/bootstrap-page"
description: "Featured place, popular places, categories, and calendars on the Luma discover home"
response:
type: object
item: DiscoverHome
categories:
method: GET
path: "/discover/category/list-categories"
description: "List event categories (AI, Crypto, Tech, Arts, ...) with upcoming-event counts"
params:
- name: pagination_limit
flag_name: limit
type: int
default: 50
description: "Max categories to return"
- name: pagination_cursor
flag_name: cursor
type: string
description: "Pagination cursor returned by a previous page (next_cursor)"
response:
type: array
item: Category
response_path: entries
pagination:
type: cursor
cursor_field: next_cursor
has_more_field: has_more
places:
description: "Browse cities/places that host Luma events"
endpoints:
get:
method: GET
path: "/discover/get-place"
description: "Get a place (city) by slug (sf, nyc, miami, ...) or place api_id"
params:
- name: slug
flag_name: city
type: string
description: "City slug, e.g. sf, nyc, miami, london (one of --city or --place-id)"
- name: discover_place_api_id
flag_name: place-id
type: string
description: "Place api_id (discplace-...), alternative to --city"
response:
type: object
item: PlaceDetail
calendars:
method: GET
path: "/discover/get-calendars"
description: "List calendars (communities) active in a place"
params:
- name: discover_place_api_id
flag_name: place-id
type: string
required: true
description: "Place api_id (discplace-...), from `places get`"
response:
type: array
item: Calendar
response_path: calendars
map:
method: GET
path: "/discover/place/get-points-for-mini-map"
description: "Geographic points for events in a place, for mapping"
params:
- name: discover_place_api_id
flag_name: place-id
type: string
required: true
description: "Place api_id (discplace-...)"
response:
type: object
item: MapPoints
events:
description: "Browse and fetch public Luma events"
endpoints:
list:
method: GET
path: "/discover/get-paginated-events"
description: "List upcoming events filtered by city (--city/--place-id) or category (--category)"
params:
- name: slug
flag_name: city
type: string
description: "City slug, e.g. sf, nyc, miami (filter by place)"
- name: discover_place_api_id
flag_name: place-id
type: string
description: "Place api_id (discplace-...), alternative to --city"
- name: category_api_id
flag_name: category
type: string
description: "Category api_id (cat-tech, cat-ai, ...) from `discover categories`"
- name: pagination_limit
flag_name: limit
type: int
default: 25
description: "Max events per page"
- name: pagination_cursor
flag_name: cursor
type: string
description: "Pagination cursor returned by a previous page (next_cursor)"
response:
type: array
item: EventEntry
response_path: entries
pagination:
type: cursor
cursor_field: next_cursor
has_more_field: has_more
get:
method: GET
path: "/event/get"
description: "Get full details for an event by its api_id (evt-...)"
params:
- name: event_api_id
flag_name: event-id
type: string
required: true
description: "Event api_id (evt-...), from `events list`"
response:
type: object
item: EventDetail
calendars:
description: "Fetch Luma calendar (community) details"
endpoints:
get:
method: GET
path: "/calendar/get"
description: "Get a calendar (community) by its api_id (cal-...)"
params:
- name: api_id
flag_name: calendar-id
type: string
required: true
description: "Calendar api_id (cal-...), from event detail or place calendars"
response:
type: object
item: CalendarDetail
types:
DiscoverHome:
fields:
- name: featured_place
type: string
- name: places
type: string
- name: categories
type: string
- name: calendars
type: string
Category:
fields:
- name: api_id
type: string
- name: event_count
type: int
- name: num_upcoming_events
type: int
- name: subscriber_count
type: int
PlaceDetail:
fields:
- name: api_id
type: string
- name: slug
type: string
- name: name
type: string
- name: num_events
type: int
Calendar:
fields:
- name: api_id
type: string
- name: name
type: string
- name: slug
type: string
MapPoints:
fields:
- name: points
type: string
EventEntry:
fields:
- name: api_id
type: string
- name: start_at
type: string
- name: guest_count
type: int
- name: ticket_count
type: int
EventDetail:
fields:
- name: api_id
type: string
- name: start_at
type: string
- name: guest_count
type: int
- name: ticket_count
type: int
- name: sold_out
type: bool
CalendarDetail:
fields:
- name: api_id
type: string
- name: name
type: string
- name: slug
type: string