Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
LastElf opened this issue Jun 27, 2023 · 1 comment
Open

Comments

@LastElf
Copy link

LastElf commented Jun 27, 2023

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)?

@ecspresso
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants