Giter Club home page Giter Club logo

Comments (6)

f0086 avatar f0086 commented on June 12, 2024 1

We are focusing on the gRPC API, this is the source of truth (the protobuf-files). The REST API is a "byproduct" from the grpc-gateway, which will make the API accessible over REST. Because it's source is also the protobuf definitions, the REST API will always in line with the gRPC API. If the protobuf definitions change, both (REST and gRPC API) will change.

from gpcloud-go.

f0086 avatar f0086 commented on June 12, 2024 1

Sorry for the long delay on this.
You can dump the whole protobuf files with the buf export sub command like this (make sure you installed the buf tool):

$ buf export buf.build/gportal/gportal-cloud -o .

I've updated the README accordingly.
Alternative, you can pull it from here: https://github.com/G-PORTAL/gpcloud-proto

from gpcloud-go.

f0086 avatar f0086 commented on June 12, 2024

The protobuf definitions can be found here: https://buf.build/gportal/gportal-cloud/assets/main
For a quick reference, you can use the generated docs: https://buf.build/gportal/gportal-cloud
We are working on improving the documentation right now.

from gpcloud-go.

cainthebest avatar cainthebest commented on June 12, 2024

@f0086 amazing thank you, with these changes will there be changes to the rest api or is the main focus in gRPC

from gpcloud-go.

cainthebest avatar cainthebest commented on June 12, 2024

Is it possible to obtain the PB files from BSR remotely? Currently, only the definitions for Go and JS/TS clients are accessible through buf, and the assets on the BSR require authentication to access. If remote access to the PB files is not possible, could a mirror repository be created on Github or an alternative method be used for remote access?

from gpcloud-go.

cainthebest avatar cainthebest commented on June 12, 2024

Thanks all, appreciate it

from gpcloud-go.

Related Issues (2)

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.