Skip to content

Instantly share code, notes, and snippets.

MelTheTester MelTheTester

Block or report user

Report or block MelTheTester

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@staltz
staltz / introrx.md
Last active Jun 26, 2019
The introduction to Reactive Programming you've been missing
View introrx.md
@Im0rtality
Im0rtality / checklist.md
Last active Nov 24, 2017
The Web API Checklist
View checklist.md

REST API Checklist

Tried to keep list concise as possible. Following points are actual specs, de facto conventions or good pratices.

  • Use nouns, avoid verbs (/getAccount/123 => /accounts/123)
  • Plural form
  • Base url: https://api.example.com (prefered over https://example.com/api/)
  • Versioning: https://api.example.com/v2/ (alternative: Accepts: application/json;application&v=2)
  • camelCase (most APIs are JSON based, JSON is JavaScript, Underscores are not JS convention)
  • Timestamps (2004-02-12T15:19:21+00:00 - ISO8061)
You can’t perform that action at this time.