------------------
- Added test `test_restapi_annex_type_only_for_meeting_managers`, make sure an
annex `content_category` that is restricted to `MeetingManagers` using
`content_category.only_for_meeting_managers` is rendered the same way.
[gbastien]
- Try to build a more easy api :
- Turned `search_items` into `search` and `search_meetings` into
`search?type=meeting`;
- Parameter `getConfigId` is renamed to `config_id`;
- Added `in_name_of` parameter making it possible to use endpoint as another
user if original user is `(Meeting)Manager`.
[gbastien]
- Added `item` POST endpoint to be able to create item with/without annexes:
- Need to define new AT fields `deserializer` to apply WF before settings
field values;
- Manage optional fields (can not use when not enabled);
- Manage creation of annexes as `__children__` of item;
- Ease use by being able to define `config_id` only at first level
(so not for annexes);
- Ease use by being able to use organizations `ids` instead `UIDs`
in creation data;
- Manage `in_name_of` parameter.
[gbastien]
- Override `infos` endpoint from imio.restapi to add our own informations.
[gbastien]
- Added parameter `meetings_accepting_items=True` to `search`
when `type=meeting`, this will query only meetings accepting items but query
may still be completed with other arbitrary indexes.
[gbastien]
- Added `config` endpoint that will return a given `config_id` `MeetingConfig`
informations. Parameters `include_categories` (return enabled/disabled
categories), `include_pod_templates` (return enabled POD template) and
`include_searches` (return enabled DashboardCollections) are available.
[gbastien]
- Added `get` endpoint that receives an `UID` and returns the object found.
A convenience endpoint `item` do the same but just check that returned element
is a MeetingItem.
[gbastien]
- Added parameter `base_search_uid=collection_uid` to `search`,
this makes it possible to use the `query` defined on a `DashboardCollection`.
[gbastien]