Show alerts
GET {{base_url}}/alerts
HEADERS
| Key | Datatype | Required | Description |
RESPONSES
status: OK
[{"id":"mock:collections:load:base:variants","message":"Collection with id 'base' is invalid: routeVariant with id 'add-headers:enabled' was not found, use a valid 'routeId:variantId' identifier. routeVariant with id 'get-users:success' was not found, use a valid 'routeId:variantId' identifier. routeVariant with id 'get-user:success' was not found, use a valid 'routeId:variantId' identifier","error":null},{"id":"mock:collections:load:no-headers:variants","message":"Collection with id 'no-headers' is invalid: routeVariant with id 'add-headers:disabled' was not found, use a valid 'routeId:variantId' identifier","error":null},{"id":"mock:collections:load:all-users:variants","message":"Collection with id 'all-users' is invalid: routeVariant with id 'get-users:all' was not found, use a valid 'routeId:variantId' identifier. routeVariant with id 'get-user:id-3' was not found, use a valid 'routeId:variantId' identifier","error":null},{"id":"mock:collections:load:user-real:variants","message":"Collection with id 'user-real' is invalid: routeVariant with id 'get-user:real' was not found, use a valid 'routeId:variantId' identifier","error":null},{"id":"files:routes:error","message":"Error loading routes from folder /Users/mocks-server/test/mocks/routes","error":{"name":"ReferenceError","message":"FOO is not defined","stack":"ReferenceError: FOO is not defined\n at Object.\u003canonymous\u003e (/Users/mocks-server/test/mocks/routes/common.js:32:3)\n at Module._compile (node:internal/modules/cjs/loader:1105:14)\n at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)\n at Module.load (node:internal/modules/cjs/loader:981:32)\n at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n at Module.require (node:internal/modules/cjs/loader:1005:19)\n at FilesLoaders.require [as _require] (node:internal/modules/cjs/helpers:102:18)\n at FilesLoaders._readFile (/Users/mocks-server/test/node_modules/@mocks-server/core/src/files/FilesLoaders.js:117:26)\n at /Users/mocks-server/test/node_modules/@mocks-server/core/src/files/FilesLoaders.js:192:38\n at Array.map (\u003canonymous\u003e)"}}]