Differences between revisions 2 and 3
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
Note, that this functions are public, however they call themselves through RedirectFSM if user is not logged in. Note, that this functions are public, however they call themselves through RedirectFSM to perform user authentication if user is not logged in.

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 to perform user authentication if user is not logged in.

RestMap (last edited 2011-08-09 11:13:29 by vali)

Copyright 2008-2014, SoftXS GmbH, Switzerland