Mecha CMS

Deep learning on using the API.

Route

Table of Content

Do something if URL path matched with pattern.

1.0.02.0.02.2.0Genome

Patterns 

PatternDescription
([^/]+)Matched with any but /
(\d+)Matched with any positive numbers.
((?:\d*\.)?\d+)Matched with any positive numbers and floats.
(.+)Matched with any and /
(foo|bar|baz\|qux)Matched with foo, bar and baz|qux
(foo|bar|\d+)Matched with foo, bar and any positive numbers.