{"action":"created","issue":{"url":"https://api.github.com/repos/planningcenter/developers/issues/538","repository_url":"https://api.github.com/repos/planningcenter/developers","labels_url":"https://api.github.com/repos/planningcenter/developers/issues/538/labels{/name}","comments_url":"https://api.github.com/repos/planningcenter/developers/issues/538/comments","events_url":"https://api.github.com/repos/planningcenter/developers/issues/538/events","html_url":"https://github.com/planningcenter/developers/issues/538","id":380820479,"node_id":"MDU6SXNzdWUzODA4MjA0Nzk=","number":538,"title":"ApiV2 follows JSON:API (string-based \"id\"); can 3rd Party \"id\" really be non-numeric?","user":{"login":"BionicButchie","id":8796515,"node_id":"MDQ6VXNlcjg3OTY1MTU=","avatar_url":"https://avatars1.githubusercontent.com/u/8796515?v=4","gravatar_id":"","url":"https://api.github.com/users/BionicButchie","html_url":"https://github.com/BionicButchie","followers_url":"https://api.github.com/users/BionicButchie/followers","following_url":"https://api.github.com/users/BionicButchie/following{/other_user}","gists_url":"https://api.github.com/users/BionicButchie/gists{/gist_id}","starred_url":"https://api.github.com/users/BionicButchie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BionicButchie/subscriptions","organizations_url":"https://api.github.com/users/BionicButchie/orgs","repos_url":"https://api.github.com/users/BionicButchie/repos","events_url":"https://api.github.com/users/BionicButchie/events{/privacy}","received_events_url":"https://api.github.com/users/BionicButchie/received_events","type":"User","site_admin":false},"labels":[{"id":607463071,"node_id":"MDU6TGFiZWw2MDc0NjMwNzE=","url":"https://api.github.com/repos/planningcenter/developers/labels/Services","name":"Services","color":"6e9541","default":false}],"state":"closed","locked":false,"assignee":{"login":"tannermares","id":1806545,"node_id":"MDQ6VXNlcjE4MDY1NDU=","avatar_url":"https://avatars1.githubusercontent.com/u/1806545?v=4","gravatar_id":"","url":"https://api.github.com/users/tannermares","html_url":"https://github.com/tannermares","followers_url":"https://api.github.com/users/tannermares/followers","following_url":"https://api.github.com/users/tannermares/following{/other_user}","gists_url":"https://api.github.com/users/tannermares/gists{/gist_id}","starred_url":"https://api.github.com/users/tannermares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tannermares/subscriptions","organizations_url":"https://api.github.com/users/tannermares/orgs","repos_url":"https://api.github.com/users/tannermares/repos","events_url":"https://api.github.com/users/tannermares/events{/privacy}","received_events_url":"https://api.github.com/users/tannermares/received_events","type":"User","site_admin":false},"assignees":[{"login":"tannermares","id":1806545,"node_id":"MDQ6VXNlcjE4MDY1NDU=","avatar_url":"https://avatars1.githubusercontent.com/u/1806545?v=4","gravatar_id":"","url":"https://api.github.com/users/tannermares","html_url":"https://github.com/tannermares","followers_url":"https://api.github.com/users/tannermares/followers","following_url":"https://api.github.com/users/tannermares/following{/other_user}","gists_url":"https://api.github.com/users/tannermares/gists{/gist_id}","starred_url":"https://api.github.com/users/tannermares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tannermares/subscriptions","organizations_url":"https://api.github.com/users/tannermares/orgs","repos_url":"https://api.github.com/users/tannermares/repos","events_url":"https://api.github.com/users/tannermares/events{/privacy}","received_events_url":"https://api.github.com/users/tannermares/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-11-14T18:02:46Z","updated_at":"2018-11-14T19:22:15Z","closed_at":"2018-11-14T19:22:15Z","author_association":"NONE","body":"**Related Applications**\r\n\"Son of Projector\" and ApiV1 Projector\r\n\r\n**Is your feature request related to a problem? Please describe.**\r\nI have a quick question regarding ApiV2 \"id\" versus ApiV1 \"id\" - it seems like ApiV1 always has numeric \"id\", whereas ApiV2 follows JSON:API and treats \"id\" as string.  I'm pondering what kind of \"id\" to use for my Custom Layouts (client-generated, I have no cloud) - and I want to be careful to not \"blow up\" ApiV1 (current Projector) if I were to set \"selected_layout\" of an Item to a string-based \"id\" (like a GUID).  Any guidance for me?\r\n\r\n**Describe the solution you'd like**\r\nHelp me not kill ApiV1 Projector too early (since \"selected_layout\" makes its way over to ApiV1 that Projector uses)\r\n\r\n**Describe alternatives you've considered**\r\nnumeric-based client-generated \"id\" (various mechanisms to help avoid collisions - but never *really* sure)\r\n\r\n**Additional context**\r\nAdd any other context or screenshots about the feature request here.\r\n"},"comment":{"url":"https://api.github.com/repos/planningcenter/developers/issues/comments/438786027","html_url":"https://github.com/planningcenter/developers/issues/538#issuecomment-438786027","issue_url":"https://api.github.com/repos/planningcenter/developers/issues/538","id":438786027,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODc4NjAyNw==","user":{"login":"tannermares","id":1806545,"node_id":"MDQ6VXNlcjE4MDY1NDU=","avatar_url":"https://avatars1.githubusercontent.com/u/1806545?v=4","gravatar_id":"","url":"https://api.github.com/users/tannermares","html_url":"https://github.com/tannermares","followers_url":"https://api.github.com/users/tannermares/followers","following_url":"https://api.github.com/users/tannermares/following{/other_user}","gists_url":"https://api.github.com/users/tannermares/gists{/gist_id}","starred_url":"https://api.github.com/users/tannermares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tannermares/subscriptions","organizations_url":"https://api.github.com/users/tannermares/orgs","repos_url":"https://api.github.com/users/tannermares/repos","events_url":"https://api.github.com/users/tannermares/events{/privacy}","received_events_url":"https://api.github.com/users/tannermares/received_events","type":"User","site_admin":false},"created_at":"2018-11-14T19:22:15Z","updated_at":"2018-11-14T19:22:15Z","author_association":"CONTRIBUTOR","body":"Hey @BionicButchie!! \r\n\r\nIt looks the the backing column won't care what you put in that field! So as far as future use is concerned, you can def use a UUID for your own Custom Layouts. I did talk with the mobile team and we took a look at how Projector used and stored that id. It will definitely break the current Projector if you started saving anything but integers in that column. So if you only do it in a test org I'd say it's fine. If you started using them in a real org they're current projector use would be compromised."}}
{"actor":{"display_login":"tannermares"}}