[TOC]
## 接口说明
> 根据 Stub Mapping 的 ID 查询。
## 接口定义
~~~[api]
get:/mappings/{stubMappingId}
*string:stubMappingId=730d3e32-d098-4169-a20c-554c3bedce58#URI 参数:StubMapping 的 UUID
<<<
response(success)
**Response Body**
{
"id": "730d3e32-d098-4169-a20c-554c3bedce58",
"uuid": "730d3e32-d098-4169-a20c-554c3bedce58",
"request": {
"method": "GET",
"url": "/some/thing"
},
"response": {
"status": 200,
"body": "Hello world!",
"headers": {
"Content-Type": "text/plain"
}
}
}
~~~
## [JSON Schema](https://jsonschema.net/)
### Response JSON Schema
同 [Stub Mapping](StubMapping.md) 。
- Admin API
- Stub Mapping API
- /mappings
- GET
- POST
- DELETE
- /mappings/reset
- /mappings/{stubMappingId}
- GET
- PUT
- DELETE
- /mocklab/mappings/normal
- /mocklab/mappings/notify
- Record API
- /recordings/start
- /recordings/stop
- /recordings/status
- /recordings/snapshot
- Settings API
- /mocklab/settings
- JSON Schema
- Stub Mapping
- Stub Mappings
- Stub Mappings meta
- 官方 API 文档
- 文章模板
- API 文章模板