API for working with the files in the app directory.
Unique identifier that can be used to register or retrieve a specific API.
Example: mendix.EditorsAPI, mycompany.MyFunkyAPI
Adds an event listener for the specified event type.
The type of event to listen for.
The event listener to add.
A function that can be called to remove the event listener.
Deletes the file at the specified path.
The relative path of the file to delete.
A promise that resolves when the file has been deleted.
Retrieves the content of a file at the specified path.
The relative path of the file to retrieve.
A promise that resolves with the content of the file.
Uploads content to a file at the specified path.
The relative path of the file to upload content to.
The content to upload to the file.
A promise that resolves when the file has been uploaded.
Removes an event listener for the specified event type.
The type of event to remove the listener from.
The event listener to remove.
API for working with the files in the app directory.