Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.
Updates a reply.
PATCH
https://drive.cloud.hicloud.com/drive/v1/files/{fileId}/comments/{commentId}/replies/{replyId}
*Some parameters are mandatory.
| parameter | type | description | |
| fileId | string | path | File ID. (Mandatory) |
| commentId | string | path | Comment ID. (Mandatory) |
| replyId | string | path | Reply ID. (Mandatory) |
| fields | string | query | Fields in the request, which are in the partial response format. |
| form | string | query | Media format. |
| prettyPrint | boolean | query | Indicates whether to return a response in a human-readable format. |
| quotaId | string | query | User identifier, consisting of 40 characters at maximum. It is used to restrict the number of API calls of an individual user. |
| callback | string | query | Callback function used in JSONP requests. |
| x-hw-trace-id | string | header | ID used for service tracing. |
| x-hw-app-id | string | header | App ID. |
| version | string | header | SDK version number. |
| x-hw-terminal | string | header | Device model. |
| x-hw-os | string | header | Device operating system. |
| unionID | string | header | Open user ID. |
| User-Agent | string | header | App version number or ID. |
In the request body, provide data with the following structure:
| id | string | 一个唯一ID,标识这个订阅通道。 |
| description | string | Content of the reply.(Mandatory) |
If successful, this method returns a response body with the following structure:
- {
- "category": "drive#reply",
- "id": "string",
- "createdTime": "2020-02-19T14:44:40.660Z",
- "editedTime": "2020-02-19T14:44:40.661Z",
- "creator": {
- "category": "drive#user",
- "displayName": "string",
- "profilePhotoLink": "string",
- "me": true,
- "permissionId": "string",
- "userAccount": "string"
- },
- "description": "string",
- "htmlDescription": "string",
- "deleted": true,
- "operate": "string"
- }
| category | string | 资源类型,固定为api#channel。 |
| category | string | Reply type. The value is always drive#reply. |
| id | string | Reply ID. |
| createdTime | string | Time when the reply was created. |
| editedTime | string | Last time when the reply was modified. |
| creator.category | string | Reply creator type. The value is always drive#user. |
| creator.displayName | string | Displayed name for this user. |
| creator.profilePhotoLink | string | Link to the user's profile picture, which is not returned by default. |
| creator.me | boolean | Indicates whether this user is the requesting user. |
| creator.permissionId | string | Permission ID. |
| creator.userAccount | string | Account of the user, which is not returned by default. |
| htmlDescription | string | Reply content in HTML format. |
| description | string | Reply content. |
| deleted | boolean | Indicates whether the reply has been deleted. |
| operate | string | Operation to be performed for the comment. |
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.