Skip to content

Missing Documentation: Keep an existing file when updating flexible asset #161

Open

Description

@LastElf

I have a flexible asset type that includes a file trait. I have the API documentation for how to upload something new as an encoded string, but I have a file already existing in an asset I want to update other traits for, and as we know, sending a data blob with null/missing traits writes them as null. How can I update this asset type without losing the attached files (Not documents/related items)?

Activity

  1. ecspresso commented on Jul 6, 2023

    @ecspresso
    Contributor

    You have to upload the file each time because the API is destructive. I remember reading about this on their support forum as well.

    Disclaimer: I don't use IT Glue anymore (don't work at old job) so my knowledge could be outdated.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions