Sha256: af7b39fa9fe85fe3a4cf58a94ac38e24d14b135979490ef395c0e3f5e02046c7

Contents?: true

Size: 1.33 KB

Versions: 5

Compression:

Stored size: 1.33 KB

Contents

#%RAML 0.8
---
title: e-BookMobile API
baseUri: http://api.e-bookmobile.com/{version}
version: v1

/authors:
  get:
    description: Retrieve a list of authors
    responses:
      200:
        body:
          application/json:
            example: |
              {
                "data": [
                  {
                    "id": 1,
                    "first_name": "Hermann",
                    "last_name": "Hesse"
                  },
                  {
                    "id":2,
                    "first_name": "Charles",
                    "last_name": "Dickens"
                  }
                ],
                "success": true,
                "status": 200
              }
/genres:
  get:
    description: Retrieve a list of available genres
    responses:
      200:
        body:
          application/json:
            example: |
              {
                "genres": [
                  {
                    "id": 1,
                    "description": "Science fiction"
                  },
                  {
                    "id": 2,
                    "description": "Young adult"
                  },
                  {
                    "id": 3,
                    "description": "Romance"
                  }
                ],
                "success": true,
                "status": 200
              }

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rambo_ruby-0.2.3 spec/support/multiple_resources.raml
rambo_ruby-0.2.2 spec/support/multiple_resources.raml
rambo_ruby-0.2.1 spec/support/multiple_resources.raml
rambo_ruby-0.2.0 spec/support/multiple_resources.raml
rambo_ruby-0.1.0 spec/support/multiple_resources.raml