Forum Documentation Showcase Pricing Learn more

Make a new image private when loading via workflow API


#1

I’m creating a new thing with an image field through workflow API - how can I make this image private?
I use the following JSON below (from the manual), but the “attach_to” is not defined at the moment of API call as the thing is new (for changing a thing created before it works fine). What should do in this case?
JSON:
{
filename: String
contents: Base64-encoded binary data
private: Boolean
attach_to: String
}


#2

Hi any thoughts on this? It might be a security issue?