Coder Social home page Coder Social logo

api-design-guide's Introduction

介绍

这是一份针对网络API的通用设计指南。它从2014年开始用于Google内部,也用于设计Cloud APIs和Google APIs。这份指南在此处共享来告知外部开发者,以便我们所有人都能更轻松地合作。

Google Cloud Endpoints的开发者们可能会发现这份指南在设计gRPC APIs的时候特别有用,并且我们强烈推荐这些开发者们使用这些设计准则。但是我们并不强迫你使用它。你也可以使用Cloud Endpoints和gRPC却不遵循这份指南。

这份指导可同时应用于基于HTTP的REST APIs与基于socket的RPC APIs,尤其是gRPC APIs。gRPC APIs使用Protocol Buffers来定义它们的API接口,使用API Service Configuration来定义他们的API服务,包括HTTP映射,日志和监控。HTTP映射这个特性被Google APIs和Cloud Endpoints gRPC APIs使用,用于JSON/HTTP和Protocol Buffers/RPC之间的转码。

这份指南是一个活跃的文档,它的内容会随着新风格和新设计模式的采用和批准而有所增补。本着这种精神,它永远不会是完整的,并且API设计的艺术和工艺总是有足够的进步空间。

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.