创建自定义操作

创建属于某个团队的自定义操作

身份验证

AuthorizationBearer

Bearer 身份验证,格式为 Bearer <token>,其中 token 是您的身份验证令牌。

路径参数

team_idstring必需格式: "uuid"

请求

Action to create or update
descriptionstring必需
Description of the custom Action
eventstring必需
Arbitrary event name to include in custom Action webhook payloads
namestring必需
Name of the custom Action
urlstring必需
HTTPS endpoint to deliver Action events to
allow_collaboratorsboolean可选默认为 false
includestring可选
Any associations to include in the response

响应

Action success response
activeboolean可选
allow_collaboratorsboolean可选
creator_idstring可选格式: "uuid"
deleted_atstring可选格式: "date-time"
descriptionstring可选
eventstring可选
idstring可选格式: "uuid"
imagestring可选
inserted_atstring可选格式: "date-time"
namestring可选
teamobject可选
team_idstring可选格式: "uuid"
updated_atstring可选格式: "date-time"
upload_urlstring可选
urlstring可选
webhookobject可选

错误

401
Unauthorized Error
404
Not Found Error