From a568b42a2af9f7883343b26dcfdd058c71fb19a1 Mon Sep 17 00:00:00 2001 From: JAndrewCH Date: Tue, 13 Feb 2024 10:04:31 +0000 Subject: [PATCH] accept only 8 digit company numbers --- routes.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/routes.yaml b/routes.yaml index a72301e1..bc8df8a5 100644 --- a/routes.yaml +++ b/routes.yaml @@ -3,14 +3,14 @@ group: api weight: 905 routes: 1: ^/persons-with-significant-control/healthcheck - 2: ^/company/(.*)/persons-with-significant-control/(.*)/full_record - 3: ^/company/(.*)/persons-with-significant-control/individual/(.*) - 4: ^/company/(.*)/persons-with-significant-control/individual-beneficial-owner/(.*) - 5: ^/company/(.*)/persons-with-significant-control/corporate-entity-beneficial-owner/(.*) - 6: ^/company/(.*)/persons-with-significant-control/legal-person/(.*) - 7: ^/company/(.*)/persons-with-significant-control/corporate-entity/(.*) - 8: ^/company/(.*)/persons-with-significant-control/super-secure/(.*) - 9: ^/company/(.*)/persons-with-significant-control/legal-person-beneficial-owner/(.*) - 10: ^/company/(.*)/persons-with-significant-control/super-secure-beneficial-owner/(.*) - 11: ^/company/(.*)/persons-with-significant-control + 2: ^/company/(.){8}/persons-with-significant-control/(.*)/full_record + 3: ^/company/(.){8}/persons-with-significant-control/individual/(.*) + 4: ^/company/(.){8}/persons-with-significant-control/individual-beneficial-owner/(.*) + 5: ^/company/(.){8}/persons-with-significant-control/corporate-entity-beneficial-owner/(.*) + 6: ^/company/(.){8}/persons-with-significant-control/legal-person/(.*) + 7: ^/company/(.){8}/persons-with-significant-control/corporate-entity/(.*) + 8: ^/company/(.){8}/persons-with-significant-control/super-secure/(.*) + 9: ^/company/(.){8}/persons-with-significant-control/legal-person-beneficial-owner/(.*) + 10: ^/company/(.){8}persons-with-significant-control/super-secure-beneficial-owner/(.*) + 11: ^/company/(.){8}/persons-with-significant-control