REST (HTTP) API

Routes are defined in weye.application

/o/<object path> (GET)

Returns metadata for the ressource at path, using weye.root_objects.get_object_from_path()

/c/<object path> (GET)

Returns children information for the ressource at path, using weye.root_objects.list_children()

/d/<object path>

GET

Returns raw data for the ressource at path

POST

Replaces raw data for the ressource at path

Note

Only works for text currently, used for EpicEditor‘s editor_save()

Arguments

text:content of the text file

/upload

POST

Uploads files posted as multipart to the server

Arguments

prefix:folder/path to upload files to

This Page