Mapping of REST Calls to DrawMGT Function Calls
Mapping of REST calls to DrawMGT function calls is defined in app/cfg/RestMap.php.
REST Calls to Display Revision or to Download File
URL |
Parameters |
DrawMgt Function |
Purpose |
document/*/*/detail |
drawingCode/revisionCode |
DrawingsRevisionsJoinSet::restDetail |
Display Document/Revision in browser |
document/*/*/pub |
drawingCode/revisionCode |
DrawingsRevisionsJoinSet::restPublishFile |
Direct download publish file through browser |
document/*/*/src |
drawingCode/revisionCode |
DrawingsRevisionsJoinSet::restSourceFile |
Direct download source file through browser |
Note, that this functions are public, however they call themselves through RedirectFSM if user is not logged in.