Skip to content

Instantly share code, notes, and snippets.

@leoricklin
Last active April 14, 2023 00:16
Show Gist options
  • Save leoricklin/a3820557e98aed049028829e49cb93b2 to your computer and use it in GitHub Desktop.
Save leoricklin/a3820557e98aed049028829e49cb93b2 to your computer and use it in GitHub Desktop.

1.REST

1.1.Guides

1.2.Resources

POST is NOT idempotent. So if you retry the request N times, you will end up having N resources with N different URIs created on server.

PUT method is idempotent. So if you send retry a request multiple times, that should be equivalent to single request modification.

1.3.Solutions

1.4.Tutorials

REST API Tutorial, https://restfulapi.net/

2.API

1.1.Guides

Guidelines for the API design and development at adidas

Evolution

This is a general design guide for networked APIs. It has been used inside Google since 2014 and is the guide that Google follows when designing Cloud APIs and other Google APIs. This design guide is shared here to inform outside developers and to make it easier for us all to work together.

Guidance

All Google API interfaces must provide a major version number, which is encoded at the end of the protobuf package, and included as the first part of the URI path for REST APIs. If an API introduces a breaking change, such as removing or renaming a field, it must increment its API version number to ensure that existing user code does not suddenly break.

1.2.Resources

1.3.Solutions

1.4.Tutorials

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment