alfresco-js-api
Version:
JavaScript client library for the Alfresco REST API
109 lines (74 loc) • 6.45 kB
Markdown
//localhost/alfresco/api/-default-/public/gs/versions/1*
Method | HTTP request | Description
------------- | ------------- | -------------
[**getTransfer**](TransfersApi.md
[**listTransfersChildren**](TransfersApi.md
<a name="getTransfer"></a>
> TransferEntry getTransfer(transferId, opts)
Get a transfer
Gets information for transfer **transferId** Mandatory fields and the transfer's aspects and properties are returned by default. You can use the **include** parameter (include&
```javascript
var transferId = "transferId_example"; // String | The identifier of a transfer.
var opts = {
'include': ["include_example"], // [String] | Returns additional information about the transfer folder. Any optional field from the response model can be requested. For example: * allowableOperations * transferPDFIndicator * transferLocation * transferAccessionIndicator
'fields': ["fields_example"] // [String] | A list of field names. You can use this parameter to restrict the fields returned within a response if, for example, you want to save on overall bandwidth. The list applies to a returned individual entity or entries within a collection. If the API method also supports the **include** parameter, then the fields specified in the **include** parameter are returned in addition to those specified in the **fields** parameter.
};
this.alfrescoJsApi.gsCore.transfersApi.getTransfer(transferId, opts).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
```
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**transferId** | **String**| The identifier of a transfer. |
**include** | [**[String]**](String.md)| Returns additional information about the transfer folder. Any optional field from the response model can be requested. For example: * allowableOperations * transferPDFIndicator * transferLocation * transferAccessionIndicator | [optional]
**fields** | [**[String]**](String.md)| A list of field names. You can use this parameter to restrict the fields returned within a response if, for example, you want to save on overall bandwidth. The list applies to a returned individual entity or entries within a collection. If the API method also supports the **include** parameter, then the fields specified in the **include** parameter are returned in addition to those specified in the **fields** parameter. | [optional]
[**TransferEntry**](TransferEntry.md)
[ ](../README.md
- **Content-Type**: application/json
- **Accept**: application/json
<a name="listTransfersChildren"></a>
> TransferAssociationPaging listTransfersChildren(transferId, opts)
List transfer's children
Gets a list of transfer&
```javascript
var transferId = "transferId_example"; // String | The identifier of a transfer.
var opts = {
'skipCount': 56, // Number | The number of entities that exist in the collection before those included in this list.
'maxItems': 56, // Number | The maximum number of items to return in the list.
'include': ["include_example"], // [String] | Returns additional information about the transfer's child. Any optional field from the response model can be requested. For example: * allowableOperations * aspectNames * isClosed * isRecord * isRecordFolder * path * properties
'includeSource': true, // Boolean | Also include **source** (in addition to **entries**) with folder information on the specified parent **transferId**.
'fields': ["fields_example"] // [String] | A list of field names. You can use this parameter to restrict the fields returned within a response if, for example, you want to save on overall bandwidth. The list applies to a returned individual entity or entries within a collection. If the API method also supports the **include** parameter, then the fields specified in the **include** parameter are returned in addition to those specified in the **fields** parameter.
};
this.alfrescoJsApi.gsCore.transfersApi.listTransfersChildren(transferId, opts).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
```
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**transferId** | **String**| The identifier of a transfer. |
**skipCount** | **Number**| The number of entities that exist in the collection before those included in this list. | [optional]
**maxItems** | **Number**| The maximum number of items to return in the list. | [optional]
**include** | [**[String]**](String.md)| Returns additional information about the transfer&
**includeSource** | **Boolean**| Also include **source** (in addition to **entries**) with folder information on the specified parent **transferId**. | [optional]
**fields** | [**[String]**](String.md)| A list of field names. You can use this parameter to restrict the fields returned within a response if, for example, you want to save on overall bandwidth. The list applies to a returned individual entity or entries within a collection. If the API method also supports the **include** parameter, then the fields specified in the **include** parameter are returned in addition to those specified in the **fields** parameter. | [optional]
[**TransferAssociationPaging**](TransferAssociationPaging.md)
[ ](../README.md
- **Content-Type**: application/json
- **Accept**: application/json
All URIs are relative to *https: