Added order, expand, limit and offset behaviors to API resource.