Commit Graph

7 Commits

Author SHA1 Message Date
Erik Amaru Ortiz
b25efdd866 Adding Rest Api Service Support
Rest Service on plugins
-----------------------

1. enable service

add the following line in plugin __constructor main class
$this->enableRestService(true);

2. Create the sources directory structure by example:
if you plugin is named myPlugin

myPlugin
    |--src
        |--Services
             |--Api
                 |--MyPlugin
                      |--Test.php

Where Test.php is a Restler class
2013-12-03 17:10:18 -04:00
Victor Saisa Lopez
ab813f4939 ProcessMaker-MA "2170 Project Properties - Step resources"
- 1ra parte
- Se ha implementado los siguientes Endpoints:
    GET    /api/1.0/{workspace}/project/{prj_uid}/activity/{act_uid}/steps
    GET    /api/1.0/{workspace}/project/{prj_uid}/activity/{act_uid}/available-steps
    GET    /api/1.0/{workspace}/project/{prj_uid}/activity/{act_uid}/step/{step_uid}
    POST   /api/1.0/{workspace}/project/{prj_uid}/activity/{act_uid}/step
    PUT    /api/1.0/{workspace}/project/{prj_uid}/activity/{act_uid}/step/{step_uid}
    DELETE /api/1.0/{workspace}/project/{prj_uid}/activity/{act_uid}/step/{step_uid}
2013-12-02 16:49:28 -04:00
Brayan Osmar Pereyra Suxo
7037b499bb Arreglo de longitud maxima en filtro en campos 2013-12-02 15:29:36 -04:00
Brayan Osmar Pereyra Suxo
ebbeaad7a3 Adicion de campos para filtrar y correccion en el los campos de respuesta 2013-12-02 14:54:34 -04:00
Brayan Osmar Pereyra Suxo
e3a6c94576 Merge remote branch 'upstream/master' into EP-2183 2013-12-02 14:27:44 -04:00
Erik Amaru Ortiz
d7d22e57f5 Updating use of Api::STAT_APP_EXCEPTION const 2013-12-02 12:56:13 -04:00
Erik Amaru Ortiz
8193f63b60 moving activity class to Project folder, defining workflow/engine/src/Services/Api/ProcessMaker/Project/ namespace 2013-12-02 12:47:58 -04:00