Skip to content

Allow metadata to be attached to stored bucket files. #2690

Open

Description

@Isakdl

Feature
Both AWS and GCP support metadata on stored objects in a bucket.

https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingMetadata.html
https://cloud.google.com/storage/docs/viewing-editing-metadata

It would be great if the Serverpod storage access layer had a method to add metadata to existing objects in the bucket.

E.g.

session.storage.setFileMetadata(storageId: 'my-id', path: '/myfile.ext', metadata: {'custom': 'data'});

Where metadata is a Map<String, String>

Activity

  1. added
    enhancement
    area: storage
    on Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: storageenhancement

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions