跳到主要内容

按 ID 重发通知

使用此端点按 id 重发指定的通知。

可用环境​

https://api.gateway.com.br/dispatcher

端点​

  • 方法:POST
  • 端点:/request/{id}/resend
  • 认证方式:Bearer token

路径参数​

名称类型必填说明校验规则
idstring是通知的标识必须为有效的通知 ID

请求示例​

curl --request POST \
--url https://api.gateway.com.br/dispatcher/request/553e8400-e29b-41d4-a716-446655440000/resend \
--header 'Authorization: Bearer your-jwt-token'

成功响应​

状态码说明
201 Created通知已成功重发
ℹ️ 响应体

此端点返回 201,没有响应体。

可能的错误​

状态码说明处理方式
400请求无效请检查传入的 id
401凭据无效请检查您的 token
403无权限或未授权请检查 resend_dispatcher 权限范围
422实体无法处理请检查提交的数据
500内部错误请联系技术支持