pydio-sdk-go

command module
v0.0.0-...-23ce5c3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL