FileStorageApi
- Create DriveGroup
- List DriveGroups
- Delete DriveGroup
- Get DriveGroup
- Update DriveGroup
- Create Drive
- List Drives
- Delete Drive
- Get Drive
- Update Drive
- List Files
- Delete File
- Download File
- Export File
- Get File
- Search Files
- Rename Or Move File
- Create Folder
- Copy Folder
- Delete Folder
- Get Folder
- Rename Or Move Folder
- Create Shared Link
- List SharedLinks
- Delete Shared Link
- Get Shared Link
- Update Shared Link
- Start Upload Session
- Abort Upload Session
- Finish Upload Session
- Get Upload Session
Method: driveGroupsAdd
Apideck->getFileStorageApi()->driveGroupsAdd($data)
Name | Type | Description | Notes |
---|---|---|---|
drive_group | \Apideck\Client\Model\DriveGroup | ||
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\CreateDriveGroupResponse
Status code | Description |
---|---|
201 | DriveGroups |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->driveGroupsAdd($driveGroup);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: driveGroupsAll
Apideck->getFileStorageApi()->driveGroupsAll($data)
Name | Type | Description | Notes |
---|---|---|---|
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
cursor | string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | |
filter | \Apideck\Client\Model\DriveGroupsFilter | Apply filters | |
pass_through | \Apideck\Client\Model\PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
limit | [int] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 |
\Apideck\Client\Model\GetDriveGroupsResponse
Status code | Description |
---|---|
200 | DriveGroups |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->driveGroupsAll();
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: driveGroupsDelete
Apideck->getFileStorageApi()->driveGroupsDelete($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\DeleteDriveGroupResponse
Status code | Description |
---|---|
200 | DriveGroups |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->driveGroupsDelete('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: driveGroupsOne
Apideck->getFileStorageApi()->driveGroupsOne($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\GetDriveGroupResponse
Status code | Description |
---|---|
200 | DriveGroups |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->driveGroupsOne('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: driveGroupsUpdate
Apideck->getFileStorageApi()->driveGroupsUpdate($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
drive_group | \Apideck\Client\Model\DriveGroup | ||
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\UpdateDriveGroupResponse
Status code | Description |
---|---|
200 | DriveGroups |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->driveGroupsUpdate('id_example', $driveGroup);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: drivesAdd
Apideck->getFileStorageApi()->drivesAdd($data)
Name | Type | Description | Notes |
---|---|---|---|
drive | \Apideck\Client\Model\Drive | ||
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\CreateDriveResponse
Status code | Description |
---|---|
201 | Drives |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->drivesAdd($drive);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: drivesAll
Apideck->getFileStorageApi()->drivesAll($data)
Name | Type | Description | Notes |
---|---|---|---|
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
cursor | string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | |
filter | \Apideck\Client\Model\DrivesFilter | Apply filters | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
limit | [int] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 |
\Apideck\Client\Model\GetDrivesResponse
Status code | Description |
---|---|
200 | Drives |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->drivesAll();
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: drivesDelete
Apideck->getFileStorageApi()->drivesDelete($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\DeleteDriveResponse
Status code | Description |
---|---|
200 | Drives |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->drivesDelete('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: drivesOne
Apideck->getFileStorageApi()->drivesOne($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\GetDriveResponse
Status code | Description |
---|---|
200 | Drives |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->drivesOne('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: drivesUpdate
Apideck->getFileStorageApi()->drivesUpdate($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
drive | \Apideck\Client\Model\Drive | ||
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\UpdateDriveResponse
Status code | Description |
---|---|
200 | Drives |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->drivesUpdate('id_example', $drive);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: filesAll
Apideck->getFileStorageApi()->filesAll($data)
Name | Type | Description | Notes |
---|---|---|---|
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
cursor | string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | |
filter | \Apideck\Client\Model\FilesFilter | Apply filters | |
sort | \Apideck\Client\Model\FilesSort | Apply sorting | |
pass_through | \Apideck\Client\Model\PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
limit | [int] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 |
\Apideck\Client\Model\GetFilesResponse
Status code | Description |
---|---|
200 | Files |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->filesAll();
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: filesDelete
Apideck->getFileStorageApi()->filesDelete($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\DeleteFileResponse
Status code | Description |
---|---|
200 | Files |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->filesDelete('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: filesDownload
Apideck->getFileStorageApi()->filesDownload($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
\SplFileObject
Status code | Description |
---|---|
200 | File Download |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->filesDownload('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: filesExport
Apideck->getFileStorageApi()->filesExport($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
format | string | File format to export this file to. A list of available file formats for the current file is available as `export_formats` on the File resource. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
\SplFileObject
Status code | Description |
---|---|
200 | File Download |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->filesExport('id_example', 'pdf');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: filesOne
Apideck->getFileStorageApi()->filesOne($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\GetFileResponse
Status code | Description |
---|---|
200 | File |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->filesOne('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: filesSearch
Apideck->getFileStorageApi()->filesSearch($data)
Name | Type | Description | Notes |
---|---|---|---|
files_search | \Apideck\Client\Model\FilesSearch | ||
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
pass_through | \Apideck\Client\Model\PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
cursor | string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | |
filter | \Apideck\Client\Model\FilesFilter | Apply filters | |
limit | [int] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 |
\Apideck\Client\Model\GetFilesResponse
Status code | Description |
---|---|
200 | Files |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->filesSearch($filesSearch);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: filesUpdate
Apideck->getFileStorageApi()->filesUpdate($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
update_file_request | \Apideck\Client\Model\UpdateFileRequest | ||
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\UpdateFileResponse
Status code | Description |
---|---|
200 | Files |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->filesUpdate('id_example', $file);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: foldersAdd
Apideck->getFileStorageApi()->foldersAdd($data)
Name | Type | Description | Notes |
---|---|---|---|
create_folder_request | \Apideck\Client\Model\CreateFolderRequest | ||
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\CreateFolderResponse
Status code | Description |
---|---|
201 | Folders |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->foldersAdd($folder);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: foldersCopy
Apideck->getFileStorageApi()->foldersCopy($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
copy_folder_request | \Apideck\Client\Model\CopyFolderRequest | ||
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\UpdateFolderResponse
Status code | Description |
---|---|
200 | Folders |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->foldersCopy('id_example', $folder);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: foldersDelete
Apideck->getFileStorageApi()->foldersDelete($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\DeleteFolderResponse
Status code | Description |
---|---|
200 | Folders |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->foldersDelete('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: foldersOne
Apideck->getFileStorageApi()->foldersOne($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\GetFolderResponse
Status code | Description |
---|---|
200 | Folders |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->foldersOne('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: foldersUpdate
Apideck->getFileStorageApi()->foldersUpdate($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
update_folder_request | \Apideck\Client\Model\UpdateFolderRequest | ||
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\UpdateFolderResponse
Status code | Description |
---|---|
200 | Folders |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->foldersUpdate('id_example', $folder);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: sharedLinksAdd
Apideck->getFileStorageApi()->sharedLinksAdd($data)
Name | Type | Description | Notes |
---|---|---|---|
shared_link | \Apideck\Client\Model\SharedLink | ||
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\CreateSharedLinkResponse
Status code | Description |
---|---|
201 | Shared Links |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->sharedLinksAdd($sharedLink);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: sharedLinksAll
Apideck->getFileStorageApi()->sharedLinksAll($data)
Name | Type | Description | Notes |
---|---|---|---|
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
cursor | string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | |
pass_through | \Apideck\Client\Model\PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
limit | [int] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 |
\Apideck\Client\Model\GetSharedLinksResponse
Status code | Description |
---|---|
200 | Shared Links |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->sharedLinksAll();
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: sharedLinksDelete
Apideck->getFileStorageApi()->sharedLinksDelete($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\DeleteSharedLinkResponse
Status code | Description |
---|---|
200 | Shared Links |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->sharedLinksDelete('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: sharedLinksOne
Apideck->getFileStorageApi()->sharedLinksOne($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\GetSharedLinkResponse
Status code | Description |
---|---|
200 | Shared Link |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->sharedLinksOne('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: sharedLinksUpdate
Apideck->getFileStorageApi()->sharedLinksUpdate($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
shared_link | \Apideck\Client\Model\SharedLink | ||
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\UpdateSharedLinkResponse
Status code | Description |
---|---|
200 | Shared Links |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->sharedLinksUpdate('id_example', $sharedLink);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: uploadSessionsAdd
Apideck->getFileStorageApi()->uploadSessionsAdd($data)
Name | Type | Description | Notes |
---|---|---|---|
create_upload_session_request | \Apideck\Client\Model\CreateUploadSessionRequest | ||
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\CreateUploadSessionResponse
Status code | Description |
---|---|
201 | UploadSessions |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->uploadSessionsAdd($uploadSession);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: uploadSessionsDelete
Apideck->getFileStorageApi()->uploadSessionsDelete($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\DeleteUploadSessionResponse
Status code | Description |
---|---|
200 | UploadSessions |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->uploadSessionsDelete('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: uploadSessionsFinish
Apideck->getFileStorageApi()->uploadSessionsFinish($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
digest | string | The RFC3230 message digest of the uploaded part. Only required for the Box connector. More information on the Box API docs here | |
body | object | ||
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\GetFileResponse
Status code | Description |
---|---|
201 | File |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->uploadSessionsFinish('id_example', $uploadSessionsFinish);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: uploadSessionsOne
Apideck->getFileStorageApi()->uploadSessionsOne($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\GetUploadSessionResponse
Status code | Description |
---|---|
200 | UploadSessions |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getFileStorageApi()->uploadSessionsOne('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}