A Resource Orientated Framework for designing RESTful APIs