Sha256: 50147c456bbbbe222e2f3bdfd0b4675efd754430e777c4ec4ffb9f9268d46225
Contents?: true
Size: 1.31 KB
Versions: 28
Compression:
Stored size: 1.31 KB
Contents
#%RAML 1.0 --- title: e-BookMobile API baseUri: http://api.e-bookmobile.com/{version} version: v1 /authors: post: description: Retrieve a list of authors headers: Content-Type: application/json body: application/json: schema: | { "$schema": "http://json-schema.org/draft-04/schema#", "description": "schema to create an author", "type": "object", "required": [ "first_name", "last_name" ], "properties": { "first_name": { "type": "string" }, "last_name": { "type": "string" }, "year_of_birth": { "type": "integer" } } } responses: 200: body: application/json: schema: | { "$schema": "http://json-schema.org/draft-04/schema#", "description": "schema for a list of authors", "type": "object", "properties": { "author": { "type": "object", "properties": { "id": { "type": "integer" }, "first_name": { "type": "string" }, "last_name": { "type": "string" } } } } }
Version data entries
28 entries across 14 versions & 1 rubygems