Ghost/test/regression/api/v2/admin
naz ffd866cedc
💥 Reduced default exports content for DB APIs (#12818)
refs https://github.com/TryGhost/Team/issues/555

- Export files included a lot of data which was not used in the importer, for example: members,  labels, migrations and many more. This lead to a lot of clutter in the import files and made it hard to reason about their purpose.
- The main purpose of exports - is to export importable resources. These are posts, tags, and users. The rest of data like members or migrations either have their own importer (like CSV importer for members) or does not and should not have any ways to be imported.
- These changes are in now way complete. It's a first step towards resource-based exports which could be properly versioned in the future on API level and not be a mirror of the DB structure.
- This is sort of a breaking change. But we are doing it because: (1) its an internal API that should not be used by external clients, (2) there was no public contract to have this API stable at any point, (3) we really need to get back the control over export files structure and size
- In case an external client was dependent on some structure of the exported json file they can still pass in ALL of previously exported data by passing table names in `include` query parameter.
2021-03-25 19:27:49 +13:00
..
authentication_spec.js Fixed failing regression tests 2020-09-22 16:13:57 +12:00
db_spec.js 💥 Reduced default exports content for DB APIs (#12818) 2021-03-25 19:27:49 +13:00
images_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
notifications_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
oembed_spec.js Fixed oembed tests being network dependent 2020-11-30 21:44:15 +00:00
pages_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
posts_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
redirects_spec.js Fixed Redirects API regression tests 2020-06-16 10:24:13 +02:00
schedules_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
settings_spec.js Refactored usage of pre v4 "unsplash" setting format 2021-02-18 10:55:59 +13:00
site_spec.js Added regression tests for Admin API /site endpoints 2021-03-09 22:10:27 +13:00
slack_spec.js Removed final non-destructured imports of core/server/lib/common (#11858) 2020-05-28 17:54:18 +01:00
users_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
utils.js Updated utils for site endpoint response checks 2021-03-09 22:12:05 +13:00
webhooks_spec.js Fixed fixture creation order in webhooks tests 2021-03-04 10:56:58 +01:00