{"action":"created","comment":{"url":"https://api.github.com/repos/solettaproject/soletta/pulls/comments/43394083","id":43394083,"diff_hunk":"@@ -0,0 +1,596 @@\n+/*\n+ * This file is part of the Soletta Project\n+ *\n+ * Copyright (C) 2015 Intel Corporation. All rights reserved.\n+ *\n+ * Redistribution and use in source and binary forms, with or without\n+ * modification, are permitted provided that the following conditions\n+ * are met:\n+ *\n+ *   * Redistributions of source code must retain the above copyright\n+ *     notice, this list of conditions and the following disclaimer.\n+ *   * Redistributions in binary form must reproduce the above copyright\n+ *     notice, this list of conditions and the following disclaimer in\n+ *     the documentation and/or other materials provided with the\n+ *     distribution.\n+ *   * Neither the name of Intel Corporation nor the names of its\n+ *     contributors may be used to endorse or promote products derived\n+ *     from this software without specific prior written permission.\n+ *\n+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+ * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+ */\n+\n+#include <math.h>\n+#include <errno.h>\n+#include <stdio.h>\n+#include <stdlib.h>\n+#include <string.h>\n+\n+#include \"sol-flow/oauth.h\"\n+#include \"sol-flow.h\"\n+#include \"sol-http.h\"\n+#include \"sol-http-client.h\"\n+#include \"sol-http-server.h\"\n+#include \"sol-json.h\"\n+#include \"sol-mainloop.h\"\n+#include \"sol-message-digest.h\"\n+#include \"sol-random.h\"\n+#include \"sol-util.h\"\n+#include \"sol-vector.h\"\n+#include \"sol_config.h\"\n+\n+\n+struct v1_data {\n+    struct sol_ptr_vector pending_conns;\n+    char *request_token_url, *authorize_token_url, *access_token_url,\n+    *consumer_key, *consumer_key_secret, *namespace, *callback_url;\n+};\n+\n+struct v1_request_data {\n+    struct v1_data *mdata;\n+    struct sol_http_request *request;\n+    char *timestamp, *nonce;\n+};\n+\n+struct oauth_node_type {\n+    struct sol_flow_node_type base;\n+    struct sol_http_server *server;\n+    uint16_t server_ref;\n+};\n+\n+static void\n+v1_access_finished(void *data,\n+    const struct sol_http_client_connection *connection,\n+    struct sol_http_response *response)\n+{\n+    int r;\n+    const char *failed_message = \"Authentication has failed\";\n+    const char *success_message = \"Authentication has worked\";\n+    struct v1_request_data *req_data = data;\n+    struct sol_flow_node *node = (struct sol_flow_node *)req_data->mdata;\n+    struct v1_data *mdata = sol_flow_node_get_private_data(node);\n+    struct sol_http_response access_response = {\n+        .api_version = SOL_HTTP_RESPONSE_API_VERSION,\n+        .content = SOL_BUFFER_INIT_EMPTY,\n+        .param = SOL_HTTP_REQUEST_PARAM_INIT,\n+        .response_code = SOL_HTTP_STATUS_INTERNAL_SERVER_ERROR,\n+    };\n+\n+    r = sol_buffer_set_slice(&access_response.content,\n+        sol_str_slice_from_str(failed_message));\n+    if (r < 0)\n+        SOL_WRN(\"Could not set the reponse's message properly\");\n+\n+    if (sol_ptr_vector_remove(&mdata->pending_conns, connection) < 0)\n+        SOL_WRN(\"Failed to find pending connection %p\", connection);\n+\n+    SOL_NULL_CHECK_GOTO(response, end);\n+    SOL_HTTP_RESPONSE_CHECK_API_GOTO(response, end);\n+    SOL_INT_CHECK_GOTO(response->content.used, == 0, end);\n+\n+    if (response->response_code != SOL_HTTP_STATUS_OK) {\n+        SOL_WRN(\"Response from %s - %d\", response->url, response->response_code);\n+        goto end;\n+    }\n+\n+    access_response.response_code = SOL_HTTP_STATUS_OK;\n+    r = sol_buffer_set_slice(&access_response.content,\n+        sol_str_slice_from_str(success_message));\n+    if (r < 0)\n+        SOL_WRN(\"Could not set the reponse's message properly\");\n+\n+    r = sol_flow_send_string_packet(node,\n+        SOL_FLOW_NODE_TYPE_OAUTH_V1__OUT__TOKEN, response->content.data);\n+    if (r < 0)\n+        SOL_WRN(\"Could not send the packet with token: %s\", (char *)response->content.data);\n+\n+end:\n+    r = sol_flow_send_boolean_packet(node,\n+        SOL_FLOW_NODE_TYPE_OAUTH_V1__OUT__AUTHENTICATED,\n+        access_response.response_code == SOL_HTTP_STATUS_OK);\n+    if (r < 0)\n+        SOL_WRN(\"Could not send the packet for authentication: %s\",\n+            access_response.response_code == SOL_HTTP_STATUS_OK ? \"true\" : \"false\");\n+\n+    r = sol_http_server_send_response(req_data->request, &access_response);\n+    if (r < 0) {\n+        SOL_WRN(\"Could not send fail response for %s\",\n+            sol_http_request_get_url(req_data->request));\n+\n+    }\n+    free(req_data->timestamp);\n+    free(req_data->nonce);\n+    free(req_data);\n+}\n+\n+static int\n+v1_authorize_response_cb(void *data, struct sol_http_request *request)\n+{\n+    int r;\n+    uint16_t idx;\n+    char *verifier = NULL, *token = NULL;\n+    struct sol_http_param_value *value;\n+    struct sol_http_client_connection *connection;\n+    struct sol_http_param params = SOL_HTTP_REQUEST_PARAM_INIT;\n+    struct sol_flow_node *node = data;\n+    struct v1_data *mdata = sol_flow_node_get_private_data(node);\n+    struct v1_request_data *req_data = calloc(1, sizeof(struct v1_request_data));\n+    SOL_NULL_CHECK_GOTO(req_data, err);\n+\n+    SOL_HTTP_PARAM_FOREACH_IDX (sol_http_request_get_params(request), value, idx) {\n+        switch (value->type) {\n+        case SOL_HTTP_PARAM_QUERY_PARAM:\n+            if (streq(value->value.key_value.key, \"oauth_verifier\")) {\n+                verifier = strdup(value->value.key_value.value);\n+            }\n+            if (streq(value->value.key_value.key, \"oauth_token\")) {\n+                token = strdup(value->value.key_value.value);\n+            }\n+            break;\n+        default:\n+            break;\n+        }\n+    }\n+\n+    SOL_NULL_CHECK_GOTO(verifier, err);\n+\n+    req_data->request = request;\n+    req_data->mdata = data;\n+    if (!sol_http_param_add(&params,\n+        SOL_HTTP_REQUEST_PARAM_POST_FIELD(\"oauth_token\", token)) ||","path":"src/modules/flow/oauth/oauth.c","position":170,"original_position":170,"commit_id":"aabdb7ba5c3a04c0b18af0dc10b6aad29bf3937b","original_commit_id":"aabdb7ba5c3a04c0b18af0dc10b6aad29bf3937b","user":{"login":"lpereira","id":15001,"avatar_url":"https://avatars.githubusercontent.com/u/15001?v=3","gravatar_id":"","url":"https://api.github.com/users/lpereira","html_url":"https://github.com/lpereira","followers_url":"https://api.github.com/users/lpereira/followers","following_url":"https://api.github.com/users/lpereira/following{/other_user}","gists_url":"https://api.github.com/users/lpereira/gists{/gist_id}","starred_url":"https://api.github.com/users/lpereira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpereira/subscriptions","organizations_url":"https://api.github.com/users/lpereira/orgs","repos_url":"https://api.github.com/users/lpereira/repos","events_url":"https://api.github.com/users/lpereira/events{/privacy}","received_events_url":"https://api.github.com/users/lpereira/received_events","type":"User","site_admin":false},"body":"`token` is not NULL-checked here, is this OK?","created_at":"2015-10-29T14:49:34Z","updated_at":"2015-10-29T14:49:34Z","html_url":"https://github.com/solettaproject/soletta/pull/991#discussion_r43394083","pull_request_url":"https://api.github.com/repos/solettaproject/soletta/pulls/991","_links":{"self":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/comments/43394083"},"html":{"href":"https://github.com/solettaproject/soletta/pull/991#discussion_r43394083"},"pull_request":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/991"}}},"pull_request":{"url":"https://api.github.com/repos/solettaproject/soletta/pulls/991","id":49140394,"html_url":"https://github.com/solettaproject/soletta/pull/991","diff_url":"https://github.com/solettaproject/soletta/pull/991.diff","patch_url":"https://github.com/solettaproject/soletta/pull/991.patch","issue_url":"https://api.github.com/repos/solettaproject/soletta/issues/991","number":991,"state":"open","locked":false,"title":"Add oauth v1 authenticator","user":{"login":"ceolin","id":882919,"avatar_url":"https://avatars.githubusercontent.com/u/882919?v=3","gravatar_id":"","url":"https://api.github.com/users/ceolin","html_url":"https://github.com/ceolin","followers_url":"https://api.github.com/users/ceolin/followers","following_url":"https://api.github.com/users/ceolin/following{/other_user}","gists_url":"https://api.github.com/users/ceolin/gists{/gist_id}","starred_url":"https://api.github.com/users/ceolin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceolin/subscriptions","organizations_url":"https://api.github.com/users/ceolin/orgs","repos_url":"https://api.github.com/users/ceolin/repos","events_url":"https://api.github.com/users/ceolin/events{/privacy}","received_events_url":"https://api.github.com/users/ceolin/received_events","type":"User","site_admin":false},"body":"- Change the api that serve static files to use a namespace\r\n- Add api to set static file for error's response\r\n- OAuth v1 node\r\n\r\n","created_at":"2015-10-29T13:42:38Z","updated_at":"2015-10-29T14:49:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2613dee105b1e2167d06f458efeec757bb337910","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/solettaproject/soletta/pulls/991/commits","review_comments_url":"https://api.github.com/repos/solettaproject/soletta/pulls/991/comments","review_comment_url":"https://api.github.com/repos/solettaproject/soletta/pulls/comments{/number}","comments_url":"https://api.github.com/repos/solettaproject/soletta/issues/991/comments","statuses_url":"https://api.github.com/repos/solettaproject/soletta/statuses/aabdb7ba5c3a04c0b18af0dc10b6aad29bf3937b","head":{"label":"ceolin:oauth","ref":"oauth","sha":"aabdb7ba5c3a04c0b18af0dc10b6aad29bf3937b","user":{"login":"ceolin","id":882919,"avatar_url":"https://avatars.githubusercontent.com/u/882919?v=3","gravatar_id":"","url":"https://api.github.com/users/ceolin","html_url":"https://github.com/ceolin","followers_url":"https://api.github.com/users/ceolin/followers","following_url":"https://api.github.com/users/ceolin/following{/other_user}","gists_url":"https://api.github.com/users/ceolin/gists{/gist_id}","starred_url":"https://api.github.com/users/ceolin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceolin/subscriptions","organizations_url":"https://api.github.com/users/ceolin/orgs","repos_url":"https://api.github.com/users/ceolin/repos","events_url":"https://api.github.com/users/ceolin/events{/privacy}","received_events_url":"https://api.github.com/users/ceolin/received_events","type":"User","site_admin":false},"repo":{"id":37607073,"name":"soletta","full_name":"ceolin/soletta","owner":{"login":"ceolin","id":882919,"avatar_url":"https://avatars.githubusercontent.com/u/882919?v=3","gravatar_id":"","url":"https://api.github.com/users/ceolin","html_url":"https://github.com/ceolin","followers_url":"https://api.github.com/users/ceolin/followers","following_url":"https://api.github.com/users/ceolin/following{/other_user}","gists_url":"https://api.github.com/users/ceolin/gists{/gist_id}","starred_url":"https://api.github.com/users/ceolin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceolin/subscriptions","organizations_url":"https://api.github.com/users/ceolin/orgs","repos_url":"https://api.github.com/users/ceolin/repos","events_url":"https://api.github.com/users/ceolin/events{/privacy}","received_events_url":"https://api.github.com/users/ceolin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ceolin/soletta","description":"Soletta Project is a framework for making IoT devices.  With Soletta Project's libraries developers can easily write software for devices that control actuators/sensors and communicate using standard technologies. It enables adding smartness even on the smallest edge devices.  Portable and scalable, it abstracts details of hardware and OS, enabling developers to reuse their code and knowledge on different targets.","fork":true,"url":"https://api.github.com/repos/ceolin/soletta","forks_url":"https://api.github.com/repos/ceolin/soletta/forks","keys_url":"https://api.github.com/repos/ceolin/soletta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ceolin/soletta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ceolin/soletta/teams","hooks_url":"https://api.github.com/repos/ceolin/soletta/hooks","issue_events_url":"https://api.github.com/repos/ceolin/soletta/issues/events{/number}","events_url":"https://api.github.com/repos/ceolin/soletta/events","assignees_url":"https://api.github.com/repos/ceolin/soletta/assignees{/user}","branches_url":"https://api.github.com/repos/ceolin/soletta/branches{/branch}","tags_url":"https://api.github.com/repos/ceolin/soletta/tags","blobs_url":"https://api.github.com/repos/ceolin/soletta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ceolin/soletta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ceolin/soletta/git/refs{/sha}","trees_url":"https://api.github.com/repos/ceolin/soletta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ceolin/soletta/statuses/{sha}","languages_url":"https://api.github.com/repos/ceolin/soletta/languages","stargazers_url":"https://api.github.com/repos/ceolin/soletta/stargazers","contributors_url":"https://api.github.com/repos/ceolin/soletta/contributors","subscribers_url":"https://api.github.com/repos/ceolin/soletta/subscribers","subscription_url":"https://api.github.com/repos/ceolin/soletta/subscription","commits_url":"https://api.github.com/repos/ceolin/soletta/commits{/sha}","git_commits_url":"https://api.github.com/repos/ceolin/soletta/git/commits{/sha}","comments_url":"https://api.github.com/repos/ceolin/soletta/comments{/number}","issue_comment_url":"https://api.github.com/repos/ceolin/soletta/issues/comments{/number}","contents_url":"https://api.github.com/repos/ceolin/soletta/contents/{+path}","compare_url":"https://api.github.com/repos/ceolin/soletta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ceolin/soletta/merges","archive_url":"https://api.github.com/repos/ceolin/soletta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ceolin/soletta/downloads","issues_url":"https://api.github.com/repos/ceolin/soletta/issues{/number}","pulls_url":"https://api.github.com/repos/ceolin/soletta/pulls{/number}","milestones_url":"https://api.github.com/repos/ceolin/soletta/milestones{/number}","notifications_url":"https://api.github.com/repos/ceolin/soletta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ceolin/soletta/labels{/name}","releases_url":"https://api.github.com/repos/ceolin/soletta/releases{/id}","created_at":"2015-06-17T16:33:08Z","updated_at":"2015-06-17T16:33:10Z","pushed_at":"2015-10-29T13:41:26Z","git_url":"git://github.com/ceolin/soletta.git","ssh_url":"git@github.com:ceolin/soletta.git","clone_url":"https://github.com/ceolin/soletta.git","svn_url":"https://github.com/ceolin/soletta","homepage":"","size":9564,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"solettaproject:master","ref":"master","sha":"e9b1e4511ab3eaa6b2e451173b6937a9a39a3a9a","user":{"login":"solettaproject","id":12736897,"avatar_url":"https://avatars.githubusercontent.com/u/12736897?v=3","gravatar_id":"","url":"https://api.github.com/users/solettaproject","html_url":"https://github.com/solettaproject","followers_url":"https://api.github.com/users/solettaproject/followers","following_url":"https://api.github.com/users/solettaproject/following{/other_user}","gists_url":"https://api.github.com/users/solettaproject/gists{/gist_id}","starred_url":"https://api.github.com/users/solettaproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solettaproject/subscriptions","organizations_url":"https://api.github.com/users/solettaproject/orgs","repos_url":"https://api.github.com/users/solettaproject/repos","events_url":"https://api.github.com/users/solettaproject/events{/privacy}","received_events_url":"https://api.github.com/users/solettaproject/received_events","type":"Organization","site_admin":false},"repo":{"id":37087063,"name":"soletta","full_name":"solettaproject/soletta","owner":{"login":"solettaproject","id":12736897,"avatar_url":"https://avatars.githubusercontent.com/u/12736897?v=3","gravatar_id":"","url":"https://api.github.com/users/solettaproject","html_url":"https://github.com/solettaproject","followers_url":"https://api.github.com/users/solettaproject/followers","following_url":"https://api.github.com/users/solettaproject/following{/other_user}","gists_url":"https://api.github.com/users/solettaproject/gists{/gist_id}","starred_url":"https://api.github.com/users/solettaproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solettaproject/subscriptions","organizations_url":"https://api.github.com/users/solettaproject/orgs","repos_url":"https://api.github.com/users/solettaproject/repos","events_url":"https://api.github.com/users/solettaproject/events{/privacy}","received_events_url":"https://api.github.com/users/solettaproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/solettaproject/soletta","description":"Soletta Project is a framework for making IoT devices.  With Soletta Project's libraries developers can easily write software for devices that control actuators/sensors and communicate using standard technologies. It enables adding smartness even on the smallest edge devices.  ","fork":false,"url":"https://api.github.com/repos/solettaproject/soletta","forks_url":"https://api.github.com/repos/solettaproject/soletta/forks","keys_url":"https://api.github.com/repos/solettaproject/soletta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/solettaproject/soletta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/solettaproject/soletta/teams","hooks_url":"https://api.github.com/repos/solettaproject/soletta/hooks","issue_events_url":"https://api.github.com/repos/solettaproject/soletta/issues/events{/number}","events_url":"https://api.github.com/repos/solettaproject/soletta/events","assignees_url":"https://api.github.com/repos/solettaproject/soletta/assignees{/user}","branches_url":"https://api.github.com/repos/solettaproject/soletta/branches{/branch}","tags_url":"https://api.github.com/repos/solettaproject/soletta/tags","blobs_url":"https://api.github.com/repos/solettaproject/soletta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/solettaproject/soletta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/solettaproject/soletta/git/refs{/sha}","trees_url":"https://api.github.com/repos/solettaproject/soletta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/solettaproject/soletta/statuses/{sha}","languages_url":"https://api.github.com/repos/solettaproject/soletta/languages","stargazers_url":"https://api.github.com/repos/solettaproject/soletta/stargazers","contributors_url":"https://api.github.com/repos/solettaproject/soletta/contributors","subscribers_url":"https://api.github.com/repos/solettaproject/soletta/subscribers","subscription_url":"https://api.github.com/repos/solettaproject/soletta/subscription","commits_url":"https://api.github.com/repos/solettaproject/soletta/commits{/sha}","git_commits_url":"https://api.github.com/repos/solettaproject/soletta/git/commits{/sha}","comments_url":"https://api.github.com/repos/solettaproject/soletta/comments{/number}","issue_comment_url":"https://api.github.com/repos/solettaproject/soletta/issues/comments{/number}","contents_url":"https://api.github.com/repos/solettaproject/soletta/contents/{+path}","compare_url":"https://api.github.com/repos/solettaproject/soletta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/solettaproject/soletta/merges","archive_url":"https://api.github.com/repos/solettaproject/soletta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/solettaproject/soletta/downloads","issues_url":"https://api.github.com/repos/solettaproject/soletta/issues{/number}","pulls_url":"https://api.github.com/repos/solettaproject/soletta/pulls{/number}","milestones_url":"https://api.github.com/repos/solettaproject/soletta/milestones{/number}","notifications_url":"https://api.github.com/repos/solettaproject/soletta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/solettaproject/soletta/labels{/name}","releases_url":"https://api.github.com/repos/solettaproject/soletta/releases{/id}","created_at":"2015-06-08T19:13:18Z","updated_at":"2015-10-26T23:09:45Z","pushed_at":"2015-10-29T13:42:38Z","git_url":"git://github.com/solettaproject/soletta.git","ssh_url":"git@github.com:solettaproject/soletta.git","clone_url":"https://github.com/solettaproject/soletta.git","svn_url":"https://github.com/solettaproject/soletta","homepage":"http://solettaproject.org","size":28442,"stargazers_count":50,"watchers_count":50,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":41,"forks":33,"open_issues":41,"watchers":50,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/991"},"html":{"href":"https://github.com/solettaproject/soletta/pull/991"},"issue":{"href":"https://api.github.com/repos/solettaproject/soletta/issues/991"},"comments":{"href":"https://api.github.com/repos/solettaproject/soletta/issues/991/comments"},"review_comments":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/991/comments"},"review_comment":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/991/commits"},"statuses":{"href":"https://api.github.com/repos/solettaproject/soletta/statuses/aabdb7ba5c3a04c0b18af0dc10b6aad29bf3937b"}}}}