Skip to content

Instantly share code, notes, and snippets.

@maemichi-monosense
Created April 11, 2016 05:50
Show Gist options
  • Save maemichi-monosense/2bb219d650877114dda2ac73d6248fa9 to your computer and use it in GitHub Desktop.
Save maemichi-monosense/2bb219d650877114dda2ac73d6248fa9 to your computer and use it in GitHub Desktop.
API Blueprint - Data Structure - Several Samples
# GET /foo/list
+ Response 200 (application/json)
+ Attributes
+ list (array[Foo])
+ foo (Foo) - an example
+ id: 2 (number)
+ name: buz
+ foo (Foo) - another example
+ id: 3 (number)
# Data Structure
## Foo
+ id: 1 (number)
+ name: bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment