Skip to content

pCloud

The pCloud modules allow you to watch, create, copy, update, list, retrieve, and delete the folders and files in your pCloud account.

Getting Started with pCloud

Prerequisites

  • A pCloud account

In order to use pCloud with Ibexa Connect, it is necessary to have a pCloud account. If you do not have one, you can create a pCloud account at pcloud.com.

Note

The module dialog fields that are displayed in bold (in the Ibexa Connect scenario, not in this documentation article) are mandatory!

Connecting pCloud to Ibexa Connect

  1. Go to Ibexa Connect and open the pCloud module's Create a connection dialog.

    61f3a3f79dae2.gif

  2. Enter your pCloud account credentials and click Login.

    61f3a3f989f39.png

  3. Confirm the access by clicking Allow.

    61f3a3fa6eef9.png

The connection has been established.

Folders

Watch Folder

Triggers when files are added or changed in the specific folder.

Parent Folder

Select the folder you want to watch.

Trigger Type

Select the option to watch the files of the folder:

  • Files Added

  • Files Changed

Limit

Set the maximum number of files Ibexa Connect should return during one scenario execution cycle.

Create a Folder

Creates a new folder.

Parent Folder Select the parent folder in which you want to create the new folder.
Folder Enter a name for the folder.

List Folders

Lists content of a specific folder.

Parent Folder Select the folder which contents you want to list.
Show Deleted Select whether you want to list the deleted contents.
Limit Set the maximum number of contents Ibexa Connect should return during one scenario execution cycle.

Copy a Folder

Copies a folder and its contents to a specific destination.

Source Folder Select the folder from which you want to copy.
Target Folder Select the destination folder to which you want to copy the folder and its contents.
No File Over Writing Select the checkbox to keep the folder content without overwriting any existing files.
Skip Existing Files Select the checkbox to skip any existing files when copying the folder and its contents.
Copy Folder Content Only Select the checkbox to copy only the folder contents.

File

Upload a File

Uploads a file to a specific folder.

Target Folder Select the folder where you want to upload a file.
Choose Source to Upload Select the option to upload the file.
File Name Enter a name for the file.
Data Enter or map the file data.
File URL Enter the URL address to the file.
New File Name Enter a new name for the file along with the file extension if applicable.
Overwrite File Select the checkbox to overwrite the existing file.

Download a File

Downloads a file from a specific folder.

Source File Select the file location which you want to download.

Copy a File

Copies a file to a specific folder.

Source File Select the folder where you want to upload a file.
Target Folder Select the option to upload the file.
Overwrite File Select the checkbox to overwrite the existing file.
New File Name Enter a new file name.

Other

Make an API Call

Performs an arbitrary authorized API call.

URL

Enter a path relative to https://api.pcloud.com/. For example: /userinfo

For the list of available endpoints, refer to the pCloud API Documentation.

Method

Select the HTTP method you want to use:

GET

to retrieve information for an entry

POST

to create a new entry.

PUT

to update/replace an existing entry.

PATCH

to make a partial entry update.

DELETE

to delete an entry.

Headers

Enter the desired request headers. You don't have to add authorization headers; we already did that for you.

Query String

Enter the request query string.

Body

Enter the body content for your API call.

Example of Use - Get Userinfo

The following API call returns the user information from your pCloud account:

URL:

/userinfo

Method:

GET

61f3a3fb490ec.png

Matches of the search can be found in the module's Output under Bundle > Body.

In our example, the user information is returned:

61f3a3fc1f60f.png