The X-Factor: RAML With XML Format

In this article, we will explore how RAML specifications can be defined for the XML representation of resources. This will be explained with the help of JOB API. Consider this API for the purpose of getting a list of all jobs published by different companies. A job can also be posted using this JOB API.

JOB API

  • Resource: Jobs
  • Resource Path: /jobs
  • Methods:
    • GET: To retrieve a list of all jobs
    • POST:  To add a job

JSON Representation

This is how everyone talks in JSON