{"info":{"_postman_id":"78f71e70-57f9-4789-860e-4e23d2caa1da","name":"Feed Builder","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"3311263","collectionId":"78f71e70-57f9-4789-860e-4e23d2caa1da","publishedId":"2s935pqigm","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2023-02-07T15:26:34.000Z"},"item":[{"name":"Admin","item":[{"name":"Super admin","item":[{"name":"Create Client Rules","id":"f1a99ff1-e9c8-4579-9fe8-39f1f27ca071","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"GYMNASTICSAUS\",\n    \"sortOptions\": [\n        {\n            \"label\": \"Publish date (oldest first)\",\n            \"value\": \"publishDate\"\n        },\n        {\n            \"label\": \"Publish date (newest first)\",\n            \"value\": \"publishDate,desc\"\n        }\n    ],\n    \"returnTypeOptions\": [\n        {\n            \"label\": \"Articles only\",\n            \"value\": \"0\"\n        },\n        {\n            \"label\": \"Pages only\",\n            \"value\": \"1\"\n        },\n        {\n            \"label\": \"Articles & pages\",\n            \"value\": \"2\"\n        }\n    ],\n    \"rules\": [\n        {\n            \"title\": \"Specific content\",\n            \"key\": \"id.keyword\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"options\": null,\n                \"operators\": [\n                    {\n                        \"label\": \"Equals\",\n                        \"value\": \"=\"\n                    },\n                    {\n                        \"label\": \"Does Not Equal\",\n                        \"value\": \"!=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Linked ID source system\",\n            \"key\": \"linkedIds.sourceSystem.keyword\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"options\": [\n                    {\n                        \"label\": \"Competition\",\n                        \"value\": \"OPTA_FOOTBALL_COMPETITION\"\n                    },\n                    {\n                        \"label\": \"Team\",\n                        \"value\": \"OPTA_FOOTBALL_TEAM\"\n                    },\n                    {\n                        \"label\": \"Match\",\n                        \"value\": \"OPTA_MATCH\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                        \"label\": \"equals\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Linked ID source system ID\",\n            \"key\": \"linkedIds.sourceSystemId.keyword\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"options\": null,\n                \"operators\": [\n                    {\n                        \"label\": \"equals\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Tags\",\n            \"key\": \"tags.keyword\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"options\": null,\n                \"operators\": [\n                    {\n                        \"label\": \"Includes\",\n                        \"value\": \"IN\"\n                    },\n                    {\n                        \"label\": \"Excludes\",\n                        \"value\": \"NOT_IN\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Categories\",\n            \"key\": \"categories.id.keyword\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"options\": null,\n                \"operators\": [\n                    {\n                        \"label\": \"Includes\",\n                        \"value\": \"IN\"\n                    },\n                    {\n                        \"label\": \"Excludes\",\n                        \"value\": \"NOT_IN\"\n                    }\n                ]\n            }\n        }, \n        {\n            \"title\" : \"Hero media content type\",\n            \"key\" : \"heroMedia.content.contentType.keyword\",\n            \"metadata\" : {\n                \"type\" : \"select\",\n                \"options\" : [ \n                    {\n                        \"label\" : \"Image\",\n                        \"value\" : \"IMAGE\"\n                    }, \n                    {\n                        \"label\" : \"Video\",\n                        \"value\" : \"VIDEO\"\n                    }\n                ],\n                \"operators\" : [ \n                    {\n                        \"label\" : \"equals\",\n                        \"value\" : \"=\"\n                    }\n                ]\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/admin/rules","urlObject":{"path":["v1","admin","rules"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"69a012c1-9af7-4d5d-a6f7-96fcc5428cc5","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"a\",\n    \"sortOptions\" : [\n    {\n        \"label\": \"Publish Date Ascending\",\n        \"value\": \"publishDate\"\n      },\n      {\n        \"label\": \"Publish Date Descending\",\n        \"value\": \"publishDate,desc\"\n      }\n    ],\n    \"rules\": [\n        {\n            \"title\": \"Media Type\",\n            \"key\": \"mediaType\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"On Demand\",\n                        \"value\": \"ondemand\"\n                    },\n                    {\n                        \"label\": \"Streaming\",\n                        \"value\": \"streaming\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n              {\n            \"title\": \"Linked ID Source System\",\n            \"key\": \"linkedIds.sourceSystem.keyword\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"Competition\",\n                        \"value\": \"OPTA_FOOTBALL_COMPETITION\"\n                    },\n                    {\n                        \"label\": \"Team\",\n                        \"value\": \"OPTA_FOOTBALL_TEAM\"\n                    },\n                        {\n                        \"label\": \"Match\",\n                        \"value\": \"OPTA_MATCH\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n                     {\n            \"title\": \"Linked ID Source System ID\",\n            \"key\": \"linkedIds.sourceSystemId.keyword\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Tags\",\n            \"key\": \"tags.keyword\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"INCLUDES\",\n                        \"value\": \"IN\"\n                    },\n                    {\n                        \"label\": \"EXCLUDES\",\n                        \"value\": \"NOT_IN\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Categories\",\n            \"key\": \"categories.text.keyword\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"INCLUDES\",\n                        \"value\": \"IN\"\n                    },\n                    {\n                        \"label\": \"EXCLUDES\",\n                        \"value\": \"NOT_IN\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Hits\",\n            \"key\": \"hits\",\n            \"metadata\": {\n                \"type\": \"number\",\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    },\n                    {\n                        \"label\": \"less than\",\n                        \"value\": \"<\"\n                    },\n                    {\n                        \"label\": \"less than or equal to\",\n                        \"value\": \"<=\"\n                    },\n                    {\n                        \"label\": \"greater than\",\n                        \"value\": \">\"\n                    },\n                    {\n                        \"label\": \"greater than or equal to\",\n                        \"value\": \">=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Teams\",\n            \"key\": \"teamId\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"Leeds\",\n                        \"value\": \"t2\"\n                    },\n                    {\n                        \"label\": \"Brighton\",\n                        \"value\": \"t36\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                    \n                        \"label\": \"Brighton\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/admin/rules"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 11:34:46 GMT"},{"key":"Content-Length","value":"2028"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"id\": \"a\",\n        \"rules\": [\n            {\n                \"title\": \"Media Type\",\n                \"key\": \"mediaType\",\n                \"metadata\": {\n                    \"type\": \"select\",\n                    \"options\": [\n                        {\n                            \"label\": \"On Demand\",\n                            \"value\": \"ondemand\"\n                        },\n                        {\n                            \"label\": \"Streaming\",\n                            \"value\": \"streaming\"\n                        }\n                    ],\n                    \"operators\": [\n                        {\n                            \"label\": \"equal\",\n                            \"value\": \"=\"\n                        }\n                    ]\n                }\n            },\n            {\n                \"title\": \"Linked ID Source System\",\n                \"key\": \"linkedIds.sourceSystem.keyword\",\n                \"metadata\": {\n                    \"type\": \"select\",\n                    \"options\": [\n                        {\n                            \"label\": \"Competition\",\n                            \"value\": \"OPTA_FOOTBALL_COMPETITION\"\n                        },\n                        {\n                            \"label\": \"Team\",\n                            \"value\": \"OPTA_FOOTBALL_TEAM\"\n                        },\n                        {\n                            \"label\": \"Match\",\n                            \"value\": \"OPTA_MATCH\"\n                        }\n                    ],\n                    \"operators\": [\n                        {\n                            \"label\": \"equal\",\n                            \"value\": \"=\"\n                        }\n                    ]\n                }\n            },\n            {\n                \"title\": \"Linked ID Source System ID\",\n                \"key\": \"linkedIds.sourceSystemId.keyword\",\n                \"metadata\": {\n                    \"type\": \"text\",\n                    \"operators\": [\n                        {\n                            \"label\": \"equal\",\n                            \"value\": \"=\"\n                        }\n                    ]\n                }\n            },\n            {\n                \"title\": \"Tags\",\n                \"key\": \"tags.keyword\",\n                \"metadata\": {\n                    \"type\": \"text\",\n                    \"operators\": [\n                        {\n                            \"label\": \"INCLUDES\",\n                            \"value\": \"IN\"\n                        },\n                        {\n                            \"label\": \"EXCLUDES\",\n                            \"value\": \"NOT_IN\"\n                        }\n                    ]\n                }\n            },\n            {\n                \"title\": \"Categories\",\n                \"key\": \"categories.text.keyword\",\n                \"metadata\": {\n                    \"type\": \"text\",\n                    \"operators\": [\n                        {\n                            \"label\": \"INCLUDES\",\n                            \"value\": \"IN\"\n                        },\n                        {\n                            \"label\": \"EXCLUDES\",\n                            \"value\": \"NOT_IN\"\n                        }\n                    ]\n                }\n            },\n            {\n                \"title\": \"Hits\",\n                \"key\": \"hits\",\n                \"metadata\": {\n                    \"type\": \"number\",\n                    \"operators\": [\n                        {\n                            \"label\": \"equal\",\n                            \"value\": \"=\"\n                        },\n                        {\n                            \"label\": \"less than\",\n                            \"value\": \"<\"\n                        },\n                        {\n                            \"label\": \"less than or equal to\",\n                            \"value\": \"<=\"\n                        },\n                        {\n                            \"label\": \"greater than\",\n                            \"value\": \">\"\n                        },\n                        {\n                            \"label\": \"greater than or equal to\",\n                            \"value\": \">=\"\n                        }\n                    ]\n                }\n            },\n            {\n                \"title\": \"Teams\",\n                \"key\": \"teamId\",\n                \"metadata\": {\n                    \"type\": \"select\",\n                    \"options\": [\n                        {\n                            \"label\": \"Leeds\",\n                            \"value\": \"t2\"\n                        },\n                        {\n                            \"label\": \"Brighton\",\n                            \"value\": \"t36\"\n                        }\n                    ],\n                    \"operators\": [\n                        {\n                            \"label\": \"Brighton\",\n                            \"value\": \"=\"\n                        }\n                    ]\n                }\n            }\n        ],\n        \"sortOptions\": [\n            {\n                \"label\": \"Publish Date Ascending\",\n                \"value\": \"publishDate\"\n            },\n            {\n                \"label\": \"Publish Date Descending\",\n                \"value\": \"publishDate,desc\"\n            }\n        ],\n        \"deleted\": false,\n        \"created\": {\n            \"date\": \"2020-06-02T12:34:46.507Z\",\n            \"editorName\": \"Ioannis D\",\n            \"editorAuthId\": 639,\n            \"editorEmail\": \"jordan.hitchman@incrowdsports.com\",\n            \"editorIp\": \"\"\n        },\n        \"lastModified\": {\n            \"date\": \"2020-06-02T12:34:46.507Z\",\n            \"editorName\": \"Ioannis D\",\n            \"editorAuthId\": 639,\n            \"editorEmail\": \"jordan.hitchman@incrowdsports.com\",\n            \"editorIp\": \"\"\n        }\n    },\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T11:34:46.508Z\"\n    }\n}"},{"id":"78c4ad01-235c-4d5b-b038-5f673c54ef14","name":"Authorization header is required","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"a\",\n    \"sortOptions\" : [\n    {\n        \"label\": \"Publish Date Ascending\",\n        \"value\": \"publishDate\"\n      },\n      {\n        \"label\": \"Publish Date Descending\",\n        \"value\": \"publishDate,desc\"\n      }\n    ],\n    \"rules\": [\n        {\n            \"title\": \"Media Type\",\n            \"key\": \"mediaType\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"On Demand\",\n                        \"value\": \"ondemand\"\n                    },\n                    {\n                        \"label\": \"Streaming\",\n                        \"value\": \"streaming\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n              {\n            \"title\": \"Linked ID Source System\",\n            \"key\": \"linkedIds.sourceSystem.keyword\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"Competition\",\n                        \"value\": \"OPTA_FOOTBALL_COMPETITION\"\n                    },\n                    {\n                        \"label\": \"Team\",\n                        \"value\": \"OPTA_FOOTBALL_TEAM\"\n                    },\n                        {\n                        \"label\": \"Match\",\n                        \"value\": \"OPTA_MATCH\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n                     {\n            \"title\": \"Linked ID Source System ID\",\n            \"key\": \"linkedIds.sourceSystemId.keyword\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Tags\",\n            \"key\": \"tags.keyword\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"INCLUDES\",\n                        \"value\": \"IN\"\n                    },\n                    {\n                        \"label\": \"EXCLUDES\",\n                        \"value\": \"NOT_IN\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Categories\",\n            \"key\": \"categories.text.keyword\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"INCLUDES\",\n                        \"value\": \"IN\"\n                    },\n                    {\n                        \"label\": \"EXCLUDES\",\n                        \"value\": \"NOT_IN\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Hits\",\n            \"key\": \"hits\",\n            \"metadata\": {\n                \"type\": \"number\",\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    },\n                    {\n                        \"label\": \"less than\",\n                        \"value\": \"<\"\n                    },\n                    {\n                        \"label\": \"less than or equal to\",\n                        \"value\": \"<=\"\n                    },\n                    {\n                        \"label\": \"greater than\",\n                        \"value\": \">\"\n                    },\n                    {\n                        \"label\": \"greater than or equal to\",\n                        \"value\": \">=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Teams\",\n            \"key\": \"teamId\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"Leeds\",\n                        \"value\": \"t2\"\n                    },\n                    {\n                        \"label\": \"Brighton\",\n                        \"value\": \"t36\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                    \n                        \"label\": \"Brighton\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/admin/rules"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 11:35:17 GMT"},{"key":"Content-Length","value":"115"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Authorization header is required\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T11:35:17.732Z\"\n    }\n}"},{"id":"86c41e0c-11b3-44b1-b4fc-38e7323d0fc8","name":"Already exists","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"a\",\n    \"sortOptions\" : [\n    {\n        \"label\": \"Publish Date Ascending\",\n        \"value\": \"publishDate\"\n      },\n      {\n        \"label\": \"Publish Date Descending\",\n        \"value\": \"publishDate,desc\"\n      }\n    ],\n    \"rules\": [\n        {\n            \"title\": \"Media Type\",\n            \"key\": \"mediaType\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"On Demand\",\n                        \"value\": \"ondemand\"\n                    },\n                    {\n                        \"label\": \"Streaming\",\n                        \"value\": \"streaming\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n              {\n            \"title\": \"Linked ID Source System\",\n            \"key\": \"linkedIds.sourceSystem.keyword\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"Competition\",\n                        \"value\": \"OPTA_FOOTBALL_COMPETITION\"\n                    },\n                    {\n                        \"label\": \"Team\",\n                        \"value\": \"OPTA_FOOTBALL_TEAM\"\n                    },\n                        {\n                        \"label\": \"Match\",\n                        \"value\": \"OPTA_MATCH\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n                     {\n            \"title\": \"Linked ID Source System ID\",\n            \"key\": \"linkedIds.sourceSystemId.keyword\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Tags\",\n            \"key\": \"tags.keyword\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"INCLUDES\",\n                        \"value\": \"IN\"\n                    },\n                    {\n                        \"label\": \"EXCLUDES\",\n                        \"value\": \"NOT_IN\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Categories\",\n            \"key\": \"categories.text.keyword\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"INCLUDES\",\n                        \"value\": \"IN\"\n                    },\n                    {\n                        \"label\": \"EXCLUDES\",\n                        \"value\": \"NOT_IN\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Hits\",\n            \"key\": \"hits\",\n            \"metadata\": {\n                \"type\": \"number\",\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    },\n                    {\n                        \"label\": \"less than\",\n                        \"value\": \"<\"\n                    },\n                    {\n                        \"label\": \"less than or equal to\",\n                        \"value\": \"<=\"\n                    },\n                    {\n                        \"label\": \"greater than\",\n                        \"value\": \">\"\n                    },\n                    {\n                        \"label\": \"greater than or equal to\",\n                        \"value\": \">=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Teams\",\n            \"key\": \"teamId\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"Leeds\",\n                        \"value\": \"t2\"\n                    },\n                    {\n                        \"label\": \"Brighton\",\n                        \"value\": \"t36\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                    \n                        \"label\": \"Brighton\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/admin/rules"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 11:35:04 GMT"},{"key":"Content-Length","value":"114"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Client with ID a already exists\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T11:35:04.483Z\"\n    }\n}"},{"id":"d91c178b-ee2d-4e6e-bcba-fc648e4b0aaf","name":"Validation Failed","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"sortOptions\" : [\n    {\n        \"label\": \"Publish Date Ascending\",\n        \"value\": \"publishDate\"\n      },\n      {\n        \"label\": \"Publish Date Descending\",\n        \"value\": \"publishDate,desc\"\n      }\n    ],\n    \"rules\": [\n        {\n            \"title\": \"Media Type\",\n            \"key\": \"mediaType\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"On Demand\",\n                        \"value\": \"ondemand\"\n                    },\n                    {\n                        \"label\": \"Streaming\",\n                        \"value\": \"streaming\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n              {\n            \"title\": \"Linked ID Source System\",\n            \"key\": \"linkedIds.sourceSystem.keyword\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"Competition\",\n                        \"value\": \"OPTA_FOOTBALL_COMPETITION\"\n                    },\n                    {\n                        \"label\": \"Team\",\n                        \"value\": \"OPTA_FOOTBALL_TEAM\"\n                    },\n                        {\n                        \"label\": \"Match\",\n                        \"value\": \"OPTA_MATCH\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n                     {\n            \"title\": \"Linked ID Source System ID\",\n            \"key\": \"linkedIds.sourceSystemId.keyword\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Tags\",\n            \"key\": \"tags.keyword\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"INCLUDES\",\n                        \"value\": \"IN\"\n                    },\n                    {\n                        \"label\": \"EXCLUDES\",\n                        \"value\": \"NOT_IN\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Categories\",\n            \"key\": \"categories.text.keyword\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"INCLUDES\",\n                        \"value\": \"IN\"\n                    },\n                    {\n                        \"label\": \"EXCLUDES\",\n                        \"value\": \"NOT_IN\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Hits\",\n            \"key\": \"hits\",\n            \"metadata\": {\n                \"type\": \"number\",\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    },\n                    {\n                        \"label\": \"less than\",\n                        \"value\": \"<\"\n                    },\n                    {\n                        \"label\": \"less than or equal to\",\n                        \"value\": \"<=\"\n                    },\n                    {\n                        \"label\": \"greater than\",\n                        \"value\": \">\"\n                    },\n                    {\n                        \"label\": \"greater than or equal to\",\n                        \"value\": \">=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Teams\",\n            \"key\": \"teamId\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"Leeds\",\n                        \"value\": \"t2\"\n                    },\n                    {\n                        \"label\": \"Brighton\",\n                        \"value\": \"t36\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                    \n                        \"label\": \"Brighton\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/admin/rules"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 11:35:50 GMT"},{"key":"Content-Length","value":"187"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Key: 'createClientRulesForm.ClientID' Error:Field validation for 'ClientID' failed on the 'required' tag\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T11:35:50.628Z\"\n    }\n}"}],"_postman_id":"f1a99ff1-e9c8-4579-9fe8-39f1f27ca071"},{"name":"Delete Client Rules","id":"1bd15736-a3ad-4cd3-9027-978405b3bed5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/v1/admin/rules/{{clientId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"username","value":"<username>"},{"key":"password","value":"<password>"},{"key":"grant_type","value":"<grant_type>"},{"key":"clientId","value":"<client-id>"},{"key":"authUrl","value":"<auth-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"accessTokenUrl","value":"<access-token-url>"}]},"isInherited":true,"source":{"_postman_id":"78f71e70-57f9-4789-860e-4e23d2caa1da","id":"78f71e70-57f9-4789-860e-4e23d2caa1da","name":"Feed Builder","type":"collection"}},"urlObject":{"path":["v1","admin","rules","{{clientId}}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"08fba4f2-a8ea-4b25-8505-2dec0948dc36","name":"Token expired","originalRequest":{"method":"DELETE","header":[],"url":"{{url}}/v1/admin/rules/{{clientId}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:20:46 GMT"},{"key":"Content-Length","value":"159"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"data\": \"token is expired by 477h54m24s\",\n    \"message\": \"Could not decode authorization token\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:20:46.742Z\"\n    }\n}"},{"id":"19c2c01f-3d9f-4193-a637-54e1d3256a5e","name":"Rules not found","originalRequest":{"method":"DELETE","header":[],"url":"{{url}}/v1/admin/rules/{{clientId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:21:26 GMT"},{"key":"Content-Length","value":"120"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"clientRules with ID INCROWD not found\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:21:26.377Z\"\n    }\n}"},{"id":"6aac9e98-bed0-4f55-954f-15e6f0a5da40","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":"{{url}}/v1/admin/rules/{{clientId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:20:19 GMT"},{"key":"Content-Length","value":"73"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:20:19.982Z\"\n    }\n}"},{"id":"c13890f5-9fb6-48e8-9b7d-945338c308d7","name":"Authorization header is required","originalRequest":{"method":"DELETE","header":[],"url":"{{url}}/v1/admin/rules/{{clientId}}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:21:04 GMT"},{"key":"Content-Length","value":"115"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Authorization header is required\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:21:04.165Z\"\n    }\n}"}],"_postman_id":"1bd15736-a3ad-4cd3-9027-978405b3bed5"},{"name":"Update Client Rules","id":"14a79649-ff13-48c6-b38c-7d93dc70dac5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"INCROWD\",\n    \"rules\": [\n        {\n            \"title\": \"Specific Content\",\n            \"key\": \"id\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Linked ID Source System ID\",\n            \"key\": \"linkedIds.sourceSystemId.keyword\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Linked ID Source System\",\n            \"key\": \"linkedIds.sourceSystem.keyword\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"Competition\",\n                        \"value\": \"OPTA_FOOTBALL_COMPETITION\"\n                    },\n                    {\n                        \"label\": \"Team\",\n                        \"value\": \"OPTA_FOOTBALL_TEAM\"\n                    },\n                    {\n                        \"label\": \"Match\",\n                        \"value\": \"OPTA_MATCH\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Tags\",\n            \"key\": \"tags\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"Includes\",\n                        \"value\": \"IN\"\n                    },\n                    {\n                        \"label\": \"Excludes\",\n                        \"value\": \"NOT_IN\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Categories\",\n            \"key\": \"categories.text\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"Includes\",\n                        \"value\": \"IN\"\n                    },\n                    {\n                        \"label\": \"Excludes\",\n                        \"value\": \"NOT_IN\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Hits\",\n            \"key\": \"hits\",\n            \"metadata\": {\n                \"type\": \"number\",\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    },\n                    {\n                        \"label\": \"less than\",\n                        \"value\": \"<\"\n                    },\n                    {\n                        \"label\": \"less than or equal to\",\n                        \"value\": \"<=\"\n                    },\n                    {\n                        \"label\": \"greater than\",\n                        \"value\": \">\"\n                    },\n                    {\n                        \"label\": \"greater than or equal to\",\n                        \"value\": \">=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Teams\",\n            \"key\": \"teamId\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"Leeds\",\n                        \"value\": \"t2\"\n                    },\n                    {\n                        \"label\": \"Brighton\",\n                        \"value\": \"t36\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                        \"label\": \"Brighton\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        }, \n        {\n            \"title\" : \"Hero media content type\",\n            \"key\" : \"heroMedia.content.contentType.keyword\",\n            \"metadata\" : {\n                \"type\" : \"select\",\n                \"options\" : [ \n                    {\n                        \"label\" : \"Image\",\n                        \"value\" : \"IMAGE\"\n                    }, \n                    {\n                        \"label\" : \"Video\",\n                        \"value\" : \"VIDEO\"\n                    }\n                ],\n                \"operators\" : [ \n                    {\n                        \"label\" : \"equals\",\n                        \"value\" : \"=\"\n                    }\n                ]\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/admin/rules/{{clientId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"username","value":"<username>"},{"key":"password","value":"<password>"},{"key":"grant_type","value":"<grant_type>"},{"key":"clientId","value":"<client-id>"},{"key":"authUrl","value":"<auth-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"accessTokenUrl","value":"<access-token-url>"}]},"isInherited":true,"source":{"_postman_id":"78f71e70-57f9-4789-860e-4e23d2caa1da","id":"78f71e70-57f9-4789-860e-4e23d2caa1da","name":"Feed Builder","type":"collection"}},"urlObject":{"path":["v1","admin","rules","{{clientId}}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"27ff3ea4-1d11-4609-82ef-086a5497c49b","name":"Rules not found","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"INCROWD\",\n    \"rules\": [\n        {\n            \"title\": \"Media Type\",\n            \"key\": \"mediaType\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"On Demand\",\n                        \"value\": \"ondemand\"\n                    },\n                    {\n                        \"label\": \"Streaming\",\n                        \"value\": \"streaming\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Tags\",\n            \"key\": \"tags\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"INCLUDES\",\n                        \"value\": \"IN\"\n                    },\n                    {\n                        \"label\": \"EXCLUDES\",\n                        \"value\": \"NOT_IN\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Categories\",\n            \"key\": \"categories.text\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"INCLUDES\",\n                        \"value\": \"IN\"\n                    },\n                    {\n                        \"label\": \"EXCLUDES\",\n                        \"value\": \"NOT_IN\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Hits\",\n            \"key\": \"hits\",\n            \"metadata\": {\n                \"type\": \"number\",\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    },\n                    {\n                        \"label\": \"less than\",\n                        \"value\": \"<\"\n                    },\n                    {\n                        \"label\": \"less than or equal to\",\n                        \"value\": \"<=\"\n                    },\n                    {\n                        \"label\": \"greater than\",\n                        \"value\": \">\"\n                    },\n                    {\n                        \"label\": \"greater than or equal to\",\n                        \"value\": \">=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Teams\",\n            \"key\": \"teamId\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"Leeds\",\n                        \"value\": \"t2\"\n                    },\n                    {\n                        \"label\": \"Brighton\",\n                        \"value\": \"t36\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                    \n                        \"label\": \"Brighton\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/admin/rules/{{clientId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:25:12 GMT"},{"key":"Content-Length","value":"114"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"clientRules with ID a not found\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:25:12.385Z\"\n    }\n}"},{"id":"84fe3252-ea74-4f05-b5df-260f4982aba0","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"INCROWD\",\n    \"rules\": [\n        {\n            \"title\": \"Media Type\",\n            \"key\": \"mediaType\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"On Demand\",\n                        \"value\": \"ondemand\"\n                    },\n                    {\n                        \"label\": \"Streaming\",\n                        \"value\": \"streaming\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Tags\",\n            \"key\": \"tags\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"INCLUDES\",\n                        \"value\": \"IN\"\n                    },\n                    {\n                        \"label\": \"EXCLUDES\",\n                        \"value\": \"NOT_IN\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Categories\",\n            \"key\": \"categories.text\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"INCLUDES\",\n                        \"value\": \"IN\"\n                    },\n                    {\n                        \"label\": \"EXCLUDES\",\n                        \"value\": \"NOT_IN\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Hits\",\n            \"key\": \"hits\",\n            \"metadata\": {\n                \"type\": \"number\",\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    },\n                    {\n                        \"label\": \"less than\",\n                        \"value\": \"<\"\n                    },\n                    {\n                        \"label\": \"less than or equal to\",\n                        \"value\": \"<=\"\n                    },\n                    {\n                        \"label\": \"greater than\",\n                        \"value\": \">\"\n                    },\n                    {\n                        \"label\": \"greater than or equal to\",\n                        \"value\": \">=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Teams\",\n            \"key\": \"teamId\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"Leeds\",\n                        \"value\": \"t2\"\n                    },\n                    {\n                        \"label\": \"Brighton\",\n                        \"value\": \"t36\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                    \n                        \"label\": \"Brighton\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/admin/rules/{{clientId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:24:58 GMT"},{"key":"Content-Length","value":"1562"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"id\": \"INCROWD\",\n        \"rules\": [\n            {\n                \"title\": \"Media Type\",\n                \"key\": \"mediaType\",\n                \"metadata\": {\n                    \"type\": \"select\",\n                    \"options\": [\n                        {\n                            \"label\": \"On Demand\",\n                            \"value\": \"ondemand\"\n                        },\n                        {\n                            \"label\": \"Streaming\",\n                            \"value\": \"streaming\"\n                        }\n                    ],\n                    \"operators\": [\n                        {\n                            \"label\": \"equal\",\n                            \"value\": \"=\"\n                        }\n                    ]\n                }\n            },\n            {\n                \"title\": \"Tags\",\n                \"key\": \"tags\",\n                \"metadata\": {\n                    \"type\": \"text\",\n                    \"operators\": [\n                        {\n                            \"label\": \"INCLUDES\",\n                            \"value\": \"IN\"\n                        },\n                        {\n                            \"label\": \"EXCLUDES\",\n                            \"value\": \"NOT_IN\"\n                        }\n                    ]\n                }\n            },\n            {\n                \"title\": \"Categories\",\n                \"key\": \"categories.text\",\n                \"metadata\": {\n                    \"type\": \"text\",\n                    \"operators\": [\n                        {\n                            \"label\": \"INCLUDES\",\n                            \"value\": \"IN\"\n                        },\n                        {\n                            \"label\": \"EXCLUDES\",\n                            \"value\": \"NOT_IN\"\n                        }\n                    ]\n                }\n            },\n            {\n                \"title\": \"Hits\",\n                \"key\": \"hits\",\n                \"metadata\": {\n                    \"type\": \"number\",\n                    \"operators\": [\n                        {\n                            \"label\": \"equal\",\n                            \"value\": \"=\"\n                        },\n                        {\n                            \"label\": \"less than\",\n                            \"value\": \"<\"\n                        },\n                        {\n                            \"label\": \"less than or equal to\",\n                            \"value\": \"<=\"\n                        },\n                        {\n                            \"label\": \"greater than\",\n                            \"value\": \">\"\n                        },\n                        {\n                            \"label\": \"greater than or equal to\",\n                            \"value\": \">=\"\n                        }\n                    ]\n                }\n            },\n            {\n                \"title\": \"Teams\",\n                \"key\": \"teamId\",\n                \"metadata\": {\n                    \"type\": \"select\",\n                    \"options\": [\n                        {\n                            \"label\": \"Leeds\",\n                            \"value\": \"t2\"\n                        },\n                        {\n                            \"label\": \"Brighton\",\n                            \"value\": \"t36\"\n                        }\n                    ],\n                    \"operators\": [\n                        {\n                            \"label\": \"Brighton\",\n                            \"value\": \"=\"\n                        }\n                    ]\n                }\n            }\n        ],\n        \"sortOptions\": [\n            {\n                \"label\": \"Publish Date Ascending\",\n                \"value\": \"publishDate\"\n            },\n            {\n                \"label\": \"Publish Date Descending\",\n                \"value\": \"publishDate,desc\"\n            }\n        ],\n        \"deleted\": false,\n        \"created\": {\n            \"date\": \"2020-06-02T15:24:54.970Z\",\n            \"editorName\": \"Ioannis D\",\n            \"editorAuthId\": 639,\n            \"editorEmail\": \"jordan.hitchman@incrowdsports.com\",\n            \"editorIp\": \"\"\n        },\n        \"lastModified\": {\n            \"date\": \"2020-06-02T15:24:58.363Z\",\n            \"editorName\": \"Ioannis D\",\n            \"editorAuthId\": 639,\n            \"editorEmail\": \"jordan.hitchman@incrowdsports.com\",\n            \"editorIp\": \"\"\n        }\n    },\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:24:58.365Z\"\n    }\n}"},{"id":"9b1f146b-d5e3-496b-88d4-1eb7b4b18a2c","name":"Success (Updated)","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"INCROWD\",\n    \"rules\": [\n          {\n            \"title\": \"Linked ID Source System ID\",\n            \"key\": \"linkedIds.sourceSystemId.keyword\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Linked ID Source System\",\n            \"key\": \"linkedIds.sourceSystem.keyword\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"Competition\",\n                        \"value\": \"OPTA_FOOTBALL_COMPETITION\"\n                    },\n                    {\n                        \"label\": \"Team\",\n                        \"value\": \"OPTA_FOOTBALL_TEAM\"\n                    },\n                    {\n                        \"label\": \"Match\",\n                        \"value\": \"OPTA_MATCH\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Tags\",\n            \"key\": \"tags\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"Includes\",\n                        \"value\": \"IN\"\n                    },\n                    {\n                        \"label\": \"Excludes\",\n                        \"value\": \"NOT_IN\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Categories\",\n            \"key\": \"categories.text\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"Includes\",\n                        \"value\": \"IN\"\n                    },\n                    {\n                        \"label\": \"Excludes\",\n                        \"value\": \"NOT_IN\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Hits\",\n            \"key\": \"hits\",\n            \"metadata\": {\n                \"type\": \"number\",\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    },\n                    {\n                        \"label\": \"less than\",\n                        \"value\": \"<\"\n                    },\n                    {\n                        \"label\": \"less than or equal to\",\n                        \"value\": \"<=\"\n                    },\n                    {\n                        \"label\": \"greater than\",\n                        \"value\": \">\"\n                    },\n                    {\n                        \"label\": \"greater than or equal to\",\n                        \"value\": \">=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Teams\",\n            \"key\": \"teamId\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"Leeds\",\n                        \"value\": \"t2\"\n                    },\n                    {\n                        \"label\": \"Brighton\",\n                        \"value\": \"t36\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                    \n                        \"label\": \"Brighton\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/admin/rules/{{clientId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 06 Jul 2020 08:28:10 GMT"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 5da47734f496c05ba90c546c024fb779.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR61-C2"},{"key":"X-Amz-Cf-Id","value":"u5o8LvOy9uOF-roHPibhY6n5kV7EY0xfwVnqeFejmpLHv_xt68Uwvw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"id\": \"INCROWD\",\n        \"rules\": [\n            {\n                \"title\": \"Linked ID Source System ID\",\n                \"key\": \"linkedIds.sourceSystemId.keyword\",\n                \"metadata\": {\n                    \"type\": \"text\",\n                    \"operators\": [\n                        {\n                            \"label\": \"equal\",\n                            \"value\": \"=\"\n                        }\n                    ]\n                }\n            },\n            {\n                \"title\": \"Linked ID Source System\",\n                \"key\": \"linkedIds.sourceSystem.keyword\",\n                \"metadata\": {\n                    \"type\": \"select\",\n                    \"options\": [\n                        {\n                            \"label\": \"Competition\",\n                            \"value\": \"OPTA_FOOTBALL_COMPETITION\"\n                        },\n                        {\n                            \"label\": \"Team\",\n                            \"value\": \"OPTA_FOOTBALL_TEAM\"\n                        },\n                        {\n                            \"label\": \"Match\",\n                            \"value\": \"OPTA_MATCH\"\n                        }\n                    ],\n                    \"operators\": [\n                        {\n                            \"label\": \"equal\",\n                            \"value\": \"=\"\n                        }\n                    ]\n                }\n            },\n            {\n                \"title\": \"Tags\",\n                \"key\": \"tags\",\n                \"metadata\": {\n                    \"type\": \"text\",\n                    \"operators\": [\n                        {\n                            \"label\": \"Includes\",\n                            \"value\": \"IN\"\n                        },\n                        {\n                            \"label\": \"Excludes\",\n                            \"value\": \"NOT_IN\"\n                        }\n                    ]\n                }\n            },\n            {\n                \"title\": \"Categories\",\n                \"key\": \"categories.text\",\n                \"metadata\": {\n                    \"type\": \"text\",\n                    \"operators\": [\n                        {\n                            \"label\": \"Includes\",\n                            \"value\": \"IN\"\n                        },\n                        {\n                            \"label\": \"Excludes\",\n                            \"value\": \"NOT_IN\"\n                        }\n                    ]\n                }\n            },\n            {\n                \"title\": \"Hits\",\n                \"key\": \"hits\",\n                \"metadata\": {\n                    \"type\": \"number\",\n                    \"operators\": [\n                        {\n                            \"label\": \"equal\",\n                            \"value\": \"=\"\n                        },\n                        {\n                            \"label\": \"less than\",\n                            \"value\": \"<\"\n                        },\n                        {\n                            \"label\": \"less than or equal to\",\n                            \"value\": \"<=\"\n                        },\n                        {\n                            \"label\": \"greater than\",\n                            \"value\": \">\"\n                        },\n                        {\n                            \"label\": \"greater than or equal to\",\n                            \"value\": \">=\"\n                        }\n                    ]\n                }\n            },\n            {\n                \"title\": \"Teams\",\n                \"key\": \"teamId\",\n                \"metadata\": {\n                    \"type\": \"select\",\n                    \"options\": [\n                        {\n                            \"label\": \"Leeds\",\n                            \"value\": \"t2\"\n                        },\n                        {\n                            \"label\": \"Brighton\",\n                            \"value\": \"t36\"\n                        }\n                    ],\n                    \"operators\": [\n                        {\n                            \"label\": \"Brighton\",\n                            \"value\": \"=\"\n                        }\n                    ]\n                }\n            }\n        ],\n        \"sortOptions\": [\n            {\n                \"label\": \"Publish Date Ascending\",\n                \"value\": \"publishDate\"\n            },\n            {\n                \"label\": \"Publish Date Descending\",\n                \"value\": \"publishDate,desc\"\n            }\n        ],\n        \"deleted\": false,\n        \"created\": {\n            \"date\": \"2020-06-10T15:09:30.479Z\",\n            \"editorAuthId\": 639\n        },\n        \"lastModified\": {\n            \"date\": \"2020-07-06T08:28:10.098Z\",\n            \"editorAuthId\": 639\n        }\n    },\n    \"metadata\": {\n        \"createdAt\": \"2020-07-06T08:28:10.163Z\"\n    }\n}"},{"id":"cf95fc3c-9cac-4e1a-8da1-f10bb52ca811","name":"Token Expired","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"INCROWD\",\n    \"rules\": [\n        {\n            \"title\": \"Media Type\",\n            \"key\": \"mediaType\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"On Demand\",\n                        \"value\": \"ondemand\"\n                    },\n                    {\n                        \"label\": \"Streaming\",\n                        \"value\": \"streaming\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Tags\",\n            \"key\": \"tags\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"INCLUDES\",\n                        \"value\": \"IN\"\n                    },\n                    {\n                        \"label\": \"EXCLUDES\",\n                        \"value\": \"NOT_IN\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Categories\",\n            \"key\": \"categories.text\",\n            \"metadata\": {\n                \"type\": \"text\",\n                \"operators\": [\n                    {\n                        \"label\": \"INCLUDES\",\n                        \"value\": \"IN\"\n                    },\n                    {\n                        \"label\": \"EXCLUDES\",\n                        \"value\": \"NOT_IN\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Hits\",\n            \"key\": \"hits\",\n            \"metadata\": {\n                \"type\": \"number\",\n                \"operators\": [\n                    {\n                        \"label\": \"equal\",\n                        \"value\": \"=\"\n                    },\n                    {\n                        \"label\": \"less than\",\n                        \"value\": \"<\"\n                    },\n                    {\n                        \"label\": \"less than or equal to\",\n                        \"value\": \"<=\"\n                    },\n                    {\n                        \"label\": \"greater than\",\n                        \"value\": \">\"\n                    },\n                    {\n                        \"label\": \"greater than or equal to\",\n                        \"value\": \">=\"\n                    }\n                ]\n            }\n        },\n        {\n            \"title\": \"Teams\",\n            \"key\": \"teamId\",\n            \"metadata\": {\n                \"type\": \"select\",\n                \"options\": [\n                    {\n                        \"label\": \"Leeds\",\n                        \"value\": \"t2\"\n                    },\n                    {\n                        \"label\": \"Brighton\",\n                        \"value\": \"t36\"\n                    }\n                ],\n                \"operators\": [\n                    {\n                    \n                        \"label\": \"Brighton\",\n                        \"value\": \"=\"\n                    }\n                ]\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/admin/rules/{{clientId}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:25:34 GMT"},{"key":"Content-Length","value":"159"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"data\": \"token is expired by 119h32m18s\",\n    \"message\": \"Could not decode authorization token\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:25:34.821Z\"\n    }\n}"}],"_postman_id":"14a79649-ff13-48c6-b38c-7d93dc70dac5"}],"id":"c863b271-1566-47ab-bcbe-b388a4f54a7e","_postman_id":"c863b271-1566-47ab-bcbe-b388a4f54a7e","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"username","value":"<username>"},{"key":"password","value":"<password>"},{"key":"grant_type","value":"<grant_type>"},{"key":"clientId","value":"<client-id>"},{"key":"authUrl","value":"<auth-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"accessTokenUrl","value":"<access-token-url>"}]},"isInherited":true,"source":{"_postman_id":"78f71e70-57f9-4789-860e-4e23d2caa1da","id":"78f71e70-57f9-4789-860e-4e23d2caa1da","name":"Feed Builder","type":"collection"}}},{"name":"Create Feed","id":"b58d54c4-f2c2-49ed-b6ff-2721aa6e9d53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Transfer News\",\n    \"description\" : \"This is some test feed\",\n    \"pageSize\" : 10,\n    \"sort\" : \"publishDate\",\n    \"rules\": {\n        \"type\": \"AND\",\n        \"description\" : \"Arsenal\",\n        \"nodes\": [\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"tags.keyword\",\n                \"value\": [\"articles\", \"media\", \"match\", \"match day\"],\n                \"operator\": \"IN\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"username","value":"<username>"},{"key":"password","value":"<password>"},{"key":"grant_type","value":"<grant_type>"},{"key":"clientId","value":"<client-id>"},{"key":"authUrl","value":"<auth-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"accessTokenUrl","value":"<access-token-url>"}]},"isInherited":true,"source":{"_postman_id":"78f71e70-57f9-4789-860e-4e23d2caa1da","id":"78f71e70-57f9-4789-860e-4e23d2caa1da","name":"Feed Builder","type":"collection"}},"urlObject":{"path":["v1","{{clientId}}","feeds"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"09a1a7b7-a950-4b51-ba71-f87928dd5ba0","name":"Rules not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"test\",\n    \"description\" : \"Test feed\",\n    \"rules\": {\n        \"type\": \"AND\",\n        \"nodes\": [\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"categories.text\",\n                \"value\": [\"articles\", \"media\"],\n                \"operator\": \"IN\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:35:46 GMT"},{"key":"Content-Length","value":"117"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"clientRules with ID BORO not found\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:35:46.861Z\"\n    }\n}"},{"id":"570a22ee-ac05-40eb-a3c0-288f105e9780","name":"Validation failed - require at least one child node","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"test\",\n    \"description\" : \"Test feed\",\n    \"rules\": {\n        \"type\": \"AND\",\n        \"nodes\": [\n\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:36:32 GMT"},{"key":"Content-Length","value":"190"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Key: 'feedForm.Rules.nodes' Error:Field validation for 'nodes' failed on the 'Valid root node operator' tag\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:36:32.710Z\"\n    }\n}"},{"id":"6745921f-9b44-49cd-82b5-b43c4da5b893","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"test\",\n    \"description\" : \"Test feed\",\n    \"rules\": {\n        \"type\": \"AND\",\n        \"nodes\": [\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"categories.text\",\n                \"value\": [\"articles\", \"media\"],\n                \"operator\": \"IN\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:33:36 GMT"},{"key":"Content-Length","value":"651"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"id\": \"5ed6634078d29b3a6e1cd1f3\",\n        \"title\": \"test\",\n        \"description\": \"Test feed\",\n        \"rules\": {\n            \"type\": \"AND\",\n            \"nodes\": [\n                {\n                    \"type\": \"EVAL\",\n                    \"key\": \"categories.text\",\n                    \"value\": [\n                        \"articles\",\n                        \"media\"\n                    ],\n                    \"operator\": \"IN\"\n                }\n            ]\n        },\n        \"clientId\": \"INCROWD\",\n        \"pageSize\": null,\n        \"sort\": null,\n        \"deleted\": false,\n        \"created\": {\n            \"date\": \"2020-06-02T15:33:36.037Z\",\n            \"editorName\": \"Ioannis D\",\n            \"editorAuthId\": 639,\n            \"editorEmail\": \"jordan.hitchman@incrowdsports.com\",\n            \"editorIp\": \"\"\n        },\n        \"lastModified\": {\n            \"date\": \"2020-06-02T15:33:36.037Z\",\n            \"editorName\": \"Ioannis D\",\n            \"editorAuthId\": 639,\n            \"editorEmail\": \"jordan.hitchman@incrowdsports.com\",\n            \"editorIp\": \"\"\n        }\n    },\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:33:36.038Z\"\n    }\n}"},{"id":"751fd3d3-7f4c-438a-b56d-972d8b8a8fb7","name":"Permissions are required to create a feed for this client","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"test\",\n    \"description\" : \"Test feed\",\n    \"rules\": {\n        \"type\": \"AND\",\n        \"nodes\": [\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"categories.text\",\n                \"value\": [\"articles\", \"media\"],\n                \"operator\": \"a\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:47:55 GMT"},{"key":"Content-Length","value":"107"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Permissions are required\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:47:55.185Z\"\n    }\n}"},{"id":"83b14d73-a72c-4352-9c41-5b324db3e6d0","name":"Validation failed - eval node missing operator field","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"test\",\n    \"description\" : \"Test feed\",\n    \"rules\": {\n        \"type\": \"AND\",\n        \"nodes\": [\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"categories.text\",\n                \"value\": [\"articles\", \"media\"]\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:44:16 GMT"},{"key":"Content-Length","value":"191"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Key: 'feedForm.Rules.nodes' Error:Field validation for 'nodes' failed on the 'Valid child node operator' tag\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:44:16.991Z\"\n    }\n}"},{"id":"8a1d910d-f580-4069-8b8f-ba0665c5a924","name":"Validation failed - eval node missing value field","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"test\",\n    \"description\" : \"Test feed\",\n    \"rules\": {\n        \"type\": \"AND\",\n        \"nodes\": [\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"categories.text\",\n                \"operator\": \"IN\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:43:46 GMT"},{"key":"Content-Length","value":"191"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Key: 'feedForm.Rules.nodes' Error:Field validation for 'nodes' failed on the 'Valid child node operator' tag\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:43:46.349Z\"\n    }\n}"},{"id":"bd60276d-16c8-41ec-9d4f-8bcd9c934df6","name":"Validation failed - invalid key","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"test\",\n    \"description\" : \"Test feed\",\n    \"rules\": {\n        \"type\": \"AND\",\n        \"nodes\": [\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"categories.textss\",\n                \"value\": [\"articles\", \"media\"],\n                \"operator\": \"IN\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:37:32 GMT"},{"key":"Content-Length","value":"131"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Invalid key 0xc00018e230 with value 0xc00018e240\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:37:32.650Z\"\n    }\n}"},{"id":"dd64671d-bfe0-4a99-9b30-069ab1d8c5a7","name":"Validation failed - invalid operator","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"test\",\n    \"description\": \"Test feed\",\n    \"rules\": {\n        \"type\": \"AND\",\n        \"nodes\": [\n            {\n                \"type\": \"EVAL\",\n                \"key\": \"categories.text\",\n                \"value\": [\n                    \"articles\",\n                    \"media\"\n                ],\n                \"operator\": \"a\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:44:51 GMT"},{"key":"Content-Length","value":"191"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Key: 'feedForm.Rules.nodes' Error:Field validation for 'nodes' failed on the 'Valid child node operator' tag\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:44:51.595Z\"\n    }\n}"},{"id":"fcc2c672-c0e5-4b2d-854a-e606a586966f","name":"Validation failed - root node type invalid","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"test\",\n    \"description\" : \"Test feed\",\n    \"rules\": {\n        \"type\": \"EVAL\",\n        \"nodes\": [\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"categories.text\",\n                \"value\": [\"articles\", \"media\"],\n                \"operator\": \"IN\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:36:07 GMT"},{"key":"Content-Length","value":"190"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Key: 'feedForm.Rules.nodes' Error:Field validation for 'nodes' failed on the 'Valid root node operator' tag\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:36:07.713Z\"\n    }\n}"}],"_postman_id":"b58d54c4-f2c2-49ed-b6ff-2721aa6e9d53"},{"name":"Get Feed","id":"57d791da-3659-4deb-86d9-166097fd7bbc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/v1/{{clientId}}/feeds/{{feedId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"username","value":"<username>"},{"key":"password","value":"<password>"},{"key":"grant_type","value":"<grant_type>"},{"key":"clientId","value":"<client-id>"},{"key":"authUrl","value":"<auth-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"accessTokenUrl","value":"<access-token-url>"}]},"isInherited":true,"source":{"_postman_id":"78f71e70-57f9-4789-860e-4e23d2caa1da","id":"78f71e70-57f9-4789-860e-4e23d2caa1da","name":"Feed Builder","type":"collection"}},"urlObject":{"path":["v1","{{clientId}}","feeds","{{feedId}}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"0145abca-5417-46fc-b008-4a5dc9d0028f","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{url}}/v1/{{clientId}}/feeds/{{feedId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:48:52 GMT"},{"key":"Content-Length","value":"989"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"id\": \"5ed39a75cb236af5d4c33daf\",\n        \"title\": \"test\",\n        \"description\": \"Test feed\",\n        \"rules\": {\n            \"type\": \"OR\",\n            \"nodes\": [\n                {\n                    \"type\": \"AND\",\n                    \"nodes\": [\n                        {\n                            \"type\": \"EVAL\",\n                            \"key\": \"linkedIds.sourceSystem.keyword\",\n                            \"value\": \"OPTA_FOOTBALL_COMPETITION\",\n                            \"operator\": \"=\"\n                        },\n                        {\n                            \"type\": \"EVAL\",\n                            \"key\": \"linkedIds.sourceSystemId.keyword\",\n                            \"value\": \"8\",\n                            \"operator\": \"=\"\n                        }\n                    ]\n                },\n                {\n                    \"type\": \"AND\",\n                    \"nodes\": [\n                        {\n                            \"type\": \"EVAL\",\n                            \"key\": \"linkedIds.sourceSystem.keyword\",\n                            \"value\": \"OPTA_FOOTBALL_TEAM\",\n                            \"operator\": \"=\"\n                        },\n                        {\n                            \"type\": \"EVAL\",\n                            \"key\": \"linkedIds.sourceSystemId.keyword\",\n                            \"value\": \"t3\",\n                            \"operator\": \"=\"\n                        }\n                    ]\n                }\n            ]\n        },\n        \"clientId\": \"INCROWD\",\n        \"pageSize\": null,\n        \"sort\": null,\n        \"deleted\": false,\n        \"created\": {\n            \"date\": \"2020-05-31T12:52:21.357Z\",\n            \"editorName\": \"Ioannis D\",\n            \"editorAuthId\": 639,\n            \"editorEmail\": \"jordan.hitchman@incrowdsports.com\",\n            \"editorIp\": \"\"\n        },\n        \"lastModified\": {\n            \"date\": \"2020-05-31T12:52:21.357Z\",\n            \"editorName\": \"Ioannis D\",\n            \"editorAuthId\": 639,\n            \"editorEmail\": \"jordan.hitchman@incrowdsports.com\",\n            \"editorIp\": \"\"\n        }\n    },\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:48:52.633Z\"\n    }\n}"},{"id":"04c8131b-92e7-4197-bb4a-215d68cfdc6f","name":"Token Expired","originalRequest":{"method":"GET","header":[],"url":"{{url}}/v1/{{clientId}}/feeds/{{feedId}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:51:09 GMT"},{"key":"Content-Length","value":"159"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"data\": \"token is expired by 600h51m22s\",\n    \"message\": \"Could not decode authorization token\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:51:09.144Z\"\n    }\n}"},{"id":"3d6ce0d5-618a-4995-8979-a3cb9c3779c7","name":"Feed not found","originalRequest":{"method":"GET","header":[],"url":"{{url}}/v1/{{clientId}}/feeds/{{feedId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:49:22 GMT"},{"key":"Content-Length","value":"130"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"feed with ID 5ed39a75cb236af5d4c33daa not found\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:49:22.345Z\"\n    }\n}"},{"id":"3e05c631-efbd-4046-97c1-096eaae82035","name":"Feed not found for client","originalRequest":{"method":"GET","header":[],"url":"{{url}}/v1/{{clientId}}/feeds/{{feedId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:50:19 GMT"},{"key":"Content-Length","value":"130"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"feed with ID 5ed39a75cb236af5d4c33daf not found\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:50:19.194Z\"\n    }\n}"},{"id":"5dde780b-313d-46c0-9481-6e80f038d984","name":"Permissions are required to get feed for client","originalRequest":{"method":"GET","header":[],"url":"{{url}}/v1/{{clientId}}/feeds/{{feedId}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:50:40 GMT"},{"key":"Content-Length","value":"107"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Permissions are required\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:50:40.509Z\"\n    }\n}"}],"_postman_id":"57d791da-3659-4deb-86d9-166097fd7bbc"},{"name":"Get Feeds","id":"18eb1bec-3339-4aef-8730-e6739504c5f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/v1/{{clientId}}/feeds?page=0&size=10&title=t","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"username","value":"<username>"},{"key":"password","value":"<password>"},{"key":"grant_type","value":"<grant_type>"},{"key":"clientId","value":"<client-id>"},{"key":"authUrl","value":"<auth-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"accessTokenUrl","value":"<access-token-url>"}]},"isInherited":true,"source":{"_postman_id":"78f71e70-57f9-4789-860e-4e23d2caa1da","id":"78f71e70-57f9-4789-860e-4e23d2caa1da","name":"Feed Builder","type":"collection"}},"urlObject":{"path":["v1","{{clientId}}","feeds"],"host":["{{url}}"],"query":[{"key":"page","value":"0"},{"key":"size","value":"10"},{"description":{"content":"<p>Partial match on 'title' field</p>\n","type":"text/plain"},"key":"title","value":"t"}],"variable":[]}},"response":[{"id":"3876d3c3-bae2-495f-9f40-7973937b1f8a","name":"Token Expired","originalRequest":{"method":"GET","header":[],"url":"{{url}}/v1/{{clientId}}/feeds"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 15:51:51 GMT"},{"key":"Content-Length","value":"158"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"data\": \"token is expired by 601h52m4s\",\n    \"message\": \"Could not decode authorization token\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T15:51:51.958Z\"\n    }\n}"},{"id":"93c93be4-dba9-4573-b8b9-335722c552c1","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{url}}/v1/{{clientId}}/feeds/{{feedId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 14:51:56 GMT"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": [\n        {\n            \"id\": \"5ed39a29cb236af5d4c33dae\",\n            \"title\": \"test\",\n            \"description\": \"Test feed\",\n            \"rules\": {\n                \"type\": \"OR\",\n                \"nodes\": [\n                    {\n                        \"type\": \"AND\",\n                        \"nodes\": [\n                            {\n                                \"type\": \"EVAL\",\n                                \"key\": \"linkedIds.sourceSystem\",\n                                \"value\": \"OPTA_FOOTBALL_COMPETITION\",\n                                \"operator\": \"=\"\n                            },\n                            {\n                                \"type\": \"EVAL\",\n                                \"key\": \"linkedIds.sourceSystemId\",\n                                \"value\": \"8\",\n                                \"operator\": \"=\"\n                            }\n                        ]\n                    },\n                    {\n                        \"type\": \"AND\",\n                        \"nodes\": [\n                            {\n                                \"type\": \"EVAL\",\n                                \"key\": \"linkedIds.sourceSystem\",\n                                \"value\": \"OPTA_FOOTBALL_TEAM\",\n                                \"operator\": \"=\"\n                            },\n                            {\n                                \"type\": \"EVAL\",\n                                \"key\": \"linkedIds.sourceSystemId\",\n                                \"value\": \"t3\",\n                                \"operator\": \"=\"\n                            }\n                        ]\n                    }\n                ]\n            },\n            \"clientId\": \"INCROWD\",\n            \"pageSize\": null,\n            \"sort\": null,\n            \"deleted\": false,\n            \"created\": {\n                \"date\": \"2020-05-31T12:51:05.792Z\",\n                \"editorName\": \"Ioannis D\",\n                \"editorAuthId\": 639,\n                \"editorEmail\": \"jordan.hitchman@incrowdsports.com\",\n                \"editorIp\": \"\"\n            },\n            \"lastModified\": {\n                \"date\": \"2020-05-31T12:51:05.792Z\",\n                \"editorName\": \"Ioannis D\",\n                \"editorAuthId\": 639,\n                \"editorEmail\": \"jordan.hitchman@incrowdsports.com\",\n                \"editorIp\": \"\"\n            }\n        },\n        {\n            \"id\": \"5ed39a75cb236af5d4c33daf\",\n            \"title\": \"test\",\n            \"description\": \"Test feed\",\n            \"rules\": {\n                \"type\": \"OR\",\n                \"nodes\": [\n                    {\n                        \"type\": \"AND\",\n                        \"nodes\": [\n                            {\n                                \"type\": \"EVAL\",\n                                \"key\": \"linkedIds.sourceSystem.keyword\",\n                                \"value\": \"OPTA_FOOTBALL_COMPETITION\",\n                                \"operator\": \"=\"\n                            },\n                            {\n                                \"type\": \"EVAL\",\n                                \"key\": \"linkedIds.sourceSystemId.keyword\",\n                                \"value\": \"8\",\n                                \"operator\": \"=\"\n                            }\n                        ]\n                    },\n                    {\n                        \"type\": \"AND\",\n                        \"nodes\": [\n                            {\n                                \"type\": \"EVAL\",\n                                \"key\": \"linkedIds.sourceSystem.keyword\",\n                                \"value\": \"OPTA_FOOTBALL_TEAM\",\n                                \"operator\": \"=\"\n                            },\n                            {\n                                \"type\": \"EVAL\",\n                                \"key\": \"linkedIds.sourceSystemId.keyword\",\n                                \"value\": \"t3\",\n                                \"operator\": \"=\"\n                            }\n                        ]\n                    }\n                ]\n            },\n            \"clientId\": \"INCROWD\",\n            \"pageSize\": null,\n            \"sort\": null,\n            \"deleted\": false,\n            \"created\": {\n                \"date\": \"2020-05-31T12:52:21.357Z\",\n                \"editorName\": \"Ioannis D\",\n                \"editorAuthId\": 639,\n                \"editorEmail\": \"jordan.hitchman@incrowdsports.com\",\n                \"editorIp\": \"\"\n            },\n            \"lastModified\": {\n                \"date\": \"2020-05-31T12:52:21.357Z\",\n                \"editorName\": \"Ioannis D\",\n                \"editorAuthId\": 639,\n                \"editorEmail\": \"jordan.hitchman@incrowdsports.com\",\n                \"editorIp\": \"\"\n            }\n        },\n        {\n            \"id\": \"5ed6634078d29b3a6e1cd1f3\",\n            \"title\": \"test\",\n            \"description\": \"Test feed\",\n            \"rules\": {\n                \"type\": \"AND\",\n                \"nodes\": [\n                    {\n                        \"type\": \"EVAL\",\n                        \"key\": \"categories.text\",\n                        \"value\": [\n                            \"articles\",\n                            \"media\"\n                        ],\n                        \"operator\": \"IN\"\n                    }\n                ]\n            },\n            \"clientId\": \"INCROWD\",\n            \"pageSize\": null,\n            \"sort\": null,\n            \"deleted\": false,\n            \"created\": {\n                \"date\": \"2020-06-02T15:33:36.037Z\",\n                \"editorName\": \"Ioannis D\",\n                \"editorAuthId\": 639,\n                \"editorEmail\": \"jordan.hitchman@incrowdsports.com\",\n                \"editorIp\": \"\"\n            },\n            \"lastModified\": {\n                \"date\": \"2020-06-02T15:33:36.037Z\",\n                \"editorName\": \"Ioannis D\",\n                \"editorAuthId\": 639,\n                \"editorEmail\": \"jordan.hitchman@incrowdsports.com\",\n                \"editorIp\": \"\"\n            }\n        }\n    ],\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T14:51:56.610Z\"\n    }\n}"},{"id":"b9f1119e-bb9e-4a96-b7b1-b3352fb40e09","name":"Permissions required to get client feeds","originalRequest":{"method":"GET","header":[],"url":"{{url}}/v1/{{clientId}}/feeds/{{feedId}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 15:50:47 GMT"},{"key":"Content-Length","value":"107"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Permissions are required\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T15:50:47.985Z\"\n    }\n}"}],"_postman_id":"18eb1bec-3339-4aef-8730-e6739504c5f7"},{"name":"Delete Feed","id":"4e9cea8b-4cbc-47e8-b1ea-3f12742d345f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/v1/{{clientId}}/feeds/{{feedId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"username","value":"<username>"},{"key":"password","value":"<password>"},{"key":"grant_type","value":"<grant_type>"},{"key":"clientId","value":"<client-id>"},{"key":"authUrl","value":"<auth-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"accessTokenUrl","value":"<access-token-url>"}]},"isInherited":true,"source":{"_postman_id":"78f71e70-57f9-4789-860e-4e23d2caa1da","id":"78f71e70-57f9-4789-860e-4e23d2caa1da","name":"Feed Builder","type":"collection"}},"urlObject":{"path":["v1","{{clientId}}","feeds","{{feedId}}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"0a24a1b3-43d8-4966-b825-4295d00c4c7f","name":"Feed not found","originalRequest":{"method":"DELETE","header":[],"url":"{{url}}/v1/{{clientId}}/feeds/{{feedId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 15:55:03 GMT"},{"key":"Content-Length","value":"130"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"feed with ID 5ed6763078d29b3a6e1cd1f4 not found\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T15:55:03.289Z\"\n    }\n}"},{"id":"4ecc4ebe-ff26-4549-bd5f-5badee1f59b5","name":"Token expired","originalRequest":{"method":"DELETE","header":[],"url":"{{url}}/v1/{{clientId}}/feeds/{{feedId}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 15:55:42 GMT"},{"key":"Content-Length","value":"159"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"data\": \"token is expired by 601h55m55s\",\n    \"message\": \"Could not decode authorization token\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T15:55:42.870Z\"\n    }\n}"},{"id":"aee4e09d-1905-41a1-b692-b531c3e93c8d","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":"{{url}}/v1/{{clientId}}/feeds/{{feedId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 15:54:43 GMT"},{"key":"Content-Length","value":"73"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T15:54:43.236Z\"\n    }\n}"}],"_postman_id":"4e9cea8b-4cbc-47e8-b1ea-3f12742d345f"},{"name":"Update Feed","id":"cafeab03-2588-4e80-937f-e461b9151058","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"test\",\n    \"description\" : \"Test feed\",\n    \"rules\": {\n        \"type\": \"AND\",\n        \"description\" : \"Arsenal\",\n        \"nodes\": [\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"mediaType\",\n                \"value\": \"ondemand\",\n                \"operator\": \"=\"\n            },\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"hits\",\n                \"value\": 10,\n                \"operator\": \">=\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds/{{feedId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"username","value":"<username>"},{"key":"password","value":"<password>"},{"key":"grant_type","value":"<grant_type>"},{"key":"clientId","value":"<client-id>"},{"key":"authUrl","value":"<auth-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"accessTokenUrl","value":"<access-token-url>"}]},"isInherited":true,"source":{"_postman_id":"78f71e70-57f9-4789-860e-4e23d2caa1da","id":"78f71e70-57f9-4789-860e-4e23d2caa1da","name":"Feed Builder","type":"collection"}},"urlObject":{"path":["v1","{{clientId}}","feeds","{{feedId}}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"1dd5508a-6320-4a64-a3bb-af9de27629c7","name":"Validation failed - eval node missing operator field","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"test\",\n    \"description\" : \"Test feed\",\n    \"rules\": {\n        \"type\": \"AND\",\n        \"nodes\": [\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"categories.text\",\n                \"value\": [\"articles\", \"media\"]\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds/{{feedId}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 16:24:47 GMT"},{"key":"Content-Length","value":"191"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Key: 'feedForm.Rules.nodes' Error:Field validation for 'nodes' failed on the 'Valid child node operator' tag\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T16:24:47.441Z\"\n    }\n}"},{"id":"3d75b6d6-7ba9-480d-9669-f3cae5536c74","name":"Validation failed - invalid operator","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"test\",\n    \"description\" : \"Test feed\",\n    \"rules\": {\n        \"type\": \"AND\",\n        \"nodes\": [\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"categories.text\",\n                \"value\": [\"articles\", \"media\"],\n                \"operator\": \"a\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds/{{feedId}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 16:25:20 GMT"},{"key":"Content-Length","value":"191"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Key: 'feedForm.Rules.nodes' Error:Field validation for 'nodes' failed on the 'Valid child node operator' tag\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T16:25:20.789Z\"\n    }\n}"},{"id":"58c41d92-0fbb-41a8-8243-554eef3c0df1","name":"Validation failed - eval node missing value field","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"test\",\n    \"description\" : \"Test feed\",\n    \"rules\": {\n        \"type\": \"AND\",\n        \"nodes\": [\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"categories.text\",\n                \"operator\": \"IN\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds/{{feedId}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 16:24:11 GMT"},{"key":"Content-Length","value":"191"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Key: 'feedForm.Rules.nodes' Error:Field validation for 'nodes' failed on the 'Valid child node operator' tag\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T16:24:11.172Z\"\n    }\n}"},{"id":"8b1072eb-007d-46d0-bbb9-5e53518195be","name":"Validation failed - root node type invalid","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"test\",\n    \"description\" : \"Test feed\",\n    \"rules\": {\n        \"type\": \"EVAL\",\n        \"nodes\": [\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"mediaType\",\n                \"value\": \"ondemand\",\n                \"operator\": \"=\"\n            },\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"hits\",\n                \"value\": 10,\n                \"operator\": \">=\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds/{{feedId}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 16:01:51 GMT"},{"key":"Content-Length","value":"190"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Key: 'feedForm.Rules.nodes' Error:Field validation for 'nodes' failed on the 'Valid root node operator' tag\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T16:01:51.033Z\"\n    }\n}"},{"id":"c0043827-3268-4460-b3f7-8ef06c789909","name":"Validation failed - invalid key","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"test\",\n    \"description\" : \"Test feed\",\n    \"rules\": {\n        \"type\": \"AND\",\n        \"nodes\": [\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"categories.textss\",\n                \"value\": [\"articles\", \"media\"],\n                \"operator\": \"IN\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds/{{feedId}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 16:23:38 GMT"},{"key":"Content-Length","value":"131"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Invalid key 0xc00018e230 with value 0xc00018e240\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T16:23:38.374Z\"\n    }\n}"},{"id":"dfa13def-9618-46f5-bb51-aa1b1990b6f4","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"test\",\n    \"description\" : \"Test feed\",\n    \"rules\": {\n        \"type\": \"AND\",\n        \"nodes\": [\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"mediaType\",\n                \"value\": \"ondemand\",\n                \"operator\": \"=\"\n            },\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"hits\",\n                \"value\": 10,\n                \"operator\": \">=\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds/{{feedId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 16:00:38 GMT"},{"key":"Content-Length","value":"695"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"id\": \"5ed6779e78d29b3a6e1cd1f5\",\n        \"title\": \"test\",\n        \"description\": \"Test feed\",\n        \"rules\": {\n            \"type\": \"AND\",\n            \"nodes\": [\n                {\n                    \"type\": \"EVAL\",\n                    \"key\": \"mediaType\",\n                    \"value\": \"ondemand\",\n                    \"operator\": \"=\"\n                },\n                {\n                    \"type\": \"EVAL\",\n                    \"key\": \"hits\",\n                    \"value\": 10,\n                    \"operator\": \">=\"\n                }\n            ]\n        },\n        \"clientId\": \"INCROWD\",\n        \"pageSize\": null,\n        \"sort\": null,\n        \"deleted\": false,\n        \"created\": {\n            \"date\": \"2020-06-02T17:00:30.747Z\",\n            \"editorName\": \"Ioannis D\",\n            \"editorAuthId\": 639,\n            \"editorEmail\": \"jordan.hitchman@incrowdsports.com\",\n            \"editorIp\": \"\"\n        },\n        \"lastModified\": {\n            \"date\": \"2020-06-02T17:00:38.571Z\",\n            \"editorName\": \"Ioannis D\",\n            \"editorAuthId\": 639,\n            \"editorEmail\": \"jordan.hitchman@incrowdsports.com\",\n            \"editorIp\": \"\"\n        }\n    },\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T16:00:38.572Z\"\n    }\n}"},{"id":"e71f6879-b432-4c80-8a89-2289fae17044","name":"Permissions are required to create a feed for this client","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"test\",\n    \"description\" : \"Test feed\",\n    \"rules\": {\n        \"type\": \"AND\",\n        \"nodes\": [\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"categories.text\",\n                \"value\": [\"articles\", \"media\"],\n                \"operator\": \"a\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds/{{feedId}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 16:25:41 GMT"},{"key":"Content-Length","value":"107"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Permissions are required\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T16:25:41.352Z\"\n    }\n}"},{"id":"fba0ad23-fea1-4117-9e08-39aa08664102","name":"Rules not found","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"test\",\n    \"description\" : \"Test feed\",\n    \"rules\": {\n        \"type\": \"AND\",\n        \"nodes\": [\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"mediaType\",\n                \"value\": \"ondemand\",\n                \"operator\": \"=\"\n            },\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"hits\",\n                \"value\": 10,\n                \"operator\": \">=\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds/{{feedId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Tue, 02 Jun 2020 16:01:30 GMT"},{"key":"Content-Length","value":"117"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"clientRules with ID BORO not found\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-02T16:01:30.840Z\"\n    }\n}"}],"_postman_id":"cafeab03-2588-4e80-937f-e461b9151058"},{"name":"Client Rules","id":"b3e8715d-05af-4aba-90e1-dfe729f27855","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/v1/{{clientId}}/rules","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"username","value":"<username>"},{"key":"password","value":"<password>"},{"key":"grant_type","value":"<grant_type>"},{"key":"clientId","value":"<client-id>"},{"key":"authUrl","value":"<auth-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"accessTokenUrl","value":"<access-token-url>"}]},"isInherited":true,"source":{"_postman_id":"78f71e70-57f9-4789-860e-4e23d2caa1da","id":"78f71e70-57f9-4789-860e-4e23d2caa1da","name":"Feed Builder","type":"collection"}},"urlObject":{"path":["v1","{{clientId}}","rules"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"3eaf5759-9dbd-4e96-8027-7bf313b95756","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{url}}/v1/{{clientId}}/rules"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 10 Jun 2020 15:38:17 GMT"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding,Origin"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 02b64e603ed38c4fa65e6d087701f8de.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR3-C2"},{"key":"X-Amz-Cf-Id","value":"mkcAA5qSsHpoKWj8fYF4YpT_E3jS_dtRl3sOiOIDwfoUENnWwN50Sg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"id\": \"INCROWD\",\n        \"rules\": [\n            {\n                \"title\": \"Media Type\",\n                \"key\": \"mediaType\",\n                \"metadata\": {\n                    \"type\": \"select\",\n                    \"options\": [\n                        {\n                            \"label\": \"On Demand\",\n                            \"value\": \"ondemand\"\n                        },\n                        {\n                            \"label\": \"Streaming\",\n                            \"value\": \"streaming\"\n                        }\n                    ],\n                    \"operators\": [\n                        {\n                            \"label\": \"equal\",\n                            \"value\": \"=\"\n                        }\n                    ]\n                }\n            },\n            {\n                \"title\": \"Tags\",\n                \"key\": \"tags\",\n                \"metadata\": {\n                    \"type\": \"text\",\n                    \"operators\": [\n                        {\n                            \"label\": \"INCLUDES\",\n                            \"value\": \"IN\"\n                        },\n                        {\n                            \"label\": \"EXCLUDES\",\n                            \"value\": \"NOT_IN\"\n                        }\n                    ]\n                }\n            },\n            {\n                \"title\": \"Categories\",\n                \"key\": \"categories.text.keyword\",\n                \"metadata\": {\n                    \"type\": \"text\",\n                    \"operators\": [\n                        {\n                            \"label\": \"INCLUDES\",\n                            \"value\": \"IN\"\n                        },\n                        {\n                            \"label\": \"EXCLUDES\",\n                            \"value\": \"NOT_IN\"\n                        }\n                    ]\n                }\n            },\n            {\n                \"title\": \"Hits\",\n                \"key\": \"hits\",\n                \"metadata\": {\n                    \"type\": \"number\",\n                    \"operators\": [\n                        {\n                            \"label\": \"equal\",\n                            \"value\": \"=\"\n                        },\n                        {\n                            \"label\": \"less than\",\n                            \"value\": \"<\"\n                        },\n                        {\n                            \"label\": \"less than or equal to\",\n                            \"value\": \"<=\"\n                        },\n                        {\n                            \"label\": \"greater than\",\n                            \"value\": \">\"\n                        },\n                        {\n                            \"label\": \"greater than or equal to\",\n                            \"value\": \">=\"\n                        }\n                    ]\n                }\n            },\n            {\n                \"title\": \"Teams\",\n                \"key\": \"teamId\",\n                \"metadata\": {\n                    \"type\": \"select\",\n                    \"options\": [\n                        {\n                            \"label\": \"Leeds\",\n                            \"value\": \"t2\"\n                        },\n                        {\n                            \"label\": \"Brighton\",\n                            \"value\": \"t36\"\n                        }\n                    ],\n                    \"operators\": [\n                        {\n                            \"label\": \"Brighton\",\n                            \"value\": \"=\"\n                        }\n                    ]\n                }\n            }\n        ],\n        \"sortOptions\": [\n            {\n                \"label\": \"Publish Date Ascending\",\n                \"value\": \"publishDate\"\n            },\n            {\n                \"label\": \"Publish Date Descending\",\n                \"value\": \"publishDate,desc\"\n            }\n        ],\n        \"deleted\": false,\n        \"created\": {\n            \"date\": \"2020-06-10T15:09:30.479Z\",\n            \"editorName\": \"test account\",\n            \"editorAuthId\": 639,\n            \"editorEmail\": \"test@incrowdsports.com\",\n            \"editorIp\": \"1.1.2.3\"\n        },\n        \"lastModified\": {\n            \"date\": \"2020-06-10T15:12:33.019Z\",\n            \"editorName\": \"test account\",\n            \"editorAuthId\": 639,\n            \"editorEmail\": \"test@incrowdsports.com\",\n            \"editorIp\": \"1.1.2.3\"\n        }\n    },\n    \"metadata\": {\n        \"createdAt\": \"2020-06-10T15:38:17.338Z\"\n    }\n}"},{"id":"5803ffb4-a619-4daa-a523-861ddd21bfc0","name":"Rules not found","originalRequest":{"method":"GET","header":[],"url":"{{url}}/v1/{{clientId}}/rules"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"117"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 10 Jun 2020 15:40:39 GMT"},{"key":"Vary","value":"Origin"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 02b64e603ed38c4fa65e6d087701f8de.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR3-C2"},{"key":"X-Amz-Cf-Id","value":"RD4N2uYjyhWGkDjOOFwfazDNWdSw3PdUx1jYFZQzzrdMroe3sarhIw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"clientRules with ID BORO not found\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-10T15:40:39.239Z\"\n    }\n}"},{"id":"a745edab-bbfc-486c-9e50-2fb5519f008d","name":"Permissions required","originalRequest":{"method":"GET","header":[],"url":"{{url}}/v1/{{clientId}}/rules"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"107"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 10 Jun 2020 15:40:52 GMT"},{"key":"Vary","value":"Origin"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 02b64e603ed38c4fa65e6d087701f8de.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR3-C2"},{"key":"X-Amz-Cf-Id","value":"gyXxdVvtA2RJ-oTixPCc7cJQE0iGSJyQCFG7jC9hTvM8hbY3R0U1Fg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Permissions are required\",\n    \"metadata\": {\n        \"createdAt\": \"2020-06-10T15:40:52.544Z\"\n    }\n}"}],"_postman_id":"b3e8715d-05af-4aba-90e1-dfe729f27855"},{"name":"Preview Feed","id":"c635b346-96d8-4fb9-b3cd-2eced1364fc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Transfer News\",\n    \"description\": \"This is some test feed\",\n    \"pageSize\": 10,\n    \"sort\": \"publishDate\",\n    \"rules\": {\n        \"type\": \"AND\",\n        \"description\": \"Hello tags\",\n        \"nodes\": [\n            {\n                \"type\": \"EVAL\",\n                \"key\": \"categories.text.keyword\",\n                \"value\": [\n                    \"hello\"\n                ],\n                \"operator\": \"IN\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds/preview","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"username","value":"<username>"},{"key":"password","value":"<password>"},{"key":"grant_type","value":"<grant_type>"},{"key":"clientId","value":"<client-id>"},{"key":"authUrl","value":"<auth-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"accessTokenUrl","value":"<access-token-url>"}]},"isInherited":true,"source":{"_postman_id":"78f71e70-57f9-4789-860e-4e23d2caa1da","id":"78f71e70-57f9-4789-860e-4e23d2caa1da","name":"Feed Builder","type":"collection"}},"urlObject":{"path":["v1","{{clientId}}","feeds","preview"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"3bd3e87f-3fc4-446a-bfe6-37e838bcb7e2","name":"Invalid EVAL operator","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Transfer News\",\n    \"description\" : \"This is some test feed\",\n    \"pageSize\" : 10,\n    \"sort\" : \"publishDate\",\n    \"rules\": {\n        \"type\": \"EVAL\",\n        \"description\" : \"Hello tags\"\n     \n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds/preview"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"190"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache"},{"key":"Date","value":"Fri, 24 Jul 2020 10:49:35 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 4e4c50c641418e6aad9ec09cb0f22845.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"AMS54-C1"},{"key":"X-Amz-Cf-Id","value":"ehIlHePR-WVyvrW8Qw3k3UvXvdnj2drH8l3PeVDjt-2ZGKebCyRz_g=="}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Key: 'feedForm.Rules.nodes' Error:Field validation for 'nodes' failed on the 'Valid root node operator' tag\",\n    \"metadata\": {\n        \"createdAt\": \"2020-07-24T10:49:35.702Z\"\n    }\n}"},{"id":"809c45f7-5795-4def-b0cf-3ab12b87d926","name":"Invalid operator","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Transfer News\",\n    \"description\" : \"This is some test feed\",\n    \"pageSize\" : 10,\n    \"sort\" : \"publishDate\",\n    \"rules\": {\n        \"type\": \"AND\",\n        \"description\" : \"Hello tags\",\n        \"nodes\": [\n      \n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds/preview"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"190"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache"},{"key":"Date","value":"Fri, 24 Jul 2020 10:49:11 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 4e4c50c641418e6aad9ec09cb0f22845.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"AMS54-C1"},{"key":"X-Amz-Cf-Id","value":"4I5VzWuwNxo9pxF-_qtXxU_52DMnnPYYT-nkKVj3phPEHqM-gKtUfQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Key: 'feedForm.Rules.nodes' Error:Field validation for 'nodes' failed on the 'Valid root node operator' tag\",\n    \"metadata\": {\n        \"createdAt\": \"2020-07-24T10:49:11.838Z\"\n    }\n}"},{"id":"8d163192-9bfc-40c3-a44e-d02f40316715","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Transfer News\",\n    \"description\" : \"This is some test feed\",\n    \"pageSize\" : 10,\n    \"sort\" : \"publishDate\",\n    \"rules\": {\n        \"type\": \"AND\",\n        \"description\" : \"Hello tags\",\n        \"nodes\": [\n            {\n                \"type\": \"EVAL\",\n                \"key\" : \"categories.text.keyword\",\n                \"value\": [\"hello\"],\n                \"operator\": \"IN\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds/preview"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Headers","value":"content-type, authorization"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Cache-Control","value":"no-cache"},{"key":"Cache-Control","value":"public, max-age=30"},{"key":"Date","value":"Fri, 24 Jul 2020 10:48:45 GMT"},{"key":"Expires","value":"Fri, 24 Jul 2020 10:49:15 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Pragma","value":""},{"key":"Via","value":"1.1 3ed9d4c241a47723d0c53da2377ea8a7.cloudfront.net (CloudFront), 1.1 4e4c50c641418e6aad9ec09cb0f22845.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DUB2-C1"},{"key":"X-Amz-Cf-Pop","value":"AMS54-C1"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"OCK__JsqplylxX7o7zR5VcvO2e7COAvAnWvbyEmIPzKLvCKXbHNoYA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"articles\": [\n            {\n                \"version\": 12,\n                \"tags\": [\n                    \"hello\",\n                    \"hello2\",\n                    \"hello3\"\n                ],\n                \"source\": {\n                    \"sourceSystem\": \"BRIDGE\",\n                    \"overwriteEnabled\": false\n                },\n                \"clientId\": \"INCROWD\",\n                \"categories\": [\n                    {\n                        \"id\": \"28d2f510-1501-43f8-a7c9-e6924728f02e\",\n                        \"text\": \"hello\"\n                    }\n                ],\n                \"auth\": {\n                    \"loginRequired\": false,\n                    \"roles\": []\n                },\n                \"singlePage\": false,\n                \"pinned\": false,\n                \"slug\": \"random-test\",\n                \"heroMedia\": {\n                    \"content\": {\n                        \"id\": \"360f192f-9bed-44f0-8f54-acb335a52fc9\",\n                        \"contentType\": \"IMAGE\",\n                        \"content\": \"122\",\n                        \"image\": \"https://media-cdn.incrowdsports.com/ea6466a0-769d-4e3f-b801-4bd5d0f6cbc1.png\",\n                        \"sponsor\": {}\n                    },\n                    \"title\": \"Random test\",\n                    \"summary\": \"Random Summary\"\n                },\n                \"displayCategory\": {\n                    \"id\": \"28d2f510-1501-43f8-a7c9-e6924728f02e\",\n                    \"text\": \"hello\"\n                },\n                \"articleMetadata\": {},\n                \"linkedIds\": [\n                    {\n                        \"text\": \"meetup.png\",\n                        \"sourceSystem\": \"MEDIA\",\n                        \"sourceSystemId\": \"ea6466a0-769d-4e3f-b801-4bd5d0f6cbc1\"\n                    },\n                    {\n                        \"text\": \"png-test (copy).PNG\",\n                        \"sourceSystem\": \"MEDIA\",\n                        \"sourceSystemId\": \"e6117c93-dcad-4cbb-9a40-816afd564b7c\"\n                    }\n                ],\n                \"publishDate\": \"2020-06-10T14:43:45.416Z\",\n                \"readTimeMinutes\": 1,\n                \"author\": {\n                    \"name\": null,\n                    \"title\": null,\n                    \"imageUrl\": null,\n                    \"socialHandles\": []\n                },\n                \"id\": \"cd2b363e-9b79-4476-bf7b-4625e9117124\",\n                \"content\": [\n                    {\n                        \"id\": \"2fa73af8-9925-4525-915e-316e912df0cc\",\n                        \"contentType\": \"IMAGE\",\n                        \"content\": \"122\",\n                        \"title\": \"test\",\n                        \"image\": \"https://media-cdn.incrowdsports.com/ea6466a0-769d-4e3f-b801-4bd5d0f6cbc1.png\",\n                        \"sponsor\": {\n                            \"text\": \"test\",\n                            \"imageUrl\": \"https://media-cdn.incrowdsports.com/ea6466a0-769d-4e3f-b801-4bd5d0f6cbc1.png\",\n                            \"linkUrl\": \"https://www.google.co.uk/\"\n                        }\n                    },\n                    {\n                        \"id\": \"c49cb229-a1cc-487c-b69b-ba8f09aeed70\",\n                        \"contentType\": \"FEED\",\n                        \"title\": \"title\",\n                        \"sourceSystem\": \"BRIDGE\",\n                        \"sourceSystemId\": \"5f10447ac999121c218ae793\",\n                        \"sponsor\": {\n                            \"text\": \"text\",\n                            \"imageUrl\": \"https://media-cdn.incrowdsports.com/ea6466a0-769d-4e3f-b801-4bd5d0f6cbc1.png\"\n                        }\n                    }\n                ],\n                \"language\": \"en\",\n                \"blocked\": false\n            },\n            {\n                \"version\": 4,\n                \"tags\": [\n                    \"arsenal\"\n                ],\n                \"source\": {\n                    \"sourceSystem\": \"BRIDGE\",\n                    \"overwriteEnabled\": false\n                },\n                \"clientId\": \"INCROWD\",\n                \"categories\": [\n                    {\n                        \"id\": \"28d2f510-1501-43f8-a7c9-e6924728f02e\",\n                        \"text\": \"hello\"\n                    },\n                    {\n                        \"id\": \"1ef4c005-5add-4736-9589-59a227686066\",\n                        \"text\": \"one\"\n                    },\n                    {\n                        \"id\": \"45b2c42d-2e68-4233-bfc7-29a19d8ae222\",\n                        \"text\": \"top level\"\n                    },\n                    {\n                        \"id\": \"e60e403e-9ca3-490b-bdb7-4aa2173324b8\",\n                        \"text\": \"B wow\"\n                    }\n                ],\n                \"auth\": {\n                    \"loginRequired\": false,\n                    \"roles\": []\n                },\n                \"singlePage\": false,\n                \"pinned\": false,\n                \"slug\": \"sponsor-test\",\n                \"heroMedia\": {\n                    \"content\": {\n                        \"id\": \"cf315bde-0365-485f-9d18-6c98fe22d891\",\n                        \"contentType\": \"IMAGE\",\n                        \"content\": \"122\",\n                        \"title\": \"\",\n                        \"image\": \"https://media-cdn.incrowdsports.com/41792baf-bff3-4582-be34-dc0a15cfce41.webp\",\n                        \"sponsor\": {}\n                    },\n                    \"title\": \"Sponsor Test\"\n                },\n                \"displayCategory\": {\n                    \"id\": \"28d2f510-1501-43f8-a7c9-e6924728f02e\",\n                    \"text\": \"hello\"\n                },\n                \"articleMetadata\": {},\n                \"linkedIds\": [\n                    {\n                        \"text\": \"png-test (copy).PNG\",\n                        \"sourceSystem\": \"MEDIA\",\n                        \"sourceSystemId\": \"e6117c93-dcad-4cbb-9a40-816afd564b7c\"\n                    },\n                    {\n                        \"text\": \"ronaldobicyclekick.webp\",\n                        \"sourceSystem\": \"MEDIA\",\n                        \"sourceSystemId\": \"41792baf-bff3-4582-be34-dc0a15cfce41\"\n                    }\n                ],\n                \"publishDate\": \"2020-06-10T15:13:28.933Z\",\n                \"readTimeMinutes\": 1,\n                \"author\": {\n                    \"name\": null,\n                    \"title\": null,\n                    \"imageUrl\": null,\n                    \"socialHandles\": []\n                },\n                \"id\": \"4c51b698-a918-4175-8ee8-43755303dc72\",\n                \"content\": [\n                    {\n                        \"id\": \"65d818b6-c6e9-45bc-8d0d-eee3baf77c88\",\n                        \"contentType\": \"TEXT\",\n                        \"content\": \"test\",\n                        \"sponsor\": {\n                            \"imageUrl\": \"https://media-cdn.incrowdsports.com/e6117c93-dcad-4cbb-9a40-816afd564b7c.png\"\n                        },\n                        \"isHtml\": false\n                    }\n                ],\n                \"language\": \"en\",\n                \"blocked\": false\n            },\n            {\n                \"version\": 4,\n                \"tags\": [\n                    \"highlights\"\n                ],\n                \"source\": {\n                    \"sourceSystem\": \"BRIDGE\",\n                    \"overwriteEnabled\": false\n                },\n                \"clientId\": \"INCROWD\",\n                \"categories\": [\n                    {\n                        \"id\": \"bd4fdd7b-519b-4a3c-a0e9-0bdfaa61bb03\",\n                        \"text\": \"A wow\"\n                    },\n                    {\n                        \"id\": \"28d2f510-1501-43f8-a7c9-e6924728f02e\",\n                        \"text\": \"hello\"\n                    },\n                    {\n                        \"id\": \"0140f3cc-6558-415e-b281-9ae26ac02557\",\n                        \"text\": \"InCrowd\"\n                    }\n                ],\n                \"auth\": {\n                    \"loginRequired\": false,\n                    \"roles\": []\n                },\n                \"singlePage\": false,\n                \"pinned\": false,\n                \"slug\": \"leicester-vs-arsenal-match-report\",\n                \"heroMedia\": {\n                    \"content\": {\n                        \"id\": \"ac6ae950-0f57-4fd7-877e-5709ae078a56\",\n                        \"contentType\": \"VIDEO\",\n                        \"sourceSystem\": \"YOUTUBE\",\n                        \"sourceSystemId\": \"7rEMuZukkfM\",\n                        \"link\": \"https://www.youtube.com/watch?v=7rEMuZukkfM&feature=onebox\",\n                        \"sponsor\": {}\n                    },\n                    \"title\": \"Leicester Vs Arsenal Match Report\"\n                },\n                \"displayCategory\": {\n                    \"id\": \"bd4fdd7b-519b-4a3c-a0e9-0bdfaa61bb03\",\n                    \"text\": \"A wow\"\n                },\n                \"articleMetadata\": {},\n                \"linkedIds\": [\n                    {\n                        \"text\": \"Arsenal\",\n                        \"sourceSystem\": \"OPTA_FOOTBALL_TEAM\",\n                        \"sourceSystemId\": \"t3\"\n                    }\n                ],\n                \"publishDate\": \"2020-07-20T14:11:10.567Z\",\n                \"readTimeMinutes\": 0,\n                \"author\": {\n                    \"name\": null,\n                    \"title\": null,\n                    \"imageUrl\": null,\n                    \"socialHandles\": []\n                },\n                \"id\": \"2cb115ac-819d-4955-97e0-4ca364e84ce0\",\n                \"language\": \"en\",\n                \"blocked\": false\n            }\n        ],\n        \"categories\": {\n            \"d32a4117-03f5-4563-94c1-afa086be8954\": {\n                \"id\": \"d32a4117-03f5-4563-94c1-afa086be8954\",\n                \"parentId\": \"e60e403e-9ca3-490b-bdb7-4aa2173324b8\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"ef\",\n                \"text\": \"ef\",\n                \"lastModified\": {\n                    \"date\": \"2020-05-19T12:43:58.982Z\"\n                }\n            },\n            \"45b2c42d-2e68-4233-bfc7-29a19d8ae222\": {\n                \"id\": \"45b2c42d-2e68-4233-bfc7-29a19d8ae222\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"top-level\",\n                \"text\": \"top level\",\n                \"lastModified\": {\n                    \"date\": \"2019-11-06T15:52:43.698Z\"\n                }\n            },\n            \"bd4fdd7b-519b-4a3c-a0e9-0bdfaa61bb03\": {\n                \"id\": \"bd4fdd7b-519b-4a3c-a0e9-0bdfaa61bb03\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"wow\",\n                \"text\": \"A wow\",\n                \"lastModified\": {\n                    \"date\": \"2019-11-06T15:07:42.712Z\"\n                }\n            },\n            \"d75b5026-b97c-44b4-abd7-77b4c7d5131b\": {\n                \"id\": \"d75b5026-b97c-44b4-abd7-77b4c7d5131b\",\n                \"parentId\": \"d726e952-dee2-488b-a403-aa38c49422b3\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"try-grandchild\",\n                \"text\": \"try grandchild\",\n                \"i18n\": [\n                    {\n                        \"lang\": \"af\",\n                        \"text\": \"yo\"\n                    }\n                ],\n                \"lastModified\": {\n                    \"date\": \"2019-11-06T15:42:55.586Z\"\n                }\n            },\n            \"1c377a9e-64df-4175-ab0c-eeaf79890ee7\": {\n                \"id\": \"1c377a9e-64df-4175-ab0c-eeaf79890ee7\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"yo\",\n                \"text\": \"yo\",\n                \"lastModified\": {\n                    \"date\": \"2019-11-06T14:48:28.739Z\"\n                }\n            },\n            \"3298893e-83a3-44ff-b7b5-57ad1361f697\": {\n                \"id\": \"3298893e-83a3-44ff-b7b5-57ad1361f697\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"arsenal-super-arsenal\",\n                \"text\": \"Team\",\n                \"lastModified\": {\n                    \"date\": \"2019-07-24T09:03:36.636Z\"\n                }\n            },\n            \"1ef4c005-5add-4736-9589-59a227686066\": {\n                \"id\": \"1ef4c005-5add-4736-9589-59a227686066\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"one\",\n                \"text\": \"one\",\n                \"lastModified\": {\n                    \"date\": \"2019-11-06T14:39:30.268Z\"\n                }\n            },\n            \"0140f3cc-6558-415e-b281-9ae26ac02557\": {\n                \"id\": \"0140f3cc-6558-415e-b281-9ae26ac02557\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"incrowd-dsfdsfd-sdfsdfsdfd\",\n                \"text\": \"InCrowd\",\n                \"lastModified\": {\n                    \"date\": \"2019-07-23T16:45:41.733Z\"\n                }\n            },\n            \"d726e952-dee2-488b-a403-aa38c49422b3\": {\n                \"id\": \"d726e952-dee2-488b-a403-aa38c49422b3\",\n                \"parentId\": \"1ef4c005-5add-4736-9589-59a227686066\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"try-child\",\n                \"text\": \"try child\",\n                \"lastModified\": {\n                    \"date\": \"2019-11-06T15:45:45.620Z\"\n                }\n            },\n            \"28d2f510-1501-43f8-a7c9-e6924728f02e\": {\n                \"id\": \"28d2f510-1501-43f8-a7c9-e6924728f02e\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"hello\",\n                \"text\": \"hello\",\n                \"lastModified\": {\n                    \"date\": \"2019-11-06T15:43:33.518Z\"\n                }\n            },\n            \"d6b5c78c-79a4-43b4-a1a0-061198f490cc\": {\n                \"id\": \"d6b5c78c-79a4-43b4-a1a0-061198f490cc\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"c-wow\",\n                \"text\": \"C wow\",\n                \"lastModified\": {\n                    \"date\": \"2019-11-06T14:36:32.058Z\"\n                }\n            },\n            \"e60e403e-9ca3-490b-bdb7-4aa2173324b8\": {\n                \"id\": \"e60e403e-9ca3-490b-bdb7-4aa2173324b8\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"b-wow\",\n                \"text\": \"B wow\",\n                \"lastModified\": {\n                    \"date\": \"2019-09-16T09:37:06.507Z\"\n                }\n            },\n            \"25c6bad7-068a-4687-94eb-7e79fe3794c4\": {\n                \"id\": \"25c6bad7-068a-4687-94eb-7e79fe3794c4\",\n                \"parentId\": \"1ef4c005-5add-4736-9589-59a227686066\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"another-child\",\n                \"text\": \"another child\",\n                \"lastModified\": {\n                    \"date\": \"2019-11-06T15:52:05.657Z\"\n                }\n            },\n            \"ed03f87e-7b5f-4ca0-9673-4589a261c012\": {\n                \"id\": \"ed03f87e-7b5f-4ca0-9673-4589a261c012\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"this-is-a-test-slug\",\n                \"text\": \"Slug\",\n                \"lastModified\": {\n                    \"date\": \"2019-07-24T07:45:16.764Z\"\n                }\n            }\n        }\n    },\n    \"metadata\": {\n        \"createdAt\": \"2020-07-24T10:48:45.914Z\",\n        \"pageItems\": 3,\n        \"totalItems\": 3,\n        \"totalPages\": 1,\n        \"pageNumber\": 0,\n        \"pageSize\": 10,\n        \"sort\": \"publishDate: ASC\"\n    }\n}"},{"id":"93f05ef8-6531-4c0b-9c08-b19fa3f400b7","name":"Invalid JSON","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{a}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds/preview"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"107"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache"},{"key":"Date","value":"Fri, 24 Jul 2020 10:50:01 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 4e4c50c641418e6aad9ec09cb0f22845.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"AMS54-C1"},{"key":"X-Amz-Cf-Id","value":"lZXH9oaaXwhS7FOzSOE6yAENRx15ggaPNe1ZkDROJN_S-B-d5qV-Rw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Failed to unmarshal JSON\",\n    \"metadata\": {\n        \"createdAt\": \"2020-07-24T10:50:01.972Z\"\n    }\n}"},{"id":"da3bb4c2-17c3-476f-9b8d-55a06b388946","name":"Missing fields","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{clientId}}/feeds/preview"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"277"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache"},{"key":"Date","value":"Fri, 24 Jul 2020 10:49:51 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 4e4c50c641418e6aad9ec09cb0f22845.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"AMS54-C1"},{"key":"X-Amz-Cf-Id","value":"WJ5U0EsH6oZ_e7UAVig8GcUWevRpuTLq3icAeFtQr0Q9nvB_hXym2g=="}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Key: 'feedForm.Title' Error:Field validation for 'Title' failed on the 'required' tag\\nKey: 'feedForm.Rules.nodes' Error:Field validation for 'nodes' failed on the 'Valid root node operator' tag\",\n    \"metadata\": {\n        \"createdAt\": \"2020-07-24T10:49:51.215Z\"\n    }\n}"}],"_postman_id":"c635b346-96d8-4fb9-b3cd-2eced1364fc2"}],"id":"8a5c1e21-0503-453a-9b41-d033bac9c69f","_postman_id":"8a5c1e21-0503-453a-9b41-d033bac9c69f","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"username","value":"<username>"},{"key":"password","value":"<password>"},{"key":"grant_type","value":"<grant_type>"},{"key":"clientId","value":"<client-id>"},{"key":"authUrl","value":"<auth-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"accessTokenUrl","value":"<access-token-url>"}]},"isInherited":true,"source":{"_postman_id":"78f71e70-57f9-4789-860e-4e23d2caa1da","id":"78f71e70-57f9-4789-860e-4e23d2caa1da","name":"Feed Builder","type":"collection"}}},{"name":"User","item":[{"name":"Execute feed","id":"314d7414-b9fe-4940-8480-7175a3d87207","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/v1/feeds/{{feedId}}/execute?langauge=en","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"username","value":"<username>"},{"key":"password","value":"<password>"},{"key":"grant_type","value":"<grant_type>"},{"key":"clientId","value":"<client-id>"},{"key":"authUrl","value":"<auth-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"accessTokenUrl","value":"<access-token-url>"}]},"isInherited":true,"source":{"_postman_id":"78f71e70-57f9-4789-860e-4e23d2caa1da","id":"78f71e70-57f9-4789-860e-4e23d2caa1da","name":"Feed Builder","type":"collection"}},"urlObject":{"path":["v1","feeds","{{feedId}}","execute"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Locale to query by</p>\n","type":"text/plain"},"key":"langauge","value":"en"}],"variable":[]}},"response":[{"id":"9b252d52-2bc7-45c1-8e07-580c4c731940","name":"Feed not found","originalRequest":{"method":"GET","header":[],"url":"{{url}}/v1/feeds/{{feedId}}/execute"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"130"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 24 Jul 2020 10:53:43 GMT"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 4e4c50c641418e6aad9ec09cb0f22845.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"AMS54-C1"},{"key":"X-Amz-Cf-Id","value":"zDUcXaVsdKVBVZEqOfQyjMk9BiRL_B2xmEBZBwLPCPpz88wdv3tzNQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"feed with ID 5f1598f79f1c7426b5a3a338 not found\",\n    \"metadata\": {\n        \"createdAt\": \"2020-07-24T10:53:43.420Z\"\n    }\n}"},{"id":"eaf28b14-7b06-4973-b158-8c353963ed99","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{url}}/v1/feeds/{{feedId}}/execute"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Content-Length","value":"1751"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Headers","value":"content-type, authorization"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Cache-Control","value":"public, max-age=30"},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Fri, 24 Jul 2020 10:53:15 GMT"},{"key":"Expires","value":"Fri, 24 Jul 2020 10:53:45 GMT"},{"key":"Pragma","value":""},{"key":"Via","value":"1.1 2d77f193e0ce9fbd950640684be04705.cloudfront.net (CloudFront), 1.1 4e4c50c641418e6aad9ec09cb0f22845.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DUB2-C1"},{"key":"X-Amz-Cf-Pop","value":"AMS54-C1"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Cache","value":"Hit from cloudfront"},{"key":"X-Amz-Cf-Id","value":"NDJj-TLBrLJsT45chK-3c2OQEKVEWDamfQpzkpNM-C9-uZi3e2wq_Q=="},{"key":"Age","value":"14"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"articles\": [\n            {\n                \"version\": 4,\n                \"tags\": [\n                    \"highlights\"\n                ],\n                \"source\": {\n                    \"sourceSystem\": \"BRIDGE\",\n                    \"overwriteEnabled\": false\n                },\n                \"clientId\": \"INCROWD\",\n                \"categories\": [\n                    {\n                        \"id\": \"bd4fdd7b-519b-4a3c-a0e9-0bdfaa61bb03\",\n                        \"text\": \"A wow\"\n                    },\n                    {\n                        \"id\": \"28d2f510-1501-43f8-a7c9-e6924728f02e\",\n                        \"text\": \"hello\"\n                    },\n                    {\n                        \"id\": \"0140f3cc-6558-415e-b281-9ae26ac02557\",\n                        \"text\": \"InCrowd\"\n                    }\n                ],\n                \"auth\": {\n                    \"loginRequired\": false,\n                    \"roles\": []\n                },\n                \"singlePage\": false,\n                \"pinned\": false,\n                \"slug\": \"leicester-vs-arsenal-match-report\",\n                \"heroMedia\": {\n                    \"content\": {\n                        \"id\": \"ac6ae950-0f57-4fd7-877e-5709ae078a56\",\n                        \"contentType\": \"VIDEO\",\n                        \"sourceSystem\": \"YOUTUBE\",\n                        \"sourceSystemId\": \"7rEMuZukkfM\",\n                        \"link\": \"https://www.youtube.com/watch?v=7rEMuZukkfM&feature=onebox\",\n                        \"sponsor\": {}\n                    },\n                    \"title\": \"Leicester Vs Arsenal Match Report\"\n                },\n                \"displayCategory\": {\n                    \"id\": \"bd4fdd7b-519b-4a3c-a0e9-0bdfaa61bb03\",\n                    \"text\": \"A wow\"\n                },\n                \"articleMetadata\": {},\n                \"linkedIds\": [\n                    {\n                        \"text\": \"Arsenal\",\n                        \"sourceSystem\": \"OPTA_FOOTBALL_TEAM\",\n                        \"sourceSystemId\": \"t3\"\n                    }\n                ],\n                \"publishDate\": \"2020-07-20T14:11:10.567Z\",\n                \"readTimeMinutes\": 0,\n                \"author\": {\n                    \"name\": null,\n                    \"title\": null,\n                    \"imageUrl\": null,\n                    \"socialHandles\": []\n                },\n                \"id\": \"2cb115ac-819d-4955-97e0-4ca364e84ce0\",\n                \"language\": \"en\",\n                \"blocked\": false\n            },\n            {\n                \"version\": 1,\n                \"source\": {\n                    \"sourceSystem\": \"BRIDGE\",\n                    \"overwriteEnabled\": false\n                },\n                \"clientId\": \"INCROWD\",\n                \"auth\": {\n                    \"loginRequired\": false,\n                    \"roles\": []\n                },\n                \"singlePage\": false,\n                \"pinned\": false,\n                \"slug\": \"arsenal-news\",\n                \"heroMedia\": {\n                    \"content\": {\n                        \"id\": \"25547e3a-4d10-4a43-901a-ace08c221975\",\n                        \"contentType\": \"IMAGE\",\n                        \"content\": \"122\",\n                        \"image\": \"https://media-cdn.incrowdsports.com/ea6466a0-769d-4e3f-b801-4bd5d0f6cbc1.png\",\n                        \"sponsor\": {}\n                    },\n                    \"title\": \"Arsenal News\",\n                    \"summary\": \"Testing Arsenal News\"\n                },\n                \"articleMetadata\": {},\n                \"linkedIds\": [\n                    {\n                        \"text\": \"meetup.png\",\n                        \"sourceSystem\": \"MEDIA\",\n                        \"sourceSystemId\": \"ea6466a0-769d-4e3f-b801-4bd5d0f6cbc1\"\n                    },\n                    {\n                        \"text\": \"Arsenal\",\n                        \"sourceSystem\": \"OPTA_FOOTBALL_TEAM\",\n                        \"sourceSystemId\": \"t3\"\n                    }\n                ],\n                \"publishDate\": \"2020-07-20T13:16:21.053Z\",\n                \"readTimeMinutes\": 0,\n                \"author\": {\n                    \"name\": null,\n                    \"title\": null,\n                    \"imageUrl\": null,\n                    \"socialHandles\": []\n                },\n                \"id\": \"f452bcf5-aa5f-43b7-9d46-de31393ee5ed\",\n                \"language\": \"en\",\n                \"blocked\": false\n            }\n        ],\n        \"categories\": {\n            \"d32a4117-03f5-4563-94c1-afa086be8954\": {\n                \"id\": \"d32a4117-03f5-4563-94c1-afa086be8954\",\n                \"parentId\": \"e60e403e-9ca3-490b-bdb7-4aa2173324b8\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"ef\",\n                \"text\": \"ef\",\n                \"lastModified\": {\n                    \"date\": \"2020-05-19T12:43:58.982Z\"\n                }\n            },\n            \"45b2c42d-2e68-4233-bfc7-29a19d8ae222\": {\n                \"id\": \"45b2c42d-2e68-4233-bfc7-29a19d8ae222\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"top-level\",\n                \"text\": \"top level\",\n                \"lastModified\": {\n                    \"date\": \"2019-11-06T15:52:43.698Z\"\n                }\n            },\n            \"bd4fdd7b-519b-4a3c-a0e9-0bdfaa61bb03\": {\n                \"id\": \"bd4fdd7b-519b-4a3c-a0e9-0bdfaa61bb03\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"wow\",\n                \"text\": \"A wow\",\n                \"lastModified\": {\n                    \"date\": \"2019-11-06T15:07:42.712Z\"\n                }\n            },\n            \"d75b5026-b97c-44b4-abd7-77b4c7d5131b\": {\n                \"id\": \"d75b5026-b97c-44b4-abd7-77b4c7d5131b\",\n                \"parentId\": \"d726e952-dee2-488b-a403-aa38c49422b3\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"try-grandchild\",\n                \"text\": \"try grandchild\",\n                \"i18n\": [\n                    {\n                        \"lang\": \"af\",\n                        \"text\": \"yo\"\n                    }\n                ],\n                \"lastModified\": {\n                    \"date\": \"2019-11-06T15:42:55.586Z\"\n                }\n            },\n            \"1c377a9e-64df-4175-ab0c-eeaf79890ee7\": {\n                \"id\": \"1c377a9e-64df-4175-ab0c-eeaf79890ee7\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"yo\",\n                \"text\": \"yo\",\n                \"lastModified\": {\n                    \"date\": \"2019-11-06T14:48:28.739Z\"\n                }\n            },\n            \"3298893e-83a3-44ff-b7b5-57ad1361f697\": {\n                \"id\": \"3298893e-83a3-44ff-b7b5-57ad1361f697\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"arsenal-super-arsenal\",\n                \"text\": \"Team\",\n                \"lastModified\": {\n                    \"date\": \"2019-07-24T09:03:36.636Z\"\n                }\n            },\n            \"1ef4c005-5add-4736-9589-59a227686066\": {\n                \"id\": \"1ef4c005-5add-4736-9589-59a227686066\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"one\",\n                \"text\": \"one\",\n                \"lastModified\": {\n                    \"date\": \"2019-11-06T14:39:30.268Z\"\n                }\n            },\n            \"0140f3cc-6558-415e-b281-9ae26ac02557\": {\n                \"id\": \"0140f3cc-6558-415e-b281-9ae26ac02557\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"incrowd-dsfdsfd-sdfsdfsdfd\",\n                \"text\": \"InCrowd\",\n                \"lastModified\": {\n                    \"date\": \"2019-07-23T16:45:41.733Z\"\n                }\n            },\n            \"d726e952-dee2-488b-a403-aa38c49422b3\": {\n                \"id\": \"d726e952-dee2-488b-a403-aa38c49422b3\",\n                \"parentId\": \"1ef4c005-5add-4736-9589-59a227686066\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"try-child\",\n                \"text\": \"try child\",\n                \"lastModified\": {\n                    \"date\": \"2019-11-06T15:45:45.620Z\"\n                }\n            },\n            \"28d2f510-1501-43f8-a7c9-e6924728f02e\": {\n                \"id\": \"28d2f510-1501-43f8-a7c9-e6924728f02e\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"hello\",\n                \"text\": \"hello\",\n                \"lastModified\": {\n                    \"date\": \"2019-11-06T15:43:33.518Z\"\n                }\n            },\n            \"d6b5c78c-79a4-43b4-a1a0-061198f490cc\": {\n                \"id\": \"d6b5c78c-79a4-43b4-a1a0-061198f490cc\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"c-wow\",\n                \"text\": \"C wow\",\n                \"lastModified\": {\n                    \"date\": \"2019-11-06T14:36:32.058Z\"\n                }\n            },\n            \"e60e403e-9ca3-490b-bdb7-4aa2173324b8\": {\n                \"id\": \"e60e403e-9ca3-490b-bdb7-4aa2173324b8\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"b-wow\",\n                \"text\": \"B wow\",\n                \"lastModified\": {\n                    \"date\": \"2019-09-16T09:37:06.507Z\"\n                }\n            },\n            \"25c6bad7-068a-4687-94eb-7e79fe3794c4\": {\n                \"id\": \"25c6bad7-068a-4687-94eb-7e79fe3794c4\",\n                \"parentId\": \"1ef4c005-5add-4736-9589-59a227686066\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"another-child\",\n                \"text\": \"another child\",\n                \"lastModified\": {\n                    \"date\": \"2019-11-06T15:52:05.657Z\"\n                }\n            },\n            \"ed03f87e-7b5f-4ca0-9673-4589a261c012\": {\n                \"id\": \"ed03f87e-7b5f-4ca0-9673-4589a261c012\",\n                \"clientId\": \"INCROWD\",\n                \"slug\": \"this-is-a-test-slug\",\n                \"text\": \"Slug\",\n                \"lastModified\": {\n                    \"date\": \"2019-07-24T07:45:16.764Z\"\n                }\n            }\n        }\n    },\n    \"metadata\": {\n        \"createdAt\": \"2020-07-24T10:53:15.011Z\",\n        \"pageItems\": 2,\n        \"totalItems\": 2,\n        \"totalPages\": 1,\n        \"pageNumber\": 0,\n        \"pageSize\": 50,\n        \"sort\": \"publishDate: DESC\"\n    }\n}"}],"_postman_id":"314d7414-b9fe-4940-8480-7175a3d87207"}],"id":"9c9b336c-eb06-42b8-9eb2-b1ff138fc0cb","_postman_id":"9c9b336c-eb06-42b8-9eb2-b1ff138fc0cb","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"username","value":"<username>"},{"key":"password","value":"<password>"},{"key":"grant_type","value":"<grant_type>"},{"key":"clientId","value":"<client-id>"},{"key":"authUrl","value":"<auth-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"accessTokenUrl","value":"<access-token-url>"}]},"isInherited":true,"source":{"_postman_id":"78f71e70-57f9-4789-860e-4e23d2caa1da","id":"78f71e70-57f9-4789-860e-4e23d2caa1da","name":"Feed Builder","type":"collection"}}}],"auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"username","value":"<username>"},{"key":"password","value":"<password>"},{"key":"grant_type","value":"<grant_type>"},{"key":"clientId","value":"<client-id>"},{"key":"authUrl","value":"<auth-url>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"accessTokenUrl","value":"<access-token-url>"}]}},"event":[{"listen":"prerequest","script":{"id":"25a7f384-5b8f-4955-a89d-f9c3326e5b44","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2b06a0dc-fcd3-4a12-82e2-9afe0cedefd0","type":"text/javascript","exec":[""]}}]}