The six constraints to REST API design are:
Client-Server
Stateless
Cache
Uniform Interface
Layered System
Code on Demand