file->attach does not currently support the silent parameter, but we will look into the possibility of adding it.
silent mode for attaching files?
I am setting up an automated update system using the PHP client and it is going really well so far.
With the calls to item->create and item->update I am turning on 'silent' so that these events do not show up in the activity report.
Is it possible to do the same for file->attach ?
Please sign in to leave a comment.
You can also attach the files directly in the create and update item API calls. Just pass in the list of file ids that should be on the item in the "file_ids" attribute.
I will get the silent parameter added to the attach file call also.
That would be great. Thanks very much!
The silent parameter is out now for the attach file operation.
Wonderful! I have actually implemented your previous suggestion to attach the files when the item is created or updated, but I am sure this will be useful too.