Compare commits

...

2 Commits

Author SHA1 Message Date
5ed88dd7a7 Fix upload response example 2025-10-28 00:13:52 -07:00
331f8a62b0 Rename deployment step 2025-10-26 22:35:10 -07:00
2 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ steps:
commands:
- go build -o /mnt/build-artifacts/
- name: restart service(s)
- name: redeploy
when:
- branch: master
event: push

View File

@ -49,7 +49,7 @@ Downloads an image from a URL, converts it to WebP, and stores it.
**Response:**
```json
"https://images.example.com/12345/67890/68f5a69c1cd9d39b5e9d7ba1/68f5ce16713c155df96639bc.webp"
"https://images.example.com/68f5a69c1cd9d39b5e9d7ba1/68f5ce16713c155df96639bc.webp"
```
**Status Codes:**
@ -66,12 +66,12 @@ Deletes a specific image file. Automatically cleans up empty parent directories.
**Example:**
```bash
curl -X DELETE http://localhost:8080/image/12345/67890/68f5a69c1cd9d39b5e9d7ba1/68f5ce16713c155df96639bc.webp
curl -X DELETE http://localhost:8080/image/68f5a69c1cd9d39b5e9d7ba1/68f5ce16713c155df96639bc.webp
```
**Response:**
```json
"Deleted 12345/67890/68f5a69c1cd9d39b5e9d7ba1/68f5ce16713c155df96639bc.webp"
"Deleted 68f5a69c1cd9d39b5e9d7ba1/68f5ce16713c155df96639bc.webp"
```
**Status Codes:**