# C# Pydio Cells Server API

**URL:** https://forum.pydio.com/t/c-pydio-cells-server-api/3236
**Category:** Development
**Tags:** api, s3
**Created:** [April 28, 2020, 11:34am UTC](https://forum.pydio.com/t/c-pydio-cells-server-api/3236 "2020-04-28T11:34:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Gawie-Schneider](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/gawie-schneider/32/1130_2.png) [@Gawie-Schneider](https://forum.pydio.com/u/Gawie-Schneider)
#### Post date: [April 28, 2020, 11:34am UTC](https://forum.pydio.com/t/c-pydio-cells-server-api/3236/1 "2020-04-28T11:34:37Z")

</div>

So… I’ve been struggling with this API and the documentation is great!!

I have managed to figure out how to get my access tokens. That’s about it.

I do not know how to do the basic things for this API using json and which services / endpoints to call to get it done

1. List all Folders & Containing Files
2. Retrieve these files
3. Delete some files
4. Push some files

I’m using the community version of Cells Server as I only need it for my own gain.

The struggle that I’m having is that “Cells Sync” is a piece of junk at this stage still and it works less than 50% of the time.

I want to be able to handle this process myself

Please advise

Gawie

---

<div class="post-metadata">

### Author: ![bsinou](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsinou/32/476_2.png) [@bsinou](https://forum.pydio.com/u/bsinou)
#### Post date: [April 29, 2020, 6:09am UTC](https://forum.pydio.com/t/c-pydio-cells-server-api/3236/2 "2020-04-29T06:09:46Z")

</div>

> [@Gawie-Schneider](#):
>
> The struggle that I’m having is that “Cells Sync” is a piece of junk at this stage still and it works less than 50% of the time.

Could you please rather give feedback on what had blocked you so that we can enhance it ?

---

<div class="post-metadata">

### Author: ![jahrralf](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@jahrralf](https://forum.pydio.com/u/jahrralf)
#### Post date: [June 22, 2020, 3:10pm UTC](https://forum.pydio.com/t/c-pydio-cells-server-api/3236/3 "2020-06-22T15:10:46Z")

</div>

Hi,  
In theory you could generate a client for the swagger specification based on this file:

> <https://github.com/pydio/cells/blob/master/common/proto/rest/rest.swagger.json>

The generator would be [https://editor.swagger.io/](https://editor.swagger.io/).

Just copy/paste the doc and then generate a client for c#. However, we tried this for PHP and it did not work because of nobody knows.

Bye,

Ralf

---

<div class="post-metadata">

### Author: ![jahrralf](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@jahrralf](https://forum.pydio.com/u/jahrralf)
#### Post date: [June 22, 2020, 3:11pm UTC](https://forum.pydio.com/t/c-pydio-cells-server-api/3236/4 "2020-06-22T15:11:23Z")

</div>

Oh, you can also use a standard s3 client to do most of your operations - maybe this is easier.
