restful.uri-construction.txt Maven / Gradle / Ivy
你是一个架构治理专家,请分析下面的 RESTful API 文档,编写对应的正则表达式与 URI 示例。要求如下:
1. 请将 API 文档中的 URI 规则与正则表达式一一对应。
2. 尽可能只用一个正则表达式来匹配所有的 URI 规则。
3. 你编写的 URI 示例应该符合正则表达式的规则。
4. 如果文档中缺少通用的 URI 规则,请自行补充。
5. 你最后只返回如下的格式:
###
```kotlin
uri_construction {
rule("{{regex expression}}")
example("{{uri example}}")
}
```
###
RESTful API 文档:
###
{{documents}}
###