ProcessMaker-BE "Category Fixes"
- Se ha descomentado de la seccion "project" la linea "category" - Se ha eliminado las secciones "category" y "categories" en el archivo "api.ini" - Se ha modificado las URLs en el archivo ".../Services/Api/ProcessCategory.php" para que trabajen de manera normal
This commit is contained in:
@@ -14,7 +14,7 @@ class ProcessCategory extends Api
|
|||||||
private $formatFieldNameInUppercase = false;
|
private $formatFieldNameInUppercase = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @url GET
|
* @url GET /categories
|
||||||
*/
|
*/
|
||||||
public function doGetCategories($filter = null, $start = null, $limit = null)
|
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}
|
* @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
|
* @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_uid {@min 32}{@max 32}
|
||||||
* @param string $cat_name
|
* @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}
|
* @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()));
|
throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ debug = 1
|
|||||||
report-Table = "ProcessMaker\Services\Api\Project\ReportTable"
|
report-Table = "ProcessMaker\Services\Api\Project\ReportTable"
|
||||||
sub-process= "ProcessMaker\Services\Api\Project\SubProcess"
|
sub-process= "ProcessMaker\Services\Api\Project\SubProcess"
|
||||||
trigger-wizard = "ProcessMaker\Services\Api\Project\TriggerWizard"
|
trigger-wizard = "ProcessMaker\Services\Api\Project\TriggerWizard"
|
||||||
;category = "ProcessMaker\Services\Api\ProcessCategory"
|
category = "ProcessMaker\Services\Api\ProcessCategory"
|
||||||
|
|
||||||
[alias: projects]
|
[alias: projects]
|
||||||
project = "ProcessMaker\Services\Api\Project"
|
project = "ProcessMaker\Services\Api\Project"
|
||||||
@@ -70,8 +70,3 @@ debug = 1
|
|||||||
input-document = "ProcessMaker\Services\Api\Cases\InputDocument"
|
input-document = "ProcessMaker\Services\Api\Cases\InputDocument"
|
||||||
output-document = "ProcessMaker\Services\Api\Cases\OutputDocument"
|
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