# Pydio Cells API - Where are file operation calls?

**URL:** <https://forum.pydio.com/t/pydio-cells-api-where-are-file-operation-calls/3662>\
**Category:** Pydio Cells\
**Tags:** upload, api\
**Created:** [January 4, 2021, 3:22pm UTC](https://forum.pydio.com/t/pydio-cells-api-where-are-file-operation-calls/3662 "2021-01-04T15:22:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zolointo](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/zolointo/32/1017_2.png) [@zolointo](https://forum.pydio.com/u/zolointo)\
**Post date:** [January 4, 2021, 3:22pm UTC](https://forum.pydio.com/t/pydio-cells-api-where-are-file-operation-calls/3662/1 "2021-01-04T15:22:09Z")

</div>

Good morning,

I am scheduled to migrate from a legacy Pydio v8 to Pydio Cells 2 Enterprise server early this year. I currently use the Pydio v8 API to upload and move files around in workspaces.

When I refer to the official API doc:

> **[Developer Guide](https://pydio.com/en/docs/developer-guide)**

I am not seeing any mention of file operations at all. I’ve clicked through dozens of links. The closest thing is in the Tree Service, where a POST call can be used to create empty files.

Can someone direct me to what official doc I should be reading? I hope I am just missing missing something obvious! This will be a huge problem if file operations just aren’t their any longer.

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [January 5, 2021, 10:05am UTC](https://forum.pydio.com/t/pydio-cells-api-where-are-file-operation-calls/3662/2 "2021-01-05T10:05:25Z")

</div>

Hello @zolointo,

If you are a customer, Would you mind opening a support ticket that way we can help you.

---

<div class="post-metadata">

**Author:** ![zolointo](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/zolointo/32/1017_2.png) [@zolointo](https://forum.pydio.com/u/zolointo)\
**Post date:** [January 6, 2021, 5:26pm UTC](https://forum.pydio.com/t/pydio-cells-api-where-are-file-operation-calls/3662/3 "2021-01-06T17:26:44Z")

</div>

Thanks for your response, zayn. I will see if my support person can submit a support ticket on my behalf.

Some feedback from a new v8 → Cells 2 user in the meantime which may or may not help identify/clarify documentation gaps.

When searching for additional answers, I first came across your response here:

> [@Upload Files via Cells API](https://forum.pydio.com/t/upload-files-via-cells-api/2145/2):
>
> Hi, to upload files you must use s3 api, you can find the informations over here: [https://pydio.com/en/docs/developer-guide/usage](https://pydio.com/en/docs/developer-guide/usage)

Where you answered with “use s3 api” and a link to a non-existent page (perhaps newly non-existent?). The responses to your post more or less indicate the same surprise at the lack of documentation and direction.

Looking for the resource I thought you were trying to link to, I found:  
[https://pydio.com/en/docs/developer-guide/data](https://pydio.com/en/docs/developer-guide/data)

But this has the similar brief “can be accessed by any tool that communicates using Amazon S3 protocol”. I can’t be sure if a clearer statement around setting this up is warranted.

After a few searches against the KB, I found that the file upload/download isn’t part of the Pydio API. There is the briefest mention of “The leaf folder is exposed as an Amazon S3 bucket” here:  
[https://pydio.com/en/docs/cells/v2/file-system-storage](https://pydio.com/en/docs/cells/v2/file-system-storage)

The closest thing to an answer I can find is this

> <https://github.com/pydio/cells/issues/30>
>
> We were reading the endpoints of Pydio Cells Enterprise, however we did not find… a way to upload files in the workspaces using the Cells REST API.
> 
> Could you teach us a little more on how to do it?
> 
> 
> Thank you!

… but even here it grazes the question and more or less leaves it to the user to figure out. Based on my lack of experience, I don’t know if this was warranted or not.

I now see that the cec binary has move/add/delete file commands in it.

In conclusion, would you say that the current official docs are saying when it comes to file operations:

- use the supplied cec binary
- otherwise, you _could_ use the S3 interface, but we offer no support for this solution

Not trying to be critical, but am trying to get the gist of what the official direction is meant to read like.

Thanks kindly for your attention, and best regards!

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [January 7, 2021, 11:02am UTC](https://forum.pydio.com/t/pydio-cells-api-where-are-file-operation-calls/3662/4 "2021-01-07T11:02:19Z")

</div>

Hello @zolointo ,

> [@zolointo](#):
>
> When searching for additional answers, I first came across your response here:
> 
> > [@](#):
> >
> > Hi, to upload files you must use s3 api, you can find the informations over here: [https://pydio.com/en/docs/developer-guide/usage](https://pydio.com/en/docs/developer-guide/usage)
> 
> Where you answered with “use s3 api” and a link to a non-existent page (perhaps newly non-existent?). The responses to your post more or less indicate the same surprise at the lack of documentation and direction.

indeed the link that I provided is not working (each time we add big features we re organize the documentation and it so happens that we also moved/changed this page), nonetheless I agree that we lack common easy to understand examples (detailing how to use) of clients to perform an upload/download.

We have the following page that shows a simple operation (on the bottom of the page **s3 Call** ),

[https://pydio.com/en/docs/developer-guide/using-postman](https://pydio.com/en/docs/developer-guide/using-postman)

> [@zolointo](#):
>
> I now see that the cec binary has move/add/delete file commands in it.

Yes exactly, the cells-client makes use of the [aws-sdk-go](https://github.com/aws/aws-sdk-go/) library which has the s3 get/put objects methods, that is for the `scp` command that allows to upload/download,  
the `move, remove, copy` commands are using our sdk [GitHub - pydio/cells-sdk-go: Golang client for Pydio Cells rest API.](https://github.com/pydio/cells-sdk-go).

> [@zolointo](#):
>
> Not trying to be critical, but am trying to get the gist of what the official direction is meant to read like.

I greatly appreciate your detailed feedback, it helps us see what is lacking and what we should enhance.

By the way, a big rework (new big feature incoming) of the documentation is going to be done in the next couple of month and I believe that we could enhance the part about the consumer examples.

---

<div class="post-metadata">

**Author:** ![zolointo](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/zolointo/32/1017_2.png) [@zolointo](https://forum.pydio.com/u/zolointo)\
**Post date:** [January 7, 2021, 2:51pm UTC](https://forum.pydio.com/t/pydio-cells-api-where-are-file-operation-calls/3662/5 "2021-01-07T14:51:27Z")

</div>

Thanks again for the quick response!

I re-read the S3 Call example in the ‘dev-guide/using-postman’ doc, and noticed that I hadn’t followed it exactly, specifically about changing the Postman -\> Authorization -\> Type setting to ‘AWS Signature’. I figured I had skimmed over something obvious, so my apologies for that.

I’m now able to recreate the results of that test on my local server now.

Marked as Resolved.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/6/61f19fa52ec15fd4250db51aea351adba0e831fd.png) [@system](https://forum.pydio.com/u/system)\
**Post date:** [January 18, 2021, 8:51pm UTC](https://forum.pydio.com/t/pydio-cells-api-where-are-file-operation-calls/3662/6 "2021-01-18T20:51:28Z")

</div>

This topic was automatically closed 11 days after the last reply. New replies are no longer allowed.
