{"action":"created","issue":{"url":"https://api.github.com/repos/OpenMobileAlliance/OMA_LwM2M_for_Developers/issues/383","repository_url":"https://api.github.com/repos/OpenMobileAlliance/OMA_LwM2M_for_Developers","labels_url":"https://api.github.com/repos/OpenMobileAlliance/OMA_LwM2M_for_Developers/issues/383/labels{/name}","comments_url":"https://api.github.com/repos/OpenMobileAlliance/OMA_LwM2M_for_Developers/issues/383/comments","events_url":"https://api.github.com/repos/OpenMobileAlliance/OMA_LwM2M_for_Developers/issues/383/events","html_url":"https://github.com/OpenMobileAlliance/OMA_LwM2M_for_Developers/issues/383","id":340091908,"node_id":"MDU6SXNzdWUzNDAwOTE5MDg=","number":383,"title":"Bootstrap Delete All operation","user":{"login":"jaudiger","id":31616285,"node_id":"MDQ6VXNlcjMxNjE2Mjg1","avatar_url":"https://avatars3.githubusercontent.com/u/31616285?v=4","gravatar_id":"","url":"https://api.github.com/users/jaudiger","html_url":"https://github.com/jaudiger","followers_url":"https://api.github.com/users/jaudiger/followers","following_url":"https://api.github.com/users/jaudiger/following{/other_user}","gists_url":"https://api.github.com/users/jaudiger/gists{/gist_id}","starred_url":"https://api.github.com/users/jaudiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaudiger/subscriptions","organizations_url":"https://api.github.com/users/jaudiger/orgs","repos_url":"https://api.github.com/users/jaudiger/repos","events_url":"https://api.github.com/users/jaudiger/events{/privacy}","received_events_url":"https://api.github.com/users/jaudiger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-11T04:57:49Z","updated_at":"2018-07-11T06:04:16Z","closed_at":null,"author_association":"NONE","body":"Document: OMA-TS-LightweightM2M-V1_0_2-20180209-A\r\nPart: 5.2.7 Bootstrap Commands\r\n\r\nHow should we set the path to '/' in the Bootstrap Delete All operation ? I mean in the CoAP message do we need to:\r\n- Set the Uri-path option to NULL\r\n- Do not set the Uri-path option\r\n\r\nBecause currently some implementations such as Leshan and Wakaama do not set the Uri-Path option in the CoAP message to set the path to '/'.\r\n"},"comment":{"url":"https://api.github.com/repos/OpenMobileAlliance/OMA_LwM2M_for_Developers/issues/comments/404055033","html_url":"https://github.com/OpenMobileAlliance/OMA_LwM2M_for_Developers/issues/383#issuecomment-404055033","issue_url":"https://api.github.com/repos/OpenMobileAlliance/OMA_LwM2M_for_Developers/issues/383","id":404055033,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDA1NTAzMw==","user":{"login":"dnav","id":1805502,"node_id":"MDQ6VXNlcjE4MDU1MDI=","avatar_url":"https://avatars0.githubusercontent.com/u/1805502?v=4","gravatar_id":"","url":"https://api.github.com/users/dnav","html_url":"https://github.com/dnav","followers_url":"https://api.github.com/users/dnav/followers","following_url":"https://api.github.com/users/dnav/following{/other_user}","gists_url":"https://api.github.com/users/dnav/gists{/gist_id}","starred_url":"https://api.github.com/users/dnav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnav/subscriptions","organizations_url":"https://api.github.com/users/dnav/orgs","repos_url":"https://api.github.com/users/dnav/repos","events_url":"https://api.github.com/users/dnav/events{/privacy}","received_events_url":"https://api.github.com/users/dnav/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T06:04:16Z","updated_at":"2018-07-11T06:04:16Z","author_association":"MEMBER","body":"From [RFC7252](https://tools.ietf.org/html/rfc7252):\r\n\r\n> 6.4 Decomposing URIs into Options\r\n>\r\n>   The steps to parse a request's options from a string |url| are as\r\n   follows.  These steps either result in zero or more of the Uri-Host,\r\n   Uri-Port, Uri-Path, and Uri-Query Options being included in the\r\n   request or they fail.\r\n>\r\n>   1.  If the |url| string is not an absolute URI ([RFC3986]), then fail\r\n       this algorithm.\r\n>\r\n>   2.  Resolve the |url| string using the process of reference\r\n       resolution defined by [RFC3986].  At this stage, the URL is in\r\n       ASCII encoding [RFC0020], even though the decoded components will\r\n       be interpreted in UTF-8 [RFC3629] after steps 5, 8, and 9.\r\n>\r\n>       NOTE: It doesn't matter what it is resolved relative to, since we\r\n       already know it is an absolute URL at this point.\r\n>\r\n>   3.  If |url| does not have a <scheme> component whose value, when\r\n       converted to ASCII lowercase, is \"coap\" or \"coaps\", then fail\r\n       this algorithm.\r\n>\r\n >  4.  If |url| has a <fragment> component, then fail this algorithm.\r\n>\r\n>   5.  If the <host> component of |url| does not represent the request's\r\n       destination IP address as an IP-literal or IPv4address, include a\r\n       Uri-Host Option and let that option's value be the value of the\r\n       <host> component of |url|, converted to ASCII lowercase, and then\r\n       convert all percent-encodings (\"%\" followed by two hexadecimal\r\n       digits) to the corresponding characters.\r\n>\r\n>       NOTE: In the usual case where the request's destination IP\r\n       address is derived from the host part, this ensures that a Uri-\r\n       Host Option is only used for a <host> component of the form reg-\r\n       name.\r\n>\r\n>   6.  If |url| has a <port> component, then let |port| be that\r\n       component's value interpreted as a decimal integer; otherwise,\r\n       let |port| be the default port for the scheme.\r\n>\r\n>   7.  If |port| does not equal the request's destination UDP port,\r\n       include a Uri-Port Option and let that option's value be |port|.\r\n>\r\n>   8.  **If the value of the <path> component of |url|** is empty or\r\n       **consists of a single slash character (U+002F SOLIDUS \"/\"), then\r\n       move to the next step.**\r\n>\r\n>       Otherwise, for each segment in the <path> component, include a\r\n       Uri-Path Option and let that option's value be the segment (not\r\n       including the delimiting slash characters) after converting each\r\n       percent-encoding (\"%\" followed by two hexadecimal digits) to the\r\n       corresponding byte.\r\n>\r\n>   9.  If |url| has a <query> component, then, for each argument in the\r\n       <query> component, include a Uri-Query Option and let that\r\n       option's value be the argument (not including the question mark\r\n       and the delimiting ampersand characters) after converting each\r\n       percent-encoding to the corresponding byte.\r\n\r\nThus in the case of the URI being `/`, following this algorithm will produce no uri-path option (emphasis in step 8)\r\n"}}
{"actor":{"display_login":"dnav"}}