You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bumps Node runtime to 20, fixes security vulnerabilities, updates documentation (including POSTINSTALL.md link and param labels), updates extension.yaml/CHANGELOG.md, and applies formatting.
* fix(image-processing-api): npm audit and bump runtime to 20
* chore(image-processing-api): fix vulnerabilities
* docs(image-processing-api): fix documentation
* docs(image-processing-api): fix link to function in POSTINSTALL
* chore(image-processing-api): fix extension.yaml version and CHANGELOG
* docs(image-processing-api): fix param label
* chore(image-processing-api): format
* chore(image-processing-api): format and fix docs
Copy file name to clipboardExpand all lines: extensions/image-processing-api/PREINSTALL.md
+13-3
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,11 @@
1
-
Use this extension to optimize and transform images via a powerful HTTP API with over 30 different image operations to enhance and manipulate your images.
1
+
Image Processing Extension
2
+
Use this extension to optimize and transform images via a powerful HTTP API with over 30 image operations for enhancing and manipulating your images.
2
3
3
-
This extension creates a Cloud Function named `process`, which can be called via a GET request, specifiying
4
-
the operations to perform via the `operations` query parameter, for example:
4
+
How It Works
5
+
When you install this extension, it deploys a Cloud Function that exposes an HTTP API. All requests must be sent to the /process endpoint of the function. You perform image operations by passing an operations query parameter—a URL-encoded JSON string defining the operations to execute.
Copy file name to clipboardExpand all lines: extensions/image-processing-api/README.md
+32-5
Original file line number
Diff line number
Diff line change
@@ -4,17 +4,21 @@
4
4
5
5
**Description**: Use this extension to optimize and transform images via a powerful HTTP API with over 30 different image operations to enhance and manipulate your images.
6
6
7
-
**Details**: Use this extension to optimize and transform images via a powerful HTTP API with over 30 different image operations to enhance and manipulate your images.
7
+
**Details**: Image Processing Extension
8
+
Use this extension to optimize and transform images via a powerful HTTP API with over 30 image operations for enhancing and manipulating your images.
8
9
9
-
This extension creates a Cloud Function named `process`, which can be called via a GET request, specifiying
10
-
the operations to perform via the `operations` query parameter, for example:
10
+
How It Works
11
+
When you install this extension, it deploys a Cloud Function that exposes an HTTP API. All requests must be sent to the /process endpoint of the function. You perform image operations by passing an operations query parameter—a URL-encoded JSON string defining the operations to execute.
View the [official documentation](https://extensions.invertase.dev/image-processing-api) for full usage examples.
32
59
33
60
#### Additional setup
@@ -49,7 +76,7 @@ To install an extension, your project must be on the [Blaze (pay as you go) plan
49
76
50
77
- Cloud Storage bucket for images: The Cloud Storage bucket where images that are to be processed are located. API requests with input urls or paths that are not inside this bucket will be dropped.
51
78
52
-
- Allowed CORS origins.: A comma delimited value of allowed CORS origins. Use the default of '\*' to allow all origins. This is useful to lockdown your API and only allow your own website to embed the images directly. Note this will not prevent non-browser requests from accessing your API.
79
+
- Allowed CORS origins: A comma delimited value of allowed CORS origins. Use the default of '\*' to allow all origins. This is useful to lockdown your API and only allow your own website to embed the images directly. Note this will not prevent non-browser requests from accessing your API.
0 commit comments