GithubHelp home page GithubHelp logo

pydio-sdk-go's Introduction

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

pydio-sdk-go's People

Contributors

bsinou avatar c12simple avatar cdujeu avatar ghecquet avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

stjordanis

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.