{"action":"created","issue":{"url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/139","labels_url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/139/comments","events_url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/139/events","html_url":"https://github.com/OneDrive/onedrive-api-docs/issues/139","id":88689277,"number":139,"title":"[Question] Is there any place to indicate the file/folder limitation?","user":{"login":"mikechiu1012","id":6646174,"avatar_url":"https://avatars.githubusercontent.com/u/6646174?v=3","gravatar_id":"","url":"https://api.github.com/users/mikechiu1012","html_url":"https://github.com/mikechiu1012","followers_url":"https://api.github.com/users/mikechiu1012/followers","following_url":"https://api.github.com/users/mikechiu1012/following{/other_user}","gists_url":"https://api.github.com/users/mikechiu1012/gists{/gist_id}","starred_url":"https://api.github.com/users/mikechiu1012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikechiu1012/subscriptions","organizations_url":"https://api.github.com/users/mikechiu1012/orgs","repos_url":"https://api.github.com/users/mikechiu1012/repos","events_url":"https://api.github.com/users/mikechiu1012/events{/privacy}","received_events_url":"https://api.github.com/users/mikechiu1012/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-16T10:38:11Z","updated_at":"2015-06-17T02:33:19Z","closed_at":null,"body":"Hi, is there any place to indicate the limitations like min/max length, valid characters and naming constraints of file and folder?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/comments/112626660","html_url":"https://github.com/OneDrive/onedrive-api-docs/issues/139#issuecomment-112626660","issue_url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/139","id":112626660,"user":{"login":"mikechiu1012","id":6646174,"avatar_url":"https://avatars.githubusercontent.com/u/6646174?v=3","gravatar_id":"","url":"https://api.github.com/users/mikechiu1012","html_url":"https://github.com/mikechiu1012","followers_url":"https://api.github.com/users/mikechiu1012/followers","following_url":"https://api.github.com/users/mikechiu1012/following{/other_user}","gists_url":"https://api.github.com/users/mikechiu1012/gists{/gist_id}","starred_url":"https://api.github.com/users/mikechiu1012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikechiu1012/subscriptions","organizations_url":"https://api.github.com/users/mikechiu1012/orgs","repos_url":"https://api.github.com/users/mikechiu1012/repos","events_url":"https://api.github.com/users/mikechiu1012/events{/privacy}","received_events_url":"https://api.github.com/users/mikechiu1012/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T02:33:19Z","updated_at":"2015-06-17T02:33:19Z","body":"according to the Path Encoding page, \r\nthe leading blanks of folder/file name is permitted.\r\n\r\nbut if I create a folder with name ' 123' under root folder,\r\nthe response is:\r\n400 {\"error\":{\"code\":\"pathContainsInvalidCharacters\",\"message\":\"Path is Invalid\",\"innererror\":{\"code\":\"badArgument\",\"innererror\":{\"code\":\"invalidPath\"}}}}\r\n\r\nI think it might be a constraint cause old API has this naming convention.\r\nthere are three constraints:\r\n1. no leading blanks\r\n2. no tailing common\r\n3. name could not be all blanks.\r\nunder my test, these three constrains are satisfied for new API.\r\nI think this might be new API's constraints, too?\r\nor just bugs need to be checked ?\r\n\r\n"}}