Skip to content

Commit

Permalink
Clarify delete_image description
Browse files Browse the repository at this point in the history
This also runs when an image is removed explicitly, not just when an entire
release is merged or deleted.
  • Loading branch information
mwiencek committed Feb 21, 2024
1 parent b7d312d commit 02f8d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Event types and their expected `message` format are documented below.
| ------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| index | `{"gid": UUID}` | uploads index.json and MB metadata to the IA |
| copy_image | `{"artwork_id": INT, "old_gid": UUID, "new_gid": UUID, "suffix": TEXT}` | copies an image from one bucket to another (after a release is merged) |
| delete_image | `{"gid": UUID, "artwork_id": INT, "suffix": TEXT}` | deletes an image (after a release is merged or deleted) |
| delete_image | `{"gid": UUID, "artwork_id": INT, "suffix": TEXT}` | deletes an image (including after a release is merged or deleted) |
| deindex | `{"gid": UUID}` | deletes index.json (after a release is deleted) |
| noop | `{}` or `{"fail": BOOL}` | for debugging (does nothing, or fails if `{"fail": true}` is specified) |

Expand Down

0 comments on commit 02f8d66

Please sign in to comment.