REST API Library
Please note that these samples and libraries are provided “as-is” and with no warranty, explicit or otherwise. You should ensure that the functionality of these libraries meet your requirements, and thoroughly test them, prior to using in any production scenarios. The items linked below are designed as teaching tools and may not be fully complete.
All M-Files Samples and Libraries are available in our public GitHub repository. Further samples and libraries will be added in response to partner feedback.
REST API Wrapper (.NET)
This library aims to provide an easy-to-use .NET wrapper for the M-Files Web Service, which is part of the M-Files Classic Web.
- Authentication (using M-Files or Windows credentials, or using Single Sign On).
- Searching (quick search, or complex searches).
- File upload and object creation..
- Checking objects in and out, and undoing a checkout.
- Updating a single property on an object (or adding a new one), and removing a property from an object.
- Deleting and undeleting an object.
- Vault Extension Method execution
- Retrieval of object types, value lists, and value list items from the vault.
The library contains a set of basic unit tests, which will be expanded as the library progresses.
More details and examples are available in in the GitHub repository.