Sha256: 28b3a2df4e33dec55a4ddb3fb4c7ab740e7c0956b2be0d2349199b09ff60e068

Contents?: true

Size: 1.46 KB

Versions: 9

Compression:

Stored size: 1.46 KB

Contents

#%RAML 1.0
---
title: e-BookMobile API
baseUri: http://api.e-bookmobile.com/{version}
version: v1
securitySchemes:
  auth_header:
    describedBy:
      headers:
        Api-Token:
          type: string
securedBy: [auth_header]

/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

9 entries across 9 versions & 1 rubygems

Version Path
rambo_ruby-0.7.1 spec/support/secured_api.raml
rambo_ruby-0.7.0 spec/support/secured_api.raml
rambo_ruby-0.6.0 spec/support/secured_api.raml
rambo_ruby-0.5.0 spec/support/secured_api.raml
rambo_ruby-0.4.0 spec/support/secured_api.raml
rambo_ruby-0.3.3 spec/support/secured_api.raml
rambo_ruby-0.3.2 spec/support/secured_api.raml
rambo_ruby-0.3.1 spec/support/secured_api.raml
rambo_ruby-0.3.0 spec/support/secured_api.raml