{"action":"created","issue":{"url":"https://api.github.com/repos/pinterest/ios-pdk/issues/14","labels_url":"https://api.github.com/repos/pinterest/ios-pdk/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/pinterest/ios-pdk/issues/14/comments","events_url":"https://api.github.com/repos/pinterest/ios-pdk/issues/14/events","html_url":"https://github.com/pinterest/ios-pdk/issues/14","id":111298021,"number":14,"title":"Api to fetch new boards - Need a fix","user":{"login":"vsridharan6","id":2198154,"avatar_url":"https://avatars.githubusercontent.com/u/2198154?v=3","gravatar_id":"","url":"https://api.github.com/users/vsridharan6","html_url":"https://github.com/vsridharan6","followers_url":"https://api.github.com/users/vsridharan6/followers","following_url":"https://api.github.com/users/vsridharan6/following{/other_user}","gists_url":"https://api.github.com/users/vsridharan6/gists{/gist_id}","starred_url":"https://api.github.com/users/vsridharan6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsridharan6/subscriptions","organizations_url":"https://api.github.com/users/vsridharan6/orgs","repos_url":"https://api.github.com/users/vsridharan6/repos","events_url":"https://api.github.com/users/vsridharan6/events{/privacy}","received_events_url":"https://api.github.com/users/vsridharan6/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pinterest/ios-pdk/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"rcancro","id":285809,"avatar_url":"https://avatars.githubusercontent.com/u/285809?v=3","gravatar_id":"","url":"https://api.github.com/users/rcancro","html_url":"https://github.com/rcancro","followers_url":"https://api.github.com/users/rcancro/followers","following_url":"https://api.github.com/users/rcancro/following{/other_user}","gists_url":"https://api.github.com/users/rcancro/gists{/gist_id}","starred_url":"https://api.github.com/users/rcancro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcancro/subscriptions","organizations_url":"https://api.github.com/users/rcancro/orgs","repos_url":"https://api.github.com/users/rcancro/repos","events_url":"https://api.github.com/users/rcancro/events{/privacy}","received_events_url":"https://api.github.com/users/rcancro/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2015-10-14T00:23:10Z","updated_at":"2015-10-14T23:27:23Z","closed_at":"2015-10-14T23:26:40Z","body":"1. Create a board with no image in it. \r\n2. Call the api to get all the boards.\r\n\r\n[[PDKClient sharedInstance] getAuthenticatedUserBoardsWithFields:[NSSet setWithObjects:@\"id\", @\"name\", @\"url\", @\"description\", @\"image[medium]\", nil] ....\r\n\r\n3. When you ask for image, the client either expects NO image field set, or at least some sort of place holder. Not this.\r\ndescription = \"test 3\";\r\nid = 432064226690179447;\r\nimage = {\r\nmedium = {\r\nheight = 150;\r\nurl = \"<null>\";\r\nwidth = 200;\r\n};\r\n};\r\n\r\nname = \"Testing 3\";\r\n\r\nThat value \"<null>\". No. This has to be fixed. \r\n\r\nRight now I can add some cases to handle this, but this is passed as a string value.\r\n"},"comment":{"url":"https://api.github.com/repos/pinterest/ios-pdk/issues/comments/148231973","html_url":"https://github.com/pinterest/ios-pdk/issues/14#issuecomment-148231973","issue_url":"https://api.github.com/repos/pinterest/ios-pdk/issues/14","id":148231973,"user":{"login":"vsridharan6","id":2198154,"avatar_url":"https://avatars.githubusercontent.com/u/2198154?v=3","gravatar_id":"","url":"https://api.github.com/users/vsridharan6","html_url":"https://github.com/vsridharan6","followers_url":"https://api.github.com/users/vsridharan6/followers","following_url":"https://api.github.com/users/vsridharan6/following{/other_user}","gists_url":"https://api.github.com/users/vsridharan6/gists{/gist_id}","starred_url":"https://api.github.com/users/vsridharan6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsridharan6/subscriptions","organizations_url":"https://api.github.com/users/vsridharan6/orgs","repos_url":"https://api.github.com/users/vsridharan6/repos","events_url":"https://api.github.com/users/vsridharan6/events{/privacy}","received_events_url":"https://api.github.com/users/vsridharan6/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T23:27:23Z","updated_at":"2015-10-14T23:27:23Z","body":"Pasting code. Thank you :+1:  :)\r\n\r\nThat board might have gotten deleted. Its a simple test - Just create a board with no image in it, and call the board list api. \r\n\r\n       (lldb) po json\r\n     {\r\n        data =     (\r\n                  {\r\n              description = \"Gather puts you in touch with interesting people you pass by!\";\r\n              id = 414331303157421872;\r\n              image =             {\r\n                medium =                 {\r\n                    height = 150;\r\n                    url = \"<null>\";\r\n                    width = 200;\r\n                };\r\n              };\r\n              name = test;\r\n             url = \"https://www.pinterest.com/Vensriz/test/\";\r\n            },\r\n                {\r\n            description = \"\";\r\n            id = 414331303157352389;\r\n            image =             {\r\n                medium =                 {\r\n                    height = 150;\r\n                    url = \"http://media-cache-ec0.pinimg.com/200x150/ca/ce/22/cace22d37c18ce90a90d322fbce9ae72.jpg\";\r\n                    width = 200;\r\n                };\r\n            };\r\n            name = Healthy;\r\n            url = \"https://www.pinterest.com/Vensriz/healthy/\";\r\n        },\r\n                {\r\n            description = \"\";\r\n            id = 414331303157287399;\r\n            image =             {\r\n                medium =                 {\r\n                    height = 150;\r\n                    url = \"http://media-cache-ec0.pinimg.com/200x150/04/f0/0a/04f00a058ed6a4d3b367c20f5513a51a.jpg\";\r\n                    width = 200;\r\n                };\r\n            };\r\n            name = Cocktails;\r\n            url = \"https://www.pinterest.com/Vensriz/cocktails/\";\r\n        },\r\n                {\r\n            description = \"Gather puts you in touch with interesting people you pass by!\";\r\n            id = 414331303157421864;\r\n            image =             {\r\n                medium =                 {\r\n                    height = 150;\r\n                    url = \"<null>\";\r\n                    width = 200;\r\n                };\r\n            };\r\n            name = hi;\r\n            url = \"https://www.pinterest.com/Vensriz/hi/\";\r\n        },\r\n                {\r\n            description = \"\";\r\n            id = 414331303157337145;\r\n            image =             {\r\n                medium =                 {\r\n                    height = 150;\r\n                    url = \"http://media-cache-ec0.pinimg.com/200x150/56/12/20/56122039a7c8d7e03e7564f7e20f709f.jpg\";\r\n                    width = 200;\r\n                };\r\n            };\r\n            name = Fashion;\r\n            url = \"https://www.pinterest.com/Vensriz/fashion/\";\r\n        },\r\n                {\r\n            description = \"\";\r\n            id = 414331303157272885;\r\n            image =             {\r\n                medium =                 {\r\n                    height = 150;\r\n                    url = \"http://media-cache-ak0.pinimg.com/200x150/60/df/fb/60dffba054b34cd93bb0f6b6b75fbda5.jpg\";\r\n                    width = 200;\r\n                };\r\n            };\r\n            name = Motorcycles;\r\n            url = \"https://www.pinterest.com/Vensriz/motorcycles/\";\r\n        }\r\n    );\r\n}"}}