Comments (6)
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.
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.
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.
@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.
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.
Thanks all, appreciate it
from gpcloud-go.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpcloud-go.