Merged in victorsl/processmaker (pull request #390)
ProcessMaker-BE "Category Fixes"
This commit is contained in:
@@ -14,7 +14,7 @@ class ProcessCategory extends Api
|
||||
private $formatFieldNameInUppercase = false;
|
||||
|
||||
/**
|
||||
* @url GET
|
||||
* @url GET /categories
|
||||
*/
|
||||
public function doGetCategories($filter = null, $start = null, $limit = null)
|
||||
{
|
||||
@@ -31,7 +31,7 @@ class ProcessCategory extends Api
|
||||
}
|
||||
|
||||
/**
|
||||
* @url GET /:cat_uid
|
||||
* @url GET /category/:cat_uid
|
||||
*
|
||||
* @param string $cat_uid {@min 32}{@max 32}
|
||||
*/
|
||||
@@ -50,7 +50,7 @@ class ProcessCategory extends Api
|
||||
}
|
||||
|
||||
/**
|
||||
* @url POST
|
||||
* @url POST /category
|
||||
*
|
||||
* @param string $cat_name
|
||||
*
|
||||
@@ -68,7 +68,7 @@ class ProcessCategory extends Api
|
||||
}
|
||||
|
||||
/**
|
||||
* @url PUT /:cat_uid
|
||||
* @url PUT /category/:cat_uid
|
||||
*
|
||||
* @param string $cat_uid {@min 32}{@max 32}
|
||||
* @param string $cat_name
|
||||
@@ -87,7 +87,7 @@ class ProcessCategory extends Api
|
||||
}
|
||||
|
||||
/**
|
||||
* @url DELETE /:cat_uid
|
||||
* @url DELETE /category/:cat_uid
|
||||
*
|
||||
* @param string $cat_uid {@min 32}{@max 32}
|
||||
*
|
||||
@@ -102,4 +102,5 @@ class ProcessCategory extends Api
|
||||
throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ debug = 1
|
||||
report-Table = "ProcessMaker\Services\Api\Project\ReportTable"
|
||||
sub-process= "ProcessMaker\Services\Api\Project\SubProcess"
|
||||
trigger-wizard = "ProcessMaker\Services\Api\Project\TriggerWizard"
|
||||
;category = "ProcessMaker\Services\Api\ProcessCategory"
|
||||
category = "ProcessMaker\Services\Api\ProcessCategory"
|
||||
|
||||
[alias: projects]
|
||||
project = "ProcessMaker\Services\Api\Project"
|
||||
@@ -70,8 +70,3 @@ debug = 1
|
||||
input-document = "ProcessMaker\Services\Api\Cases\InputDocument"
|
||||
output-document = "ProcessMaker\Services\Api\Cases\OutputDocument"
|
||||
|
||||
[alias: category]
|
||||
category = "ProcessMaker\Services\Api\ProcessCategory"
|
||||
|
||||
[alias: categories]
|
||||
category = "ProcessMaker\Services\Api\ProcessCategory"
|
||||
Reference in New Issue
Block a user