Skip to content

Instantly share code, notes, and snippets.

@netmilk
Last active Sep 16, 2017
Embed
What would you like to do?
REST Full JSON example

Cars API

Car [/car{?id}]

{
 "id": "1",
 "url": "/car?id=1",
 "maker": "vw"
}

Owner [/owner{?id}]

{
  "id": "1"
  "name": "adam"
  "car_url": "/car?id=1"
  "action": [
    "set_car": {
      "action_url": "/car/set"
     ]
     
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment