i love api's 2015 conference overview
TRANSCRIPT
Location
Structure
Structure
Agenda
Day 2
day
0d
ay 2
day
1
Apigee
API console
API analytics
API transformations
Node.js
executes JavaScript in the server side
provides asynchronous, event driven I/O APIs
runs in a single thread with callback concept
Node.js
Swagger
The World's Most Popular Framework for APIs
Swagger-enabled API
interactive documentation
client SDK generation
discoverability
API Declaration
SOAP
a substance used with water for washing and cleaning
SOAP
REST
myservice.com/customers/123
REST
myservice.com/customers/123GET
HTTP/1.1Host: www.example.com
REST
Uniform Interfaces
Resources
Standard Methods
CRUD
REST
Idempotent
Is this RESTful?
POST /api/library/all_files?ticket={{ticket}}&project_id={{project_id}}
[{
"caption": null,"content_type": "application/pdf","created_at": "2015-01-30 09:00:37 -0800","id": "03ebc346-5efc-4fb9-80fd-8701b68afd5b","object_type": "Document","project_id": "619619e3-5c96-11e0-90e0-1231390b71c2","folder_id": "e461b4fe-9750-4237-8e15-b77afbd1efdc","filename": "ArM-PrE-104_01_PIANTA_PIANO_TERZO.pdf","size": 823673
}]
Is this RESTful?
GET /api/v1/projects/619619e3-5c96-11e0-90e0-1231390b71c2/documents?ticket={{ticket}}
[{
"caption": null,"content_type": "application/pdf","created_at": "2015-01-30 09:00:37 -0800","id": "03ebc346-5efc-4fb9-80fd-8701b68afd5b","object_type": "Document","project": "/api/v1/projects/619619e3-5c96-11e0-90e0-1231390b71c2","folder": "/api/v1/projects/619619e3-5c96-11e0-90e0-1231390b71c2/folders/e461b4fe-9750-
4237-8e15-b77afbd1efdc","filename": "ArM-PrE-104_01_PIANTA_PIANO_TERZO.pdf","size": 823673
}]
Monoliths
Great.
Until they’re not.
Monoliths
Expensive Scaling
Slow deployment
Single codebase
Microservices
Small
Focused
Independent
Communication between microservices
RESTful API over HTTP
Webhooks
Do what Slack does
Keynotes
#gladtobehere
https://www.youtube.com/watch?v=sCTk2HMMOW4
Octoberfest
IoT Lab