Terug naar de indexpagina

SOAP API methode ProfileDir_createFile

Beschrijving

Create a new file in the directory.

Parameters

Naam Type Beschrijving
id * int Unique identifier (id) of the object ProfileDir. The method only applies to the profiledir with this id.
filedata * Structure of type 'filedata' File object
author * string Name of the author
metadata * Collection of type 'metadata' Additional data to be stored with the file
login Structure of type 'login' Optional login data (soon deprecated)
access_token string Optional api access token
* verplichte parameters

Resultaat

Naam Type Beschrijving
profilefile Structure of type 'profilefile'

Structuur 'filedata'

Naam Type Beschrijving
name string The name of the data of the file.
mimetype string The mimetype of the data of the file.
data binary The data of the file. The data is base64 encoded.

Structuur 'pair'

Naam Type Beschrijving
key string
value string

Structuur 'metadata'

Naam Type Beschrijving
pair Structure of type 'pair'

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 'profilefile'

Naam Type Beschrijving
author string The name of the person who uploaded the file.
created timestamp The timestamp when the file was uploaded for the first time.
modified timestamp The timestamp when the file was last modified.
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.