{"action":"created","issue":{"url":"https://api.github.com/repos/MEH-Design/frix/issues/50","repository_url":"https://api.github.com/repos/MEH-Design/frix","labels_url":"https://api.github.com/repos/MEH-Design/frix/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/MEH-Design/frix/issues/50/comments","events_url":"https://api.github.com/repos/MEH-Design/frix/issues/50/events","html_url":"https://github.com/MEH-Design/frix/issues/50","id":178691190,"number":50,"title":"API - getContentStructure","user":{"login":"MiniXC","id":3523501,"avatar_url":"https://avatars.githubusercontent.com/u/3523501?v=3","gravatar_id":"","url":"https://api.github.com/users/MiniXC","html_url":"https://github.com/MiniXC","followers_url":"https://api.github.com/users/MiniXC/followers","following_url":"https://api.github.com/users/MiniXC/following{/other_user}","gists_url":"https://api.github.com/users/MiniXC/gists{/gist_id}","starred_url":"https://api.github.com/users/MiniXC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MiniXC/subscriptions","organizations_url":"https://api.github.com/users/MiniXC/orgs","repos_url":"https://api.github.com/users/MiniXC/repos","events_url":"https://api.github.com/users/MiniXC/events{/privacy}","received_events_url":"https://api.github.com/users/MiniXC/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MEH-Design/frix/labels/api","name":"api","color":"0052cc"},{"url":"https://api.github.com/repos/MEH-Design/frix/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"bminixhofer","id":13353204,"avatar_url":"https://avatars.githubusercontent.com/u/13353204?v=3","gravatar_id":"","url":"https://api.github.com/users/bminixhofer","html_url":"https://github.com/bminixhofer","followers_url":"https://api.github.com/users/bminixhofer/followers","following_url":"https://api.github.com/users/bminixhofer/following{/other_user}","gists_url":"https://api.github.com/users/bminixhofer/gists{/gist_id}","starred_url":"https://api.github.com/users/bminixhofer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bminixhofer/subscriptions","organizations_url":"https://api.github.com/users/bminixhofer/orgs","repos_url":"https://api.github.com/users/bminixhofer/repos","events_url":"https://api.github.com/users/bminixhofer/events{/privacy}","received_events_url":"https://api.github.com/users/bminixhofer/received_events","type":"User","site_admin":false},"assignees":[{"login":"bminixhofer","id":13353204,"avatar_url":"https://avatars.githubusercontent.com/u/13353204?v=3","gravatar_id":"","url":"https://api.github.com/users/bminixhofer","html_url":"https://github.com/bminixhofer","followers_url":"https://api.github.com/users/bminixhofer/followers","following_url":"https://api.github.com/users/bminixhofer/following{/other_user}","gists_url":"https://api.github.com/users/bminixhofer/gists{/gist_id}","starred_url":"https://api.github.com/users/bminixhofer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bminixhofer/subscriptions","organizations_url":"https://api.github.com/users/bminixhofer/orgs","repos_url":"https://api.github.com/users/bminixhofer/repos","events_url":"https://api.github.com/users/bminixhofer/events{/privacy}","received_events_url":"https://api.github.com/users/bminixhofer/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/MEH-Design/frix/milestones/3","html_url":"https://github.com/MEH-Design/frix/milestones/0.3","labels_url":"https://api.github.com/repos/MEH-Design/frix/milestones/3/labels","id":1780460,"number":3,"title":"0.3","description":"* Array-like syntax to create multiple organisms at once\r\n* GUI API","creator":{"login":"bminixhofer","id":13353204,"avatar_url":"https://avatars.githubusercontent.com/u/13353204?v=3","gravatar_id":"","url":"https://api.github.com/users/bminixhofer","html_url":"https://github.com/bminixhofer","followers_url":"https://api.github.com/users/bminixhofer/followers","following_url":"https://api.github.com/users/bminixhofer/following{/other_user}","gists_url":"https://api.github.com/users/bminixhofer/gists{/gist_id}","starred_url":"https://api.github.com/users/bminixhofer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bminixhofer/subscriptions","organizations_url":"https://api.github.com/users/bminixhofer/orgs","repos_url":"https://api.github.com/users/bminixhofer/repos","events_url":"https://api.github.com/users/bminixhofer/events{/privacy}","received_events_url":"https://api.github.com/users/bminixhofer/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":15,"state":"open","created_at":"2016-05-21T15:51:50Z","updated_at":"2016-09-22T19:43:00Z","due_on":"2016-09-24T00:00:00Z","closed_at":null},"comments":1,"created_at":"2016-09-22T18:52:01Z","updated_at":"2016-09-22T19:43:00Z","closed_at":"2016-09-22T19:43:00Z","body":"# `getContentStructure`\r\nGets the content JSON, including additional data types. Takes the page url (e.g. `/page1`) as an argument.\r\n\r\nEach value get's an additional `type` attribute.\r\n\r\n## example\r\n````js\r\nlet contentData = {\r\n  \"title\" : {\r\n    type: \"text\",\r\n    value: \"Woody\"\r\n  },\r\n  \"article\" : {\r\n    \"text\": {\r\n      type: \"richtext\",\r\n      value: \"A tree is a tall plant with a trunk and branches made of wood.\"\r\n    },\r\n    \"header\": {\r\n      \"heading-en\": {\r\n        type: \"text\",\r\n        value: \"Tree\"\r\n      },\r\n      \"heading-de\": {\r\n        type: \"text\",\r\n        value: \"Baum\"\r\n      },\r\n      \"author\": {\r\n        \"name\": {\r\n          type: \"text\",\r\n          value: \"Wikipedia\"\r\n        },\r\n        \"link\": {\r\n          type: \"url\",\r\n          value: \"https://simple.wikipedia.org/wiki/Tree\"\r\n        }\r\n      }\r\n    }\r\n  }\r\n};\r\n````"},"comment":{"url":"https://api.github.com/repos/MEH-Design/frix/issues/comments/249007499","html_url":"https://github.com/MEH-Design/frix/issues/50#issuecomment-249007499","issue_url":"https://api.github.com/repos/MEH-Design/frix/issues/50","id":249007499,"user":{"login":"MiniXC","id":3523501,"avatar_url":"https://avatars.githubusercontent.com/u/3523501?v=3","gravatar_id":"","url":"https://api.github.com/users/MiniXC","html_url":"https://github.com/MiniXC","followers_url":"https://api.github.com/users/MiniXC/followers","following_url":"https://api.github.com/users/MiniXC/following{/other_user}","gists_url":"https://api.github.com/users/MiniXC/gists{/gist_id}","starred_url":"https://api.github.com/users/MiniXC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MiniXC/subscriptions","organizations_url":"https://api.github.com/users/MiniXC/orgs","repos_url":"https://api.github.com/users/MiniXC/repos","events_url":"https://api.github.com/users/MiniXC/events{/privacy}","received_events_url":"https://api.github.com/users/MiniXC/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T19:43:00Z","updated_at":"2016-09-22T19:43:00Z","body":"Was done in 7735e752f8de97fa29400e115ab50d64d3eeb081."}}
{"actor":{"display_login":"MiniXC"}}