Adds a directory to the left-side navigation pane of DataAnalysis.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | MountDirectory | The operation that you want to perform. Set the value to MountDirectory. |
TargetType | String | No | META_ALBUM | The type of the directory that you want to add to the left-side navigation pane of DataAnalysis. Example: META_ALBUM, which indicates the data album. |
TargetId | String | No | album.339 | The ID of the directory that you want to add to the left-side navigation pane of DataAnalysis. This parameter is used together with the TargetType parameter. For example, if you set the TargetType parameter to META_ALBUM, you must set the TargetId parameter to the ID of the related data album. You can call the ListMetaCollections operation to obtain the ID of the data album. The ID is indicated by the QualifiedName parameter. |
TargetUserId | String | No | 1234567890 | The ID of the user in the tenant.
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
HttpStatusCode | Integer | 200 | The HTTP status code. |
Data | Integer | 1 | The number of directories that are added. Valid values:
|
RequestId | String | C27D4FB9-C59B-5E17-BD6C-1099B9D6A381 | The request ID. You can use the ID to troubleshoot issues. |
ErrorMessage | String | You have no permission. | The error message returned if the request failed. |
Success | Boolean | true | Indicates whether the request was successful. Valid values:
|
ErrorCode | String | 200 | The error code. The value 200 indicates that the task is successful. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=MountDirectory
&TargetType=META_ALBUM
&TargetId=album.339
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<MountDirectoryResponse>
<HttpStatusCode>200</HttpStatusCode>
<Data>1</Data>
<RequestId>C27D4FB9-C59B-5E17-BD6C-1099B9D6A381</RequestId>
<Success>true</Success>
<ErrorCode>200</ErrorCode>
</MountDirectoryResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"HttpStatusCode" : 200,
"Data" : 1,
"RequestId" : "C27D4FB9-C59B-5E17-BD6C-1099B9D6A381",
"Success" : true,
"ErrorCode" : "200"
}
Error codes
For a list of error codes, see Service error codes.