32 lines
600 B
JSON
32 lines
600 B
JSON
{
|
|
"request": {
|
|
"method": "POST",
|
|
"path": "/v3/workspaces/boxmaker-plan-probe/peers",
|
|
"body": {
|
|
"id": "bad peer"
|
|
}
|
|
},
|
|
"response": {
|
|
"status": 422,
|
|
"headers": {
|
|
"content-type": "application/json"
|
|
},
|
|
"body": {
|
|
"detail": [
|
|
{
|
|
"type": "string_pattern_mismatch",
|
|
"loc": [
|
|
"body",
|
|
"id"
|
|
],
|
|
"msg": "String should match pattern '^[a-zA-Z0-9_-]+$'",
|
|
"input": "bad peer",
|
|
"ctx": {
|
|
"pattern": "^[a-zA-Z0-9_-]+$"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|