OData - Design your data resource for IoT [Internet of Things]

Until a few years before , the CRUD operation on data was only possible through applications and SOAP services. There was no way to operate on data directly from different producers and consumers.

In 2007 , Microsoft had taken the initiative to expose the data resource directly to web under OData protocol.

The protocol enables the creation and consumption of REST APIs, which allow resources, identified using URLs and defined in a data model, to be published and edited by Web clients using simple HTTP or HTTPS messages.

Each REST command is a POST, GET, PUT, PATCH, or DELETE HTTP request.

  • GET: Get a collection of entities or a single entity.
  • POST: Create a new entity.
  • PUT: Update an existing entity.
  • PATCH: Update an existing entity with a partial update.
  • DELETE: Remove an entity.

The GET operation also supports a number of amazing features , like sorting, pagination, filtering, expanding entities.

OData provides full metadata of the data source. With a $metadata query it is possible to see the full structure of the data available from a given OData service, as well as data types and relationships.

The API response format could be xml or json.

OData also supports batch processing of the APIs, i.e. multiple different API calls will execute on server as a single request and deliver a consolidated response.

You could make your data communication secure by using transport layer security and message layer security. Open-Auth could be an automatic choice for introducing the message level security for REST based services.

要查看或添加评论,请登录

arup chakraborty的更多文章

  • A Comprehensive Study on Investment Strategies

    A Comprehensive Study on Investment Strategies

    This study explores the comparative analysis of stocks and bonds, focusing on risk, valuation, and business strategy…

  • Build a simple AI agent for stock investment Plan

    Build a simple AI agent for stock investment Plan

    AI agents, or artificial intelligence agents, are autonomous programs or systems that can perform tasks or make…

    3 条评论
  • Satellite communication and AI

    Satellite communication and AI

    This project sounds fascinating, as it delves into the predictive capabilities of AI, specifically using artificial…

  • ElasticSearch - Basic Concepts

    ElasticSearch - Basic Concepts

    Happy reading !!!

  • Build REST API with Vertx toolkit - Part I

    Build REST API with Vertx toolkit - Part I

    VertX is a toolkit to develop a large numbers of the applications with the reactive programming model. Vertx is…

  • Chat application with React,Redux

    Chat application with React,Redux

    Please find the github url for chat application with React,Redux, Sagas. https://github.

  • Behavior Driven and Test Driven Development

    Behavior Driven and Test Driven Development

    Behavior Driven-Development (BDD) focuses on the “outside-in” perspective, meaning the tests will test the behaviors…

    1 条评论
  • Single Page Application - Pros and Cons

    Single Page Application - Pros and Cons

    In the early days of the Internet, mostly web sites consisted of largely static pages that filled with content but…

  • Design Patterns with Angular 2 framework with TypeScript

    Design Patterns with Angular 2 framework with TypeScript

    Angular2 is JavaScript framework which includes OOP design principles using TypeScript.It has changed a lot since…

    1 条评论
  • Learning Microsoft Azure

    Learning Microsoft Azure

    A comprehensive guide to cloud application development using Microsoft Azure Cloud computing has already consolidated…