Categorygithub.com/pydio/pydio-sdk-go
modulepackage
0.0.0-20190116153840-23ce5c39e65c
Repository: https://github.com/pydio/pydio-sdk-go.git
Documentation: pkg.go.dev

# README

Cells API client

Work In Progress.

Rest API Client for Pydio 8.

Overview

This API client was generated by the go-swagger project.

For more information, please visit https://pydio.com

Installation

Put the package under your project folder and add the following in import:

    "github.com/pydio/pydio-sdk-go"

Update SDK

This is for the maintainers of pydio-sdk-go project only.

To update the Cells go sdk, you must folloy the steps below:

First time only:

# go to the roots of this directory, typically:
cd $GOPATH/src/github.com/pydio/pydio-sdk-go
# Retrieve swagger binary if necessary
## for linux
wget https://github.com/go-swagger/go-swagger/releases/download/0.14.0/swagger_linux_amd64 
## for Mac OS
wget https://github.com/go-swagger/go-swagger/releases/download/0.14.0/swagger_darwin_amd64

After each API Spec modification:

# retrieve latest spec file from pydio-core project
wget https://raw.githubusercontent.com/pydio/pydio-core/develop/core/src/plugins/core.ajaxplorer/routes/api2.json
# Delete folder models and client 
# Generate updated code
./swagger generate client --skip-validation -f api2.json

# Apply the twick to workaround int64 serialisation issue between protobuf and swagger
go run main.go twick-model

You should also update version information at the top of this page.

NOTE: we use the --skip-validation flag to avoid circular issues

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author