Egnyte
App · 20 actions
Manage files, folders, sharing links and comments; search files and read users and groups.
Actions
| Action | What it does |
|---|---|
| Copy file or folder | Copy a file or folder, picked by its path, to a destination path. |
| Create comment | Add a comment to a file by its path. |
| Create folder | Create a new folder at the given path in Egnyte. |
| Create link | Create a shared link to a file or folder by its path, or an upload link to a folder, with an optional expiry date. |
| Delete comment | Delete a comment by its ID. |
| Delete file or folder | Delete a file or folder by its path. |
| Delete link | Delete a shared link by its ID, so it no longer opens. |
| Download file | Download a file by its path, returning its contents. |
| Get comment | Get one comment by its ID, returning its text, author, time and the file it is on. |
| Get file or folder | Get the details of a file or folder by its path. |
| Get group | Get one group by its ID, returning its name and members. |
| Get link | Get one shared link by its ID, returning its URL, the file or folder it shares, its type and its expiry date. |
| Get user | Get one Egnyte user by their ID, returning their name, username, email address, role and whether they are active. |
| List comments | List the comments on a file by its path, optionally between two times. |
| List groups | List the groups in your Egnyte domain, returning each group's name and ID. |
| List links | List the shared links in your Egnyte domain, returning each link's ID. |
| List users | List the users in your Egnyte domain, returning each user's name, username, email address and role. |
| Move file or folder | Move a file or folder, picked by its path, to a destination path. |
| Search files | Search files and folders by name and content, optionally within one folder, by type or by when they were modified. |
| Upload file | Upload a file to the given path in Egnyte, including the file name. |
Copy file or folder
Copy a file or folder, picked by its path, to a destination path. The original stays where it was.
Inputs
- File or folder path
pathtextRequired - File or folder path.
- Destination
destinationtextRequired - Destination.
Outputs
dataobject- Response.
Example output
{
"data": {}
}Create comment
Add a comment to a file by its path. Returns the new comment's ID.
Inputs
- Path
pathtextRequired - Path.
- Body
bodytextRequired - Body.
Outputs
dataobject- Response.
Example output
{
"data": {
"id": "example",
"message": "example"
}
}Create folder
Create a new folder at the given path in Egnyte. Returns the new folder's details.
Inputs
- File or folder path
pathtextRequired - File or folder path.
Outputs
dataobject- Response.
Example output
{
"data": {
"folder_id": "example",
"path": "example"
}
}Create link
Create a shared link to a file or folder by its path, or an upload link to a folder, with an optional expiry date. Returns the new link's URL. No email is sent.
Inputs
- Path
pathtextRequired - Path.
- Type
typetextRequired - Type.One of:
file,folder,upload. - Expiry date
expiry_datedate - Expiry date.
Outputs
dataobject- Response.
Example output
{
"data": {
"links": []
}
}Delete comment
Delete a comment by its ID.
Inputs
- Comment ID
comment_idtextRequired - Comment ID.
Outputs
dataobject- Response.
Example output
{
"data": {}
}Delete file or folder
Delete a file or folder by its path. A deleted folder takes everything inside it with it.
Inputs
- File or folder path
pathtextRequired - File or folder path.
Outputs
dataobject- Response.
Example output
{
"data": {}
}Delete link
Delete a shared link by its ID, so it no longer opens. The file or folder it pointed to is kept.
Inputs
- Link ID
link_idtextRequired - Link ID.
Outputs
dataobject- Response.
Example output
{
"data": {}
}Download file
Download a file by its path, returning its contents.
Inputs
- File or folder path
pathtextRequired - File or folder path.
Outputs
dataobject- Response.
Example output
{
"data": {
"content_base64": "example",
"content_type": "example"
}
}Get comment
Get one comment by its ID, returning its text, author, time and the file it is on.
Inputs
- Comment ID
comment_idtextRequired - Comment ID.
Outputs
dataobject- Response.
Example output
{
"data": {
"id": "example",
"message": "example"
}
}Get file or folder
Get the details of a file or folder by its path. For a folder, it can also list what the folder contains, a page at a time.
Inputs
- File or folder path
pathtextRequired - File or folder path.
- List content
list_contenttrue/false - List content.
- Count
countnumber - Count.From 1 to 1000.
- Offset
offsetnumber - Offset.At least 0.
Outputs
dataobject- Response.
Example output
{
"data": {
"files": [],
"folder_id": "example",
"folders": [],
"group_id": "example",
"is_folder": false,
"path": "example"
}
}Get group
Get one group by its ID, returning its name and members.
Inputs
- Group
group_idtextRequired - Group ID.
Outputs
dataobject- Response.
Example output
{
"data": {}
}Get link
Get one shared link by its ID, returning its URL, the file or folder it shares, its type and its expiry date.
Inputs
- Link ID
link_idtextRequired - Link ID.
Outputs
dataobject- Response.
Example output
{
"data": {}
}Get user
Get one Egnyte user by their ID, returning their name, username, email address, role and whether they are active.
Inputs
- User
target_user_idtextRequired - User ID.
Outputs
dataobject- Response.
Example output
{
"data": {}
}List comments
List the comments on a file by its path, optionally between two times. Returns one page; use count and offset for the next page.
Inputs
- File or folder path
filetextRequired - File or folder path.
- Count
countnumber - Count.From 1 to 100.
- Offset
offsetnumber - Offset.At least 0.
- Start time
start_timedate and time - Start time.
- End time
end_timedate and time - End time.
Outputs
dataobject- Response.
Example output
{
"data": {
"count": 1,
"notes": [],
"offset": 1,
"total_results": 1
}
}List groups
List the groups in your Egnyte domain, returning each group's name and ID. Returns one page; use start index and count for the next page.
Inputs
- Start index
start_indexnumber - Start index.At least 1.
- Count
countnumber - Count.From 1 to 100.
Outputs
dataobject- Response.
Example output
{
"data": {
"itemsPerPage": 1,
"resources": [],
"startIndex": 1,
"totalResults": 1
}
}List links
List the shared links in your Egnyte domain, returning each link's ID. Returns one page; use count and offset for the next page.
Inputs
- Count
countnumber - Count.From 1 to 100.
- Offset
offsetnumber - Offset.At least 0.
Outputs
dataobject- Response.
Example output
{
"data": {
"count": 1,
"links": []
}
}List users
List the users in your Egnyte domain, returning each user's name, username, email address and role. Returns one page; use start index and count for the next page.
Inputs
- Start index
start_indexnumber - Start index.At least 1.
- Count
countnumber - Count.From 1 to 100.
Outputs
dataobject- Response.
Example output
{
"data": {
"itemsPerPage": 1,
"resources": [],
"startIndex": 1,
"totalResults": 1
}
}Move file or folder
Move a file or folder, picked by its path, to a destination path.
Inputs
- File or folder path
pathtextRequired - File or folder path.
- Destination
destinationtextRequired - Destination.
Outputs
dataobject- Response.
Example output
{
"data": {}
}Search files
Search files and folders by name and content, optionally within one folder, by type or by when they were modified. Returns up to 20 matches per page.
Inputs
- Query
querytextRequired - Query.
- Folder
foldertext - Folder.
- Modified after
modified_afterdate and time - Modified after.
- Modified before
modified_beforedate and time - Modified before.
- Type
typetext - Type.One of:
FILE,FOLDER. - Count
countnumber - Count.From 1 to 20.
- Offset
offsetnumber - Offset.At least 0.
Outputs
dataobject- Response.
Example output
{
"data": {
"count": 1,
"offset": 1,
"results": [],
"total_count": 1
}
}Upload file
Upload a file to the given path in Egnyte, including the file name. Returns the uploaded file's details.
Inputs
- File or folder path
pathtextRequired - File or folder path.
- File
filetextRequired - File.
Outputs
dataobject- Response.
Example output
{
"data": {
"group_id": "example",
"path": "example"
}
}