Skip to content

Commit

Permalink
Merge pull request #98 from companieshouse/bugfix/changeRoutes
Browse files Browse the repository at this point in the history
accept only 8 digit company numbers
  • Loading branch information
JAndrewCH authored Feb 13, 2024
2 parents 396a0a3 + a568b42 commit c80e382
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions routes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c80e382

Please sign in to comment.