Ghost/test/regression/api
Nazar Gargol 7904c303a7 Added invalid import record errors and counts
no issue

- This new format allows to return additional metadata with failed import records. The data for invalid records is returned in following format:
```
{
    count: {count_of_invalid_records},
    errors: [{
      message:	"Members not imported. Members with duplicate Stripe customer ids are not allowed." // message field of the error
     context:	"Attempting to import members with duplicate Stripe customer ids." // context field of the error
     help:	"Remove duplicate Stripe customer ids from the import file, and re-run the import." // help field of the error
     count:	2 // count of this specific error
    }]
};
- Errors are grouped by their context fields because message fields sometimes can contain unique information like Stripe customer id, which would produce too many errors in case of bigger datasets.
2020-06-12 19:59:36 +12:00
..
canary Added invalid import record errors and counts 2020-06-12 19:59:36 +12:00
v2 Removed final non-destructured imports of core/server/lib/common (#11858) 2020-05-28 17:54:18 +01:00
v3 Removed final non-destructured imports of core/server/lib/common (#11858) 2020-05-28 17:54:18 +01:00
admin_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00