Custom Endpoint Send
POST/custom/v1/custom/:endpoint_id
Hit a predetermined URL specified by the passed in endpoint_id, the response from that URL is returned here.
Request
Path Parameters
endpoint_id Endpoint Idrequired
The endpoint id
Header Parameters
content-type Content-Type
Default value: application/json
- application/json
Body
any
Responses
- 200
- 403
- 404
- 422
Successful Response
- application/json
- Schema
Schema
any
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
auth_success Auth Success (boolean)
Default value: true
error_code Error Code (string)required
desc Desc (string)required
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
auth_success Auth Success (boolean)
Default value: true
error_code Error Code (string)required
desc Desc (string)required
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...