client_key 或 secret,服务端会自动生成。secret 仅在创建成功时返回一次。X-XTJ-UID: ********************{
"name": "string",
"code": "string",
"description": "string",
"client_key": "string",
"secret": "string",
"status": "active",
"allow_token_read": true
}curl --location --request POST '/v1/internal/apps' \
--header 'X-XTJ-UID: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"code": "string",
"description": "string",
"client_key": "string",
"secret": "string",
"status": "active",
"allow_token_read": true
}'{
"data": {
"app": {
"id": 0,
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z",
"name": "string",
"code": "string",
"description": "string",
"client_key": "string",
"status": "active",
"allow_token_read": true,
"last_used_at": "2019-08-24T14:15:22.123Z"
},
"secret": "string"
}
}