Podio API Documentation
Files: Attach file
Attaches the uploaded file to the given object. Valid objects are "status", "item", "comment", "space", or "task".
Usage
- PHP Client
-
PodioFile.php
PodioFile::attach( $file_id, $attributes = array(), $options = array() );
-
PodioFile.php
PodioFile::copy( $file_id );
- Ruby Gem
-
file_attachment.rb
Podio::FileAttachment.attach( id, ref_type, ref_id )
Parameters
- file_id*
- Required.
- silent
If set to true, the object will not be bumped up in the stream and notifications will not be generated.
Default value: false
Request
{
"ref_type": The type of object the file should be attached to,
"ref_id": The id of the object the file should be attached to
}