字段详情
POST
https://api.flashcat.cloud/field/info
最后修改时间:2023-12-18 02:51:36
请求参数
Authorization
在 query 添加参数
app_key
示例:
app_key: ********************
Header 参数
Content-Type
string
可选
示例值:
application/json
Body 参数application/json
field_id
string
字段ID
示例
{
"field_id": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.flashcat.cloud/field/info?app_key' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
error
object (DutyError)
可选
code
enum<string>
错误码
枚举值:
InvalidParameterInvalidContentTypeUnauthorizedAccessDeniedMethodNotAllowedRequestTooFrequentlyRequestVerifyRequiredDangerousOperationRequestLockedRouteNotFoundBalanceNotEnoughUndonedOrderExistResourceNotFoundInternalErrorReferenceExist
message
string
错误描述
data
object (Field)
可选
field_id
string
字段ID
account_id
integer
账户ID
field_name
string
字段名称
display_name
string
显示名称
description
string
描述
field_type
enum<string>
字段类型
枚举值:
textsingle_selectmulti_selectcheckbox
value_type
enum<string>
值类型
枚举值:
stringbool
options
array [object]
可选值
default_value
string | integer | boolean | array | object | number | null
默认值
status
enum<string>
状态
枚举值:
enableddisableddeleted
creator_id
integer
创建者ID
updated_by
integer
更新者ID
created_at
integer
创建时间戳
updated_at
integer
更新时间戳
示例
{
"error": {
"code": "InvalidParameter",
"message": "string"
},
"data": {
"field_id": "string",
"account_id": 0,
"field_name": "string",
"display_name": "string",
"description": "string",
"field_type": "text",
"value_type": "string",
"options": [
"string"
],
"default_value": "string",
"status": "enabled",
"creator_id": 0,
"updated_by": 0,
"created_at": 0,
"updated_at": 0
}
}

添加官方技术人员微信
在这里,获得使用上的任何帮助,快速上手企业告警一站式响应平台FlashDuty


修改于 2023-12-18 02:51:36