file.deleted event payload

Headers

X-Uc-SignaturestringOptional

Optional header with an HMAC-SHA256 signature that is sent to the target_url, if the webhook has a signing_secret associated with it.

Payload

The payload of this webhook request is an object.
initiatorobjectRequired
Webhook event initiator.
hookobjectRequired

Public Webhook information (does not include secret data like signing_secret)

dataobjectRequired
filestringRequired
File CDN URL.

Response

200
any
Return a 200 status to indicate that the data was received successfully.
Payload
1{
2 "initiator": {
3 "type": "api",
4 "detail": {
5 "request_id": "string",
6 "addon_name": "aws_rekognition_detect_labels",
7 "source_file_uuid": "string"
8 }
9 },
10 "hook": {
11 "id": 1,
12 "project": 1,
13 "project_pub_key": "string",
14 "created_at": "2023-01-01T00:00:00Z",
15 "updated_at": "2023-01-01T00:00:00Z",
16 "event": "file.uploaded",
17 "target": "string",
18 "is_active": true,
19 "version": "0.7"
20 },
21 "data": {
22 "datetime_removed": "2023-01-01T00:00:00Z",
23 "datetime_stored": "2023-01-01T00:00:00Z",
24 "datetime_uploaded": "2023-01-01T00:00:00Z",
25 "is_image": true,
26 "is_ready": true,
27 "mime_type": "string",
28 "original_file_url": "string",
29 "original_filename": "string",
30 "size": 0,
31 "url": "string",
32 "uuid": "string",
33 "appdata": {
34 "aws_rekognition_detect_labels": {
35 "version": "2016-06-27",
36 "data": {
37 "LabelModelVersion": "string",
38 "Labels": [
39 {
40 "Confidence": 1,
41 "Instances": [
42 {
43 "BoundingBox": {
44 "Height": 1,
45 "Left": 1,
46 "Top": 1,
47 "Width": 1
48 },
49 "Confidence": 1
50 }
51 ],
52 "Name": "string",
53 "Parents": [
54 {
55 "Name": "string"
56 }
57 ]
58 }
59 ]
60 },
61 "datetime_created": "2023-01-01T00:00:00Z",
62 "datetime_updated": "2023-01-01T00:00:00Z"
63 },
64 "aws_rekognition_detect_moderation_labels": {
65 "version": "2016-06-27",
66 "data": {
67 "ModerationModelVersion": "string",
68 "ModerationLabels": [
69 {
70 "Confidence": 1,
71 "Name": "string",
72 "ParentName": "string"
73 }
74 ]
75 },
76 "datetime_created": "2023-01-01T00:00:00Z",
77 "datetime_updated": "2023-01-01T00:00:00Z"
78 },
79 "remove_bg": {
80 "version": "1.0",
81 "data": {
82 "foreground_type": "string"
83 },
84 "datetime_created": "2023-01-01T00:00:00Z",
85 "datetime_updated": "2023-01-01T00:00:00Z"
86 },
87 "uc_clamav_virus_scan": {
88 "version": "0.104.2",
89 "data": {
90 "infected": true,
91 "infected_with": "string"
92 },
93 "datetime_created": "2023-01-01T00:00:00Z",
94 "datetime_updated": "2023-01-01T00:00:00Z"
95 }
96 },
97 "variations": {
98 "string": {}
99 },
100 "content_info": {
101 "mime": {
102 "mime": "string",
103 "type": "string",
104 "subtype": "string"
105 },
106 "image": {
107 "color_mode": "RGB",
108 "orientation": 0,
109 "format": "string",
110 "sequence": true,
111 "height": 0,
112 "width": 0,
113 "geo_location": {
114 "latitude": 1,
115 "longitude": 1
116 },
117 "datetime_original": "2023-01-01T00:00:00Z",
118 "dpi": [
119 1
120 ]
121 },
122 "video": {
123 "duration": 0,
124 "format": "string",
125 "bitrate": 0,
126 "audio": [
127 {
128 "bitrate": 0,
129 "codec": "string",
130 "sample_rate": 0,
131 "channels": 0
132 }
133 ],
134 "video": [
135 {
136 "height": 0,
137 "width": 0,
138 "frame_rate": 1,
139 "bitrate": 0,
140 "codec": "string"
141 }
142 ]
143 }
144 },
145 "metadata": {
146 "string": {}
147 }
148 },
149 "file": "string"
150}