- Endpoints are in plural form
- Actions are create, read, update, and delete
- Phases are init, prep, and exec
- init (initialize) returns essential data
- prep (prepare) returns confirmation data
- exec (execute) returns result data
Protocol : https
Hostname : articles.com
Endpoint : /api/articles
Action : /create
Parameters : { phase: 'exec', title: '', description: '' }
Serialization : cbor
Compression : gzip
Authentication : hmac-sha256
Last active
December 20, 2019 02:43
-
-
Save davalapar/a386d942d12ce51d3e19c1da40c58621 to your computer and use it in GitHub Desktop.
api-spec.md
Author
davalapar
commented
Dec 20, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment