{"action":"created","issue":{"url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/570","repository_url":"https://api.github.com/repos/OneDrive/onedrive-api-docs","labels_url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/570/labels{/name}","comments_url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/570/comments","events_url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/570/events","html_url":"https://github.com/OneDrive/onedrive-api-docs/issues/570","id":218117283,"number":570,"title":"Delta request do not return all selected properties.","user":{"login":"JamesDommisse","id":12430311,"avatar_url":"https://avatars2.githubusercontent.com/u/12430311?v=3","gravatar_id":"","url":"https://api.github.com/users/JamesDommisse","html_url":"https://github.com/JamesDommisse","followers_url":"https://api.github.com/users/JamesDommisse/followers","following_url":"https://api.github.com/users/JamesDommisse/following{/other_user}","gists_url":"https://api.github.com/users/JamesDommisse/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesDommisse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesDommisse/subscriptions","organizations_url":"https://api.github.com/users/JamesDommisse/orgs","repos_url":"https://api.github.com/users/JamesDommisse/repos","events_url":"https://api.github.com/users/JamesDommisse/events{/privacy}","received_events_url":"https://api.github.com/users/JamesDommisse/received_events","type":"User","site_admin":false},"labels":[{"id":157847341,"url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/labels/bug","name":"bug","color":"b60205","default":true}],"state":"open","locked":false,"assignee":{"login":"ificator","id":8387253,"avatar_url":"https://avatars1.githubusercontent.com/u/8387253?v=3","gravatar_id":"","url":"https://api.github.com/users/ificator","html_url":"https://github.com/ificator","followers_url":"https://api.github.com/users/ificator/followers","following_url":"https://api.github.com/users/ificator/following{/other_user}","gists_url":"https://api.github.com/users/ificator/gists{/gist_id}","starred_url":"https://api.github.com/users/ificator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ificator/subscriptions","organizations_url":"https://api.github.com/users/ificator/orgs","repos_url":"https://api.github.com/users/ificator/repos","events_url":"https://api.github.com/users/ificator/events{/privacy}","received_events_url":"https://api.github.com/users/ificator/received_events","type":"User","site_admin":false},"assignees":[{"login":"ificator","id":8387253,"avatar_url":"https://avatars1.githubusercontent.com/u/8387253?v=3","gravatar_id":"","url":"https://api.github.com/users/ificator","html_url":"https://github.com/ificator","followers_url":"https://api.github.com/users/ificator/followers","following_url":"https://api.github.com/users/ificator/following{/other_user}","gists_url":"https://api.github.com/users/ificator/gists{/gist_id}","starred_url":"https://api.github.com/users/ificator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ificator/subscriptions","organizations_url":"https://api.github.com/users/ificator/orgs","repos_url":"https://api.github.com/users/ificator/repos","events_url":"https://api.github.com/users/ificator/events{/privacy}","received_events_url":"https://api.github.com/users/ificator/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2017-03-30T08:22:48Z","updated_at":"2017-04-28T12:35:26Z","closed_at":null,"body":"When selecting certain combinations of item properties in a delta query. Some of the properties are not returned.\r\n\r\nIn this python example the cTag is not returned for files:\r\n```\r\nimport json\r\nimport requests_oauthlib\r\nfrom pprint import pprint\r\n\r\nITEM_FIELDS = ['id', 'lastModifiedDateTime', 'name', 'shared', 'folder', 'size',\r\n               'parentReference', 'cTag', 'deleted']\r\n\r\ndef delta_view():\r\n    oauth_session = requests_oauthlib.OAuth2Session(\r\n                CLIENT_ID,\r\n                token=json.loads(JSON_TOKEN))\r\n    res = oauth_session.get('https://api.onedrive.com/v1.0/drive/root:/:/view.delta', params={'select' : ','.join(ITEM_FIELDS)})\r\n    for value in res.json()['value']:\r\n        if 'cTag' not in value:\r\n            pprint(value)\r\n```\r\nThis prints out all the files. \r\n\r\nThanks for your help, \r\n\r\nJD"},"comment":{"url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/comments/297986560","html_url":"https://github.com/OneDrive/onedrive-api-docs/issues/570#issuecomment-297986560","issue_url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/570","id":297986560,"user":{"login":"julian-r","id":709223,"avatar_url":"https://avatars0.githubusercontent.com/u/709223?v=3","gravatar_id":"","url":"https://api.github.com/users/julian-r","html_url":"https://github.com/julian-r","followers_url":"https://api.github.com/users/julian-r/followers","following_url":"https://api.github.com/users/julian-r/following{/other_user}","gists_url":"https://api.github.com/users/julian-r/gists{/gist_id}","starred_url":"https://api.github.com/users/julian-r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julian-r/subscriptions","organizations_url":"https://api.github.com/users/julian-r/orgs","repos_url":"https://api.github.com/users/julian-r/repos","events_url":"https://api.github.com/users/julian-r/events{/privacy}","received_events_url":"https://api.github.com/users/julian-r/received_events","type":"User","site_admin":false},"created_at":"2017-04-28T12:35:26Z","updated_at":"2017-04-28T12:35:26Z","body":"With onedrive for business the problem happens as soon as you add `parentReference` to the select param. There it is not possible to get `cTag` and `parentReference` in the same call. This makes it really hard to use."}}
{"actor":{"display_login":"julian-r"}}