Podio API Documentation

Files: Get files on app

GET /file/app/{app_id}/

Returns all the files related to the items in the application. This includes files both on the item itself and in comments on the item.

Usage
PHP Client
PodioFile.php
PodioFile::get_for_app( $app_id, $attributes = array() );
Ruby Gem
file_attachment.rb
Podio::FileAttachment.find_for_app( app_id, options = {} )
Parameters
app_id*
Required.
attached_to

The type of the entity the file is attached to. Can be one of {"item", "status", "task" and "space"}.

created_by

The entities that created the file. See auth objects on the view area for details.

created_on

The from and to date the file was created between. For valid operations see date filtering under the view area.

filetype

The type of the file. Can be one of {"image", "application", "video", "text", "audio"}.

hosted_by

Which provider actually hosts the files. Currently can be one of {"podio", "google", "boxnet", "dropbox", "evernote", "live", "sharefile", "sugarsync", "yousendit"}.

limit

The maximum number of files to return


Default value: 20
offset

The offset to use when returning files to be used for pagination.


Default value: 0
sort_by

How the files should be sorted. Can be one of {"name", "created_on"}


Default value: name
sort_desc

true for to sort in descending order, false in ascending


Default value: true
Response   [ { "file_id": The id of the file, "name": The name of the file, "mimetype": The mimetype of the file, "size": The size of the file, "context": The reference to context of the file, { "type": The type of the reference, "id": The id of the reference, "title": The title of the reference, "link": The link to the context }, "created_on": The date and time the file was uploaded,     "created_by": The entity who created the file, "created_via": The interface the file was created through, }, ... (more files) ]

 

Sandbox

Try the operation "/file/app/{app_id}/"

You can simulate the API request by filling out the arguments below, and press the submit button to see the response.

You need to be logged in to Podio to use the Sandbox. Login here