MantisBT: master 5926e097

Author Committer Branch Timestamp Parent
vboctor vboctor master 2017-12-01 22:11:08 master 0c535cf2
Affected Issues  0022789: Support retrieving user defined filters

Support getting filters for logged in user

  • /api/rest/filters returns all filters available for user across all projects.
  • /api/rest/filters?project_id=1 returns all filters available for user for all projects and specific project.

Project id can be 0 for "All Projects" or the id of a specific project.
If project id is not specified, all filters for accessible projects are returned.

Filters available to users include ones created by them or created by others and marked as public.

Fixes 0022789

mod - api/rest/index.php Diff File
add - api/rest/restcore/filters_rest.php Diff File
mod - api/soap/mc_api.php Diff File
mod - api/soap/mc_filter_api.php Diff File
mod - api/soap/mc_project_api.php Diff File
mod - core/filter_api.php Diff File