{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","params":[],"results":{"codes":[]},"settings":""},"next":{"description":"","pages":[]},"title":"Relation Map","type":"basic","slug":"relation-map","excerpt":"","body":"The way the different relations map to each other can be confusing, especially if all you see are JSON dumps from individual endpoints. Below is a partial chart of the database relations involved in API calls.\n\nThis chart doesn't include all the relations, all the cross-references, or all the data fields, but it has the highlights for a good portion of what you'll likely be dealing with.\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/QPIDx995T7u9u8ghHs6c_Database%20Diagram%20for%20API%20Use.svg\",\n        \"Database Diagram for API Use.svg\",\n        \"0\",\n        \"0\",\n        \"#323232\",\n        \"\"\n      ],\n      \"sizing\": \"full\"\n    }\n  ]\n}\n[/block]","updates":[],"order":4,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"58112e73ded0340f0085d05f","__v":0,"category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Cratejoy APIs","slug":"cratejoy-api","order":0,"from_sync":false,"reference":false,"_id":"58112e72ded0340f0085d02e","__v":0,"createdAt":"2015-09-18T20:49:57.839Z","project":"551e85be610f400d00837db7","version":"58112e71ded0340f0085d02a"},"createdAt":"2016-06-10T16:41:59.709Z","githubsync":"","user":"55694ec671f3960d00b1e754","version":{"version":"2.0","version_clean":"2.0.0","codename":"new designer","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["58112e72ded0340f0085d02b","58112e72ded0340f0085d02c","58112e72ded0340f0085d02d","58112e72ded0340f0085d02e","58112e72ded0340f0085d02f","58112e72ded0340f0085d030","58112e72ded0340f0085d031","58112e72ded0340f0085d032","58112e72ded0340f0085d033","58112e72ded0340f0085d034","581137cc604d3c230048b7e4","58dc367221742d0f00a73f98","590768e54669da0f00db5c0b"],"_id":"58112e71ded0340f0085d02a","createdAt":"2016-10-26T22:30:09.862Z","project":"551e85be610f400d00837db7","releaseDate":"2016-10-26T22:30:09.862Z","__v":4},"project":"551e85be610f400d00837db7","parentDoc":null}
The way the different relations map to each other can be confusing, especially if all you see are JSON dumps from individual endpoints. Below is a partial chart of the database relations involved in API calls. This chart doesn't include all the relations, all the cross-references, or all the data fields, but it has the highlights for a good portion of what you'll likely be dealing with. [block:image] { "images": [ { "image": [ "https://files.readme.io/QPIDx995T7u9u8ghHs6c_Database%20Diagram%20for%20API%20Use.svg", "Database Diagram for API Use.svg", "0", "0", "#323232", "" ], "sizing": "full" } ] } [/block]