Giter Club home page Giter Club logo

temp's Introduction

System Of Records (SOR) API

Best Practices for RESTful API Design using RAML

This is an example API design using RAML. The implementation of this API using Mulesoft Studio is coming soon. In its current state, the project demonstrates the following:

  • Best practices for RESTful API design.
  • Use of built in aspects of the HTTP protocol (status codes, headers, etc.).
  • Use of various RAML features.
  • Performance considerations when designing the API for mobile applicationsl; that is feficient use of the network.
  • Important Note: In its current state, this projects includes the API design using RAML.
  • Coming Soon: I am working on implementing this RESTful API in Mulesoft with test stubs for the consumer and provider systems. The implementation will be added to this project soon.

This API, in its present state, contains a single resource /customers. The operations allowed on the /customers resource are listed below. For more details see API Documentation.

  • List Customers
    • HTTP GET
    • The request must contain If-Modified-Since header to specify the datetime. The records updated since this datetime will be returned.
    • In addition to the request header If-Modified-Since to obtain only a subset of customers, this operation supports pagination. For more details see Use Case 1: Maintain a Copy of Customers Data.
  • Create a New Customer
    • HTTP POST
  • Update a Customer
  • Remove a Customer
    • HTTP DELETE

Getting Started

You can use this project in various ways:

  • Use the api.raml (and the subdirectories/files) in your API design. This project makes use of RAML features making it easy to extend it to support future resources such as products and orders. For more details see Use Case 3: Extention of this API to Support Future Resources.
  • Create your own Mulefost project by importing api.raml using APIkit.
  • Create an API in API Designer (a part of Mulesoft Anypoint Platform) and import it into your Mulesoft project using APIkit.

API Definition

A detailed API definition is provided at:

Commentary on API Usage

Detailed commentaries on various use cases of this API are provided at:

temp's People

Contributors

raviamane avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.