Is there any way to access (from a program) the metadata for the REST service? I mean what objects are avaiable on what url, what fields (with types) are available for each object? What relations exists between the objects, etc.
I have seen some wbxml that contains the model, could somebody give me some ide how can I use it from a rest client? An autogenerated client would be less error prone, than lookop for each types/fields from the javadoc. I would like to use it from a php and csharp.
Thanks for your help,
The API of openCRX is modeled in UML. You can find the metadata in the corresponding XMI files ./opencrx2/core/src/model/emf/. See http://www.opencrx.org/opencrx/2.12/uml/opencrx-core/ for the UML diagrams.
The openMDX framework (Java) provides a helper to read and access the model repository.
Model_1_0 model = Model_1Factory.getModel();
See ./opencrx2/core/src/java for examples.