-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.yaml
More file actions
126 lines (118 loc) · 2.77 KB
/
openapi.yaml
File metadata and controls
126 lines (118 loc) · 2.77 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
openapi: 3.0.3
info:
title: ARO Crawler Events
version: 1.0.0
description: Event schemas for the ARO web crawler application
# No HTTP paths - this is an event-driven application
paths: {}
components:
schemas:
# CrawlPage event: triggers page fetching
CrawlPageEvent:
type: object
required:
- url
- base
properties:
url:
type: string
description: The URL to crawl
base:
type: string
description: The base domain for filtering
# SavePage event: triggers file storage
SavePageEvent:
type: object
required:
- url
- title
- content
properties:
url:
type: string
description: The page URL
title:
type: string
description: The page title
content:
type: string
description: The markdown content
base:
type: string
description: The base domain
# ExtractLinks event: triggers link extraction
ExtractLinksEvent:
type: object
required:
- url
- html
properties:
url:
type: string
description: The source page URL
html:
type: string
description: The raw HTML content
base:
type: string
description: The base domain for filtering
# NormalizeUrl event: triggers URL normalization
NormalizeUrlEvent:
type: object
required:
- raw
- source
- base
properties:
raw:
type: string
description: The raw href value
source:
type: string
description: The source page URL
base:
type: string
description: The base domain
# FilterUrl event: triggers URL filtering
FilterUrlEvent:
type: object
required:
- url
- base
properties:
url:
type: string
description: The normalized URL
base:
type: string
description: The base domain for filtering
# QueueUrl event: triggers URL queuing
QueueUrlEvent:
type: object
required:
- url
- base
properties:
url:
type: string
description: The URL to queue
base:
type: string
description: The base domain
# CrawlRequest: stored in repository
CrawlRequest:
type: object
required:
- id
- url
- base
properties:
id:
type: string
description: Hash of URL for deduplication
url:
type: string
description: The URL to crawl
base:
type: string
description: The base domain