Colony

TRITECH MEDIA

COLONY REST API

GET POST OPTIONS

Description:

Lists available UserFile objects for the current user as well as creates new files.

Model:

{
    "signature_file": "file", 
    "file_type": "string", 
    "object_pk": "int", 
    "private": "boolean", 
    "user_file": "file", 
    "date_updated": "datetime", 
    "user": "int", 
    "content_type": "int", 
    "file_size": "int", 
    "date_created": "datetime", 
    "company": "int", 
    "id": "int"
}

Test:

You can test this API using the link below.

/filebox/boxes/userfile/

GET OPTIONS

Description:

Allows the creation of a UserFile.

Model:

{
    "signature_file": "file", 
    "file_type": "string", 
    "object_pk": "int", 
    "private": "boolean", 
    "user_file": "file", 
    "date_updated": "datetime", 
    "user": "int", 
    "content_type": "int", 
    "file_size": "int", 
    "date_created": "datetime", 
    "company": "int", 
    "id": "int"
}
GET OPTIONS

Description:

Provides the ability to list and create User Files from file box

Model:

{
    "signature_file": "file", 
    "file_type": "string", 
    "object_pk": "int", 
    "private": "boolean", 
    "user_file": "file", 
    "date_updated": "datetime", 
    "user": "int", 
    "content_type": "int", 
    "file_size": "int", 
    "date_created": "datetime", 
    "company": "int", 
    "id": "int"
}

Test:

You can test this API using the link below.

/filebox/boxes/user-files/

GET OPTIONS

Description:

Provides the ability to list and create Company Files from file box

Model:

{
    "signature_file": "file", 
    "file_type": "string", 
    "object_pk": "int", 
    "private": "boolean", 
    "user_file": "file", 
    "date_updated": "datetime", 
    "user": "int", 
    "content_type": "int", 
    "file_size": "int", 
    "date_created": "datetime", 
    "company": "int", 
    "id": "int"
}

Test:

You can test this API using the link below.

/filebox/boxes/company-files/