{"action":"created","issue":{"url":"https://api.github.com/repos/directus/api/issues/464","repository_url":"https://api.github.com/repos/directus/api","labels_url":"https://api.github.com/repos/directus/api/issues/464/labels{/name}","comments_url":"https://api.github.com/repos/directus/api/issues/464/comments","events_url":"https://api.github.com/repos/directus/api/issues/464/events","html_url":"https://github.com/directus/api/issues/464","id":366142917,"node_id":"MDU6SXNzdWUzNjYxNDI5MTc=","number":464,"title":"GetItem doesn't honor status_mapping","user":{"login":"benhaynes","id":522079,"node_id":"MDQ6VXNlcjUyMjA3OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/522079?v=4","gravatar_id":"","url":"https://api.github.com/users/benhaynes","html_url":"https://github.com/benhaynes","followers_url":"https://api.github.com/users/benhaynes/followers","following_url":"https://api.github.com/users/benhaynes/following{/other_user}","gists_url":"https://api.github.com/users/benhaynes/gists{/gist_id}","starred_url":"https://api.github.com/users/benhaynes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benhaynes/subscriptions","organizations_url":"https://api.github.com/users/benhaynes/orgs","repos_url":"https://api.github.com/users/benhaynes/repos","events_url":"https://api.github.com/users/benhaynes/events{/privacy}","received_events_url":"https://api.github.com/users/benhaynes/received_events","type":"User","site_admin":false},"labels":[{"id":838688385,"node_id":"MDU6TGFiZWw4Mzg2ODgzODU=","url":"https://api.github.com/repos/directus/api/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-03T01:43:12Z","updated_at":"2018-10-03T15:50:48Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"`getItems` (plural) respects the `status_mapping.published`\r\n\r\n`getItem` (singular) **does not** respect the `status_mapping.published`\r\n\r\nWe need to be consistent, and I feel that the `getItem` needs to NOT return items that are un-published."},"comment":{"url":"https://api.github.com/repos/directus/api/issues/comments/426689393","html_url":"https://github.com/directus/api/issues/464#issuecomment-426689393","issue_url":"https://api.github.com/repos/directus/api/issues/464","id":426689393,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjY4OTM5Mw==","user":{"login":"benhaynes","id":522079,"node_id":"MDQ6VXNlcjUyMjA3OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/522079?v=4","gravatar_id":"","url":"https://api.github.com/users/benhaynes","html_url":"https://github.com/benhaynes","followers_url":"https://api.github.com/users/benhaynes/followers","following_url":"https://api.github.com/users/benhaynes/following{/other_user}","gists_url":"https://api.github.com/users/benhaynes/gists{/gist_id}","starred_url":"https://api.github.com/users/benhaynes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benhaynes/subscriptions","organizations_url":"https://api.github.com/users/benhaynes/orgs","repos_url":"https://api.github.com/users/benhaynes/repos","events_url":"https://api.github.com/users/benhaynes/events{/privacy}","received_events_url":"https://api.github.com/users/benhaynes/received_events","type":"User","site_admin":false},"created_at":"2018-10-03T15:50:48Z","updated_at":"2018-10-03T15:50:48Z","author_association":"CONTRIBUTOR","body":"Since we have a flag that says the items are not `published` I think we need to honor that everywhere. Let's update getItem ... admins don't need to use `status` or the `published` flag if they don't want it."}}
{"actor":{"display_login":"benhaynes"}}