This is a simple Python client for Documentum REST Services.
##What the demo demonstrates?
It will do the following jobs for your reference.
0. Quit the demoo
1. Reset demo environment
2. REST sysObject CRUD
3. REST content management
4. REST version management
5. REST DQL
6. REST search with URL parameters
7. REST formats
8. REST network locations
9. REST relation CRUD
10. REST folder CRUD
11. REST type
12. REST batch
##Requirements
- Python 2.7 - 3.5.
- Library request is installed.
- Package configparser and future are installed.
- Documentum REST Services 7.2 is deployed.
##Instruction The instruction helps to prepare environment and run the demo. As there would be different configuration for kinds of operating systems and Python versions, view the references via links provided.
-
Download and install Python
-
Setup the environment according to the OS type: Python 2.7.x and Python 3.5.x
-
Run command to install library requests and other dependencies.
pip install -r requirements.txt
-
Navigate to the project home directory.
cd documentum-rest-client-python
-
Edit
rest.properties
or input the info when running the demo. -
Run the command to execute the demo no matter Python 2 or Python 3 is installed.
python RestDemo.py