Terug naar de indexpagina

SOAP API methode MediaLibrary_file

Beschrijving

Get access to a single file from the media library

Parameters

Naam Type Beschrijving
id * int Unique identifier (id) of the object MediaLibrary. The method only applies to the medialibrary with this id.
identifier int ID of the file, name of the file or object
identifier string ID of the file, name of the file or object
medialibraryfile Structure of type 'medialibraryfile' ID of the file, name of the file or object
login Structure of type 'login' Optional login data (soon deprecated)
access_token string Optional api access token
* verplichte parameters

Resultaat

Naam Type Beschrijving
medialibraryfile Structure of type 'medialibraryfile'

Structuur 'medialibraryfile'

Naam Type Beschrijving
id int The ID of the file.
mimetype string The mimetype of the file.
hashcode string Expose the file hashcode
data binary The data of the file. The data is base64 encoded.
name string The filename of the file.
size int The size of the file.

Structuur 'login'

Naam Type Beschrijving
username string The username of the login attempt
account string The account name of the login attempt
password string The password for the login attempt

Structuur 'medialibraryfile'

Naam Type Beschrijving
id int The ID of the file.
mimetype string The mimetype of the file.
hashcode string Expose the file hashcode
data binary The data of the file. The data is base64 encoded.
name string The filename of the file.
size int The size of the file.