This PR introduces backend changes that add the following fields to the Profile model: - `modified` - `modifiedBy` - `modifiedByName` - `createdBy` - `createdByName` Modified fields are set to the same as the created fields when the resource is created, and changed when the profile is updated (profile itself or metadata). The list profiles endpoint now also supports `sortBy` and `sortDirection` options. The endpoint defaults to sorting by `modified` in descending order, but can also sort on `created` and `name`. Tests have also been updated to reflect all new behavior. |
||
---|---|---|
.. | ||
data | ||
__init__.py | ||
conftest.py | ||
echo_server.py | ||
test_collections.py | ||
test_crawl_config_search_values.py | ||
test_crawl_config_tags.py | ||
test_crawlconfigs.py | ||
test_filter_sort_results.py | ||
test_invites.py | ||
test_login.py | ||
test_org.py | ||
test_permissions.py | ||
test_profiles.py | ||
test_qa.py | ||
test_run_crawl.py | ||
test_settings.py | ||
test_stop_cancel_crawl.py | ||
test_uploads.py | ||
test_users.py | ||
test_utils.py | ||
test_webhooks.py | ||
test_workflow_auto_add_to_collection.py | ||
utils.py |