CreateRichText
Creates rich text.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gemp:CreateRichText |
create |
*All Resource
|
None | None |
Request syntax
POST /rich/create HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| instanceId |
integer |
No |
The resource ID. |
140080050 |
| instanceType |
string |
No |
The resource type. Valid values:
|
INCIDENT |
| richText |
string |
No |
The rich text content. |
This is rich text |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response struct. |
||
| requestId |
string |
The request ID. |
10REQUES-AC5C-4B59-BE11-378F117A6A88 |
| data |
object |
The returned data. |
|
| instanceId |
integer |
The resource ID. |
140080050 |
| instanceType |
integer |
The resource type. Valid values:
|
0 |
| richText |
string |
The rich text content. |
This is rich text |
Examples
Success response
JSON format
{
"requestId": "10REQUES-AC5C-4B59-BE11-378F117A6A88",
"data": {
"instanceId": 140080050,
"instanceType": 0,
"richText": "这是一个富文本"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.