Add file via AnyType APIs #334
-
| 
         Hi everyone, I’m exploring the use of the AnyType APIs to create objects based on a custom type template. Everything works as expected when dealing with textual properties, but I’m now trying to upload a PDF file via the APIs and associate it with the “links” property of a specific object. I’m not sure how this should be done, or more generally, how the files interface is structured. I expect files to behave like any other object type, with the file data stored directly as a property. Is this intuition wrong? Could someone clarify how files and file uploads are intended to work in AnyType and its APIs? Thanks in advance for your help,  | 
  
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
| 
         hey @LorenzoFioroni, file uploads through the api are not yet supported. however, you can link existing files to objects via the api by utilizing properties (passing the file id as property value of format object).  | 
  
Beta Was this translation helpful? Give feedback.
hey @LorenzoFioroni, file uploads through the api are not yet supported. however, you can link existing files to objects via the api by utilizing properties (passing the file id as property value of format object).