define({ "api": [
  {
    "type": "post",
    "url": ":sf_culture/api/event/comment-add/:event_id/",
    "title": "Add comment",
    "sampleRequest": [
      {
        "url": "https://helpclub-mur.atmadev.ru/:sf_culture/api/event/comment-add/:event_id/"
      }
    ],
    "name": "Add_comment",
    "group": "Event",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "event_id",
            "description": "<p>Event id</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "size": "1..1000",
            "optional": false,
            "field": "body",
            "description": "<p>Text comment</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "image",
            "description": "<p>Base64 image</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "data",
            "description": "<p>Events data</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.body",
            "description": "<p>Event body</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.time",
            "description": "<p>Time since creation</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.image",
            "description": "<p>Image src. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.add_src",
            "description": "<p>Src add comment</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "data.profile",
            "description": "<p>Author</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.profile.username",
            "description": "<p>Author username</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.profile.image",
            "description": "<p>Author image. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.profile.src",
            "description": "<p>Link author profile</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\",\n  \"data\": [\n     {\n       \"body\": \"Первый, вот!\",\n       \"time\": \"4 часа назад\",\n       \"image\": \"http://helpclub.local/u/f/4/1/6/15ac0-a981-1580-632f-a379e9d7e140-FHD.jpeg\",\n       \"profile\": {\n         \"username\": \"Mister Proper\",\n         \"image\": \"http://helpclub.local/u/f/0/1/d/59784-318f-58e7-4e8b-c20444d6cd87-FHD.jpg\",\n         \"src\": \"http://helpclub.local/ru/api/user/profile/2/\"\n         }\n     }\n ],\n \"add_src\": \"event/comment-add/3/\"\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "Form invalid:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"form_invalid\",\n  \"message\": \"Сообщение: Обязательное поле\"\n}",
          "type": "json"
        }
      ],
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/event/actions/actions.class.php",
    "groupTitle": "Event"
  },
  {
    "type": "post",
    "url": ":sf_culture/api/event/complain/:event_id/",
    "title": "Add complain",
    "name": "Add_complain",
    "group": "Event",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "event_id",
            "description": "<p>Event id</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "size": "1..1000",
            "optional": false,
            "field": "body",
            "description": "<p>Body</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\"\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "Form invalid:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"form_invalid\",\n  \"message\": \"Некорректные данные\"\n}",
          "type": "json"
        }
      ],
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/event/actions/actions.class.php",
    "groupTitle": "Event"
  },
  {
    "type": "post",
    "url": ":sf_culture/api/event/add/",
    "title": "Add event",
    "name": "Add_event",
    "group": "Event",
    "error": {
      "examples": [
        {
          "title": "Form invalid:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"form_invalid\",\n  \"message\": \"Сообщение: Обязательное поле\"\n}",
          "type": "json"
        }
      ],
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/event/actions/actions.class.php",
    "groupTitle": "Event",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "size": "1..10000",
            "optional": false,
            "field": "body",
            "description": "<p>Message</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "place",
            "description": "<p>Place name. Required if empty field &quot;invite&quot;. Example: &quot;Уфимское шоссе, 39, Уфа, Республика Башкортостан, Россия&quot;</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "lat",
            "description": "<p>Latitude. Required if empty field &quot;invite&quot;</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "lon",
            "description": "<p>Longitude. Required if empty field &quot;invite&quot;</p>"
          },
          {
            "group": "Parameter",
            "type": "Object[]",
            "optional": false,
            "field": "invite",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String[]",
            "optional": false,
            "field": "invite.users",
            "description": "<p>User ids</p>"
          },
          {
            "group": "Parameter",
            "type": "String[]",
            "optional": false,
            "field": "invite.teams",
            "description": "<p>Team ids</p>"
          },
          {
            "group": "Parameter",
            "type": "String[]",
            "optional": false,
            "field": "invite.contacts",
            "description": "<p>Contact ids</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "actual_min",
            "description": "<p>Available time in MIN</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "distance",
            "description": "<p>Available distance in KM</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "tag",
            "description": "<p>Tags. Example: ice,green,red</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "allowedValues": [
              "\"event\"",
              "\"help\""
            ],
            "optional": false,
            "field": "type",
            "description": "<p>Type</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "image",
            "description": "<p>Base64 image</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "data",
            "description": "<p>Event data</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.body",
            "description": "<p>Event body</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.image",
            "description": "<p>Event image. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.distance_location",
            "description": "<p>The distance to the event</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.time",
            "description": "<p>Time since creation</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "data.comment",
            "description": "<p>Event comments info</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.comment.count",
            "description": "<p>Event comment text. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.comment.list_src",
            "description": "<p>Event comments src</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.comment.add_src",
            "description": "<p>Event comment add src</p>"
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "data.comment.images",
            "description": "<p>Event comment images. Array</p>"
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "data.tag",
            "description": "<p>Tags</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "allowedValues": [
              "\"help\"",
              "\"event\""
            ],
            "optional": false,
            "field": "data.type",
            "description": "<p>Type</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "data.profile",
            "description": "<p>Author</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.profile.username",
            "description": "<p>Author username</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.profile.image",
            "description": "<p>Author image. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.profile.src",
            "description": "<p>Link author profile</p>"
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "data.actions",
            "description": "<p>Actions</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.actions.share_src",
            "description": "<p>Share src</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.actions.complain_src",
            "description": "<p>Complain src</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.actions.delete_src",
            "description": "<p>Src for delete event. if this user be author event return src, else null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.actions.edit_src",
            "description": "<p>Src for edit event. if this user be author event return src, else null</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\",\n  \"data\":\n     {\n       \"body\": \"Мега событие в Уфе\",\n       \"image\": \"http://helpclub.local/u/f/0/1/d/59784-318f-58e7-4e8b-c20444d6cd87-FHD.jpg\",\n       \"distance_location\": \"243 М\",\n       \"time\": \"4 часа назад\",\n       \"comment\": {\n             \"count\": \"2 комментария\",\n             \"list_src\": \"event/2/comment/\",\n             \"add_src\": \"event/2/comment-add/\",\n             \"images\": [\n                    \"http://helpclub.local/u/f/a/c/8/89e0a-0d46-e1c3-5f57-0300bbda021a-S.jpeg\",\n                    \"http://helpclub.local/u/f/a/c/8/89e0a-0d46-e1c3-5f57-0300bbda021b-S.jpeg\"\n             ],\n         },\n       \"tag\": [\n             \"ЛЕТО\",\n             \"МОРЕ\",\n             \"ПЕСОК\"\n          ],\n       \"profile\": {\n             \"username\": \"Рустам Муртазин\",\n             \"image\": \"http://helpclub.local/u/f/0/1/d/59784-318f-58e7-4e8b-c20444d6cd87-FHD.jpg\",\n             \"src\": \"user/profile/3/\"\n         },\n       \"actions\": {\n             \"share_src\": \"http://helpclub.local/ru/api/share/\",\n             \"complain_src\": \"event/complain/1/\",\n             \"delete_src\": \"event/delete/1/\",\n             \"edit_src\": \"event/edit/1/\",\n         }\n     }\n}",
          "type": "json"
        }
      ]
    }
  },
  {
    "type": "get",
    "url": ":sf_culture/api/event/delete/:event_id/",
    "title": "Delete event",
    "name": "Delete_event",
    "group": "Event",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "event_id",
            "description": "<p>Event id</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/event/actions/actions.class.php",
    "groupTitle": "Event",
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Event not found:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"event_not_found\",\n  \"message\": \"Событие не найдено\",\n}",
          "type": "json"
        }
      ]
    }
  },
  {
    "type": "get",
    "url": ":sf_culture/api/event/:event_id/comment/",
    "title": "GetComments",
    "name": "GetComments",
    "group": "Event",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "event_id",
            "description": "<p>Event id</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "data",
            "description": "<p>Events data</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.body",
            "description": "<p>Event body</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.time",
            "description": "<p>Time since creation</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.image",
            "description": "<p>Image src. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.add_src",
            "description": "<p>Src add comment</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "data.profile",
            "description": "<p>Author</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.profile.username",
            "description": "<p>Author username</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.profile.image",
            "description": "<p>Author image. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.profile.src",
            "description": "<p>Link author profile</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\",\n  \"data\": [\n     {\n       \"body\": \"Первый, вот!\",\n       \"time\": \"4 часа назад\",\n       \"image\": \"http://helpclub.local/u/f/4/1/6/15ac0-a981-1580-632f-a379e9d7e140-FHD.jpeg\",\n       \"profile\": {\n         \"username\": \"Mister Proper\",\n         \"image\": \"http://helpclub.local/u/f/0/1/d/59784-318f-58e7-4e8b-c20444d6cd87-FHD.jpg\",\n         \"src\": \"http://helpclub.local/ru/api/user/profile/2/\"\n         }\n     }\n ],\n \"add_src\": \"event/comment-add/3/\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/event/actions/actions.class.php",
    "groupTitle": "Event"
  },
  {
    "type": "get",
    "url": ":sf_culture/api/event/:id/?lat=54.790135&lon=56.051799",
    "title": "GetEvent",
    "name": "GetEvent",
    "group": "Event",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>Event id</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "lat",
            "description": "<p>Latitude (optional)</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "lon",
            "description": "<p>Longitude (optional)</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/event/actions/actions.class.php",
    "groupTitle": "Event",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "data",
            "description": "<p>Event data</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.body",
            "description": "<p>Event body</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.image",
            "description": "<p>Event image. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.distance_location",
            "description": "<p>The distance to the event</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.time",
            "description": "<p>Time since creation</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "data.comment",
            "description": "<p>Event comments info</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.comment.count",
            "description": "<p>Event comment text. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.comment.list_src",
            "description": "<p>Event comments src</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.comment.add_src",
            "description": "<p>Event comment add src</p>"
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "data.comment.images",
            "description": "<p>Event comment images. Array</p>"
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "data.tag",
            "description": "<p>Tags</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "allowedValues": [
              "\"help\"",
              "\"event\""
            ],
            "optional": false,
            "field": "data.type",
            "description": "<p>Type</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "data.profile",
            "description": "<p>Author</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.profile.username",
            "description": "<p>Author username</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.profile.image",
            "description": "<p>Author image. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.profile.src",
            "description": "<p>Link author profile</p>"
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "data.actions",
            "description": "<p>Actions</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.actions.share_src",
            "description": "<p>Share src</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.actions.complain_src",
            "description": "<p>Complain src</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.actions.delete_src",
            "description": "<p>Src for delete event. if this user be author event return src, else null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.actions.edit_src",
            "description": "<p>Src for edit event. if this user be author event return src, else null</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\",\n  \"data\":\n     {\n       \"body\": \"Мега событие в Уфе\",\n       \"image\": \"http://helpclub.local/u/f/0/1/d/59784-318f-58e7-4e8b-c20444d6cd87-FHD.jpg\",\n       \"distance_location\": \"243 М\",\n       \"time\": \"4 часа назад\",\n       \"comment\": {\n             \"count\": \"2 комментария\",\n             \"list_src\": \"event/2/comment/\",\n             \"add_src\": \"event/2/comment-add/\",\n             \"images\": [\n                    \"http://helpclub.local/u/f/a/c/8/89e0a-0d46-e1c3-5f57-0300bbda021a-S.jpeg\",\n                    \"http://helpclub.local/u/f/a/c/8/89e0a-0d46-e1c3-5f57-0300bbda021b-S.jpeg\"\n             ],\n         },\n       \"tag\": [\n             \"ЛЕТО\",\n             \"МОРЕ\",\n             \"ПЕСОК\"\n          ],\n       \"profile\": {\n             \"username\": \"Рустам Муртазин\",\n             \"image\": \"http://helpclub.local/u/f/0/1/d/59784-318f-58e7-4e8b-c20444d6cd87-FHD.jpg\",\n             \"src\": \"user/profile/3/\"\n         },\n       \"actions\": {\n             \"share_src\": \"http://helpclub.local/ru/api/share/\",\n             \"complain_src\": \"event/complain/1/\",\n             \"delete_src\": \"event/delete/1/\",\n             \"edit_src\": \"event/edit/1/\",\n         }\n     }\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Event not found:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"event_not_found\",\n  \"message\": \"Событие не найдено\",\n}",
          "type": "json"
        }
      ]
    }
  },
  {
    "type": "get",
    "url": ":sf_culture/api/event/edit/:event_id/",
    "title": "Get edit",
    "name": "Get_edit",
    "group": "Event",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "event_id",
            "description": "<p>Event id</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "data",
            "description": "<p>Event data</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "data.id",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "data.invite",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "data.invite.users",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "data.invite.teams",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "data.invite.contacts",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.body",
            "description": "<p>Event body</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.image",
            "description": "<p>Event image. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "allowedValues": [
              "\"help\"",
              "\"event\""
            ],
            "optional": false,
            "field": "data.type",
            "description": "<p>Type</p>"
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "data.tag",
            "description": "<p>Tags</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "data.distance",
            "description": "<p>The distance to the event</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.place",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.lat",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.lon",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "data.actual_min",
            "description": ""
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\",\n  \"data\":\n     {\n       \"id\": 2,\n       \"invite\": {\"users\": [7,8], \"teams\": [1,2]},\n       \"body\": \"Что-то интересное\",\n       \"image\": \"http://helpclub.local/u/f/3/a/7/31154-6f7d-9995-5309-7ac7bf09c6d4-FHD.jpg\",\n       \"type\": \"event\",\n       \"distance\": 999,\n       \"place\": \"Уфимское шоссе, 39, Уфа, Республика Башкортостан, Россия\",\n       \"lat\": 54.78846300000000,\n       \"lon\": 54.78846300000000,\n       \"actual_min\": 9\n     }\n\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/event/actions/actions.class.php",
    "groupTitle": "Event",
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Event not found:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"event_not_found\",\n  \"message\": \"Событие не найдено\",\n}",
          "type": "json"
        }
      ]
    }
  },
  {
    "type": "get",
    "url": ":sf_culture/api/event/list/:type/?lat=54.790135&lon=56.051799",
    "title": "Get events list",
    "name": "Get_events_list",
    "group": "Event",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "lat",
            "description": "<p>Latitude</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "lon",
            "description": "<p>Longitude</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"help\"",
              "\"event\"",
              "\"promo\"",
              "\"all\""
            ],
            "optional": false,
            "field": "type",
            "description": "<p>Event type. &quot;all&quot; for out all events</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Need location:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"need_location\",\n  \"message\": \"Не определено текущее местоположение\",\n}",
          "type": "json"
        }
      ],
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/event/actions/actions.class.php",
    "groupTitle": "Event",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "data",
            "description": "<p>Events from user</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.body",
            "description": "<p>Event body</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.image",
            "description": "<p>Event image. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.distance_location",
            "description": "<p>The distance to the event</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.time",
            "description": "<p>Time since creation</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "data.comment",
            "description": "<p>Event comments info</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.comment.count",
            "description": "<p>Event comment text. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.comment.list_src",
            "description": "<p>Event comments src</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.comment.add_src",
            "description": "<p>Event comment add src</p>"
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "data.comment.images",
            "description": "<p>Event comment images. Array</p>"
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "data.tag",
            "description": "<p>Tags</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "allowedValues": [
              "\"help\"",
              "\"event\"",
              "\"promo\""
            ],
            "optional": false,
            "field": "data.type",
            "description": "<p>Type</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "data.profile",
            "description": "<p>Author profile</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.profile.username",
            "description": "<p>Author username</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.profile.image",
            "description": "<p>Author image. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.profile.src",
            "description": "<p>Link author profile</p>"
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "data.actions",
            "description": "<p>Actions</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.actions.share_src",
            "description": "<p>Share src</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.actions.complain_src",
            "description": "<p>Complain src</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.actions.delete_src",
            "description": "<p>Src for delete event. if this user be author event return src, else null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.actions.edit_src",
            "description": "<p>Src for edit event. if this user be author event return src, else null</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\",\n  \"data\": [\n     {\n       \"body\": \"Что-то интересное\",\n       \"image\": \"http://helpclub.local/u/f/0/1/d/59784-318f-58e7-4e8b-c20444d6cd87-FHD.jpg\",\n       \"distance_location\": \"243 М\",\n       \"time\": \"4 часа назад\",\n       \"comment\": {\n             \"count\": \"2 комментария\",\n             \"list_src\": \"event/comment/3/\",\n             \"add_src\": \"event/comment-add/3/\",\n             \"images\": [\n                    \"http://helpclub.local/u/f/a/c/8/89e0a-0d46-e1c3-5f57-0300bbda021a-S.jpeg\",\n                    \"http://helpclub.local/u/f/a/c/8/89e0a-0d46-e1c3-5f57-0300bbda021b-S.jpeg\"\n             ],\n         },\n       \"type\": \"help\",\n       \"tag\": [\n             \"ЛЕТО\",\n             \"МОРЕ\",\n             \"ПЕСОК\"\n          ],\n       \"profile\": {\n         \"username\": \"Рустам Муртазин\",\n         \"image\": \"http://helpclub.local/u/f/0/1/d/59784-318f-58e7-4e8b-c20444d6cd87-FHD.jpg\",\n         \"src\": \"user/profile/3/\"\n         },\n       \"actions\": {\n             \"share_src\": \"http://helpclub.local/ru/api/share/\",\n             \"complain_src\": \"event/complain/1/\",\n             \"delete_src\": \"event/delete/1/\",\n             \"edit_src\": \"event/edit/1/\",\n         }\n     }\n   ]\n}",
          "type": "json"
        }
      ]
    }
  },
  {
    "type": "get",
    "url": ":sf_culture/api/event/map/:type/?lat=54.790135&lon=56.051799",
    "title": "Get events map",
    "name": "Get_events_map",
    "group": "Event",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "lat",
            "description": "<p>Latitude</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "lon",
            "description": "<p>Longitude</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"help\"",
              "\"event\"",
              "\"promo\"",
              "\"all\""
            ],
            "optional": false,
            "field": "type",
            "description": "<p>Event type. &quot;all&quot; for out all events</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "data",
            "description": "<p>Event data</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "data.lat",
            "description": "<p>Latitude</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "data.lon",
            "description": "<p>Longitude</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "allowedValues": [
              "\"help\"",
              "\"event\"",
              "\"promo\""
            ],
            "optional": false,
            "field": "data.type",
            "description": "<p>Event type</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.src",
            "description": "<p>Src for detail</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\",\n  \"data\": [\n     {\n       \"lat\": 54.790135,\n       \"lon\": 56.051799,\n       \"type\": \"help\",\n       \"src\": \"http://helpclub.local/ru/api/event/1/\"\n     }\n ]\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "Need location:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"need_location\",\n  \"message\": \"Не определено текущее местоположение\",\n}",
          "type": "json"
        }
      ],
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/event/actions/actions.class.php",
    "groupTitle": "Event"
  },
  {
    "type": "post",
    "url": ":sf_culture/api/event/invite/:event_id/",
    "title": "Invite edit",
    "version": "2.0.0",
    "name": "Invite_edit",
    "group": "Event",
    "description": "<p>Returns a list of groups and users for event</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "event_id",
            "description": "<p>Event id</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          },
          {
            "group": "Parameter",
            "type": "Object[]",
            "optional": false,
            "field": "contacts",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contacts.name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String[]",
            "optional": false,
            "field": "contacts.phones",
            "description": ""
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "\"contacts\": [\n     {\"name\": \"Паша\", \"phones\": [\"79374954221\",\"89263214565\"]},\n     {\"name\": \"Маша\", \"phones\": [\"79374954225\"]}\n]",
          "type": "json"
        }
      ]
    },
    "filename": "/www/bonetitto.local/apps/app/modules/event/actions/actions.class.php",
    "groupTitle": "Event",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "data",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "data.id",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.name",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.image",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.images",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "allowedValues": [
              "\"teams\"",
              "\"users\"",
              "\"contacts\""
            ],
            "optional": false,
            "field": "data.type",
            "description": ""
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\",\n  \"data\": [\n     {\"id\": 1, \"name\": \"Друганы\", \"images\": [\"http://helpclub.local/u/f/5/5/f/72b61-0b03-bd87-48d4-417246f58b67-FHD.jpg\", \"http://helpclub.local/u/f/5/5/f/72b61-0b03-bd87-48d4-417246f58b67-FHD.jpg\"], \"type\": \"teams\"},\n     {\"id\": 2, \"name\": \"Маша\", \"image\": \"http://helpclub.local/u/f/5/5/f/72b61-0b03-bd87-48d4-417246f58b67-FHD.jpg\", \"type\": \"users\"},\n     {\"id\": 50, \"name\": \"Виктор\", \"image\": \"http://helpclub.local/u/f/5/5/f/72b61-0b03-bd87-48d4-417246f58b67-FHD.jpg\", \"type\": \"contacts\"},\n  ]",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Event not found:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"event_not_found\",\n  \"message\": \"Событие не найдено\",\n}",
          "type": "json"
        }
      ]
    }
  },
  {
    "type": "post",
    "url": ":sf_culture/api/event/invite/:event_id/",
    "title": "Invite edit",
    "version": "0.0.0",
    "name": "Invite_edit",
    "group": "Event",
    "description": "<p>Returns a list of groups and users for event</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "event_id",
            "description": "<p>Event id</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          },
          {
            "group": "Parameter",
            "type": "Object[]",
            "optional": false,
            "field": "contacts",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contacts.name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String[]",
            "optional": false,
            "field": "contacts.phones",
            "description": ""
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "\"contacts\": [\n     {\"name\": \"Паша\", \"phones\": [\"79374954221\",\"89263214565\"]},\n     {\"name\": \"Маша\", \"phones\": [\"79374954225\"]}\n]",
          "type": "json"
        }
      ]
    },
    "filename": "/www/bonetitto.local/apps/app/modules/event/actions/actions.class.php",
    "groupTitle": "Event",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "data",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "data.teams",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "data.teams.id",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.teams.title",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "data.users",
            "description": "<p>The users is registered in the application</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "data.users.id",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.users.name",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.users.image",
            "description": "<p>Src image</p>"
          },
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "data.contacts",
            "description": "<p>The users is not registered in the application</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.contacts.id",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.contacts.name",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "text",
            "description": "<p>Groups and users selected in the event</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\",\n  \"data\": {\n     \"teams\": [\n         {\"id\": 1, \"title\": \"Друганы\"},\n         {\"id\": 5, \"title\": \"Девчонки\"}\n     ],\n     \"users\": [\n         {\"id\": 5, \"name\": \"Вася\", \"image\": null},\n         {\"id\": 6, \"name\": \"Пётр\", \"image\": \"http://helpclub.local/u/f/5/5/f/72b61-0b03-bd87-48d4-417246f58b67-FHD.jpg\"},\n         {\"id\": 7, \"name\": \"Лиза\", \"image\": \"http://helpclub.local/u/f/5/5/f/72b61-0b03-bd87-48d4-417246f58b67-FHD.jpg\"}\n     ],\n     \"contacts\": [\n         {\"id\": 1, \"name\": \"Вася\"},\n         {\"id\": 2, \"name\": \"Пётр\"},\n         {\"id\": 3, \"name\": \"Лиза\"}\n     ],\n     \"text\": \"Друганы, Вася\"\n }\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Event not found:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"event_not_found\",\n  \"message\": \"Событие не найдено\",\n}",
          "type": "json"
        }
      ]
    }
  },
  {
    "type": "post",
    "url": ":sf_culture/api/event/invite/",
    "title": "Invite new",
    "version": "2.0.0",
    "name": "Invite_new",
    "group": "Event",
    "description": "<p>Returns a list of groups and users</p>",
    "filename": "/www/bonetitto.local/apps/app/modules/event/actions/actions.class.php",
    "groupTitle": "Event",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          },
          {
            "group": "Parameter",
            "type": "Object[]",
            "optional": false,
            "field": "contacts",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contacts.name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String[]",
            "optional": false,
            "field": "contacts.phones",
            "description": ""
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "\"contacts\": [\n     {\"name\": \"Паша\", \"phones\": [\"79374954221\",\"89263214565\"]},\n     {\"name\": \"Маша\", \"phones\": [\"79374954225\"]}\n]",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "data",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "data.id",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.name",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.image",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.images",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "allowedValues": [
              "\"teams\"",
              "\"users\"",
              "\"contacts\""
            ],
            "optional": false,
            "field": "data.type",
            "description": ""
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\",\n  \"data\": [\n     {\"id\": 1, \"name\": \"Друганы\", \"images\": [\"http://helpclub.local/u/f/5/5/f/72b61-0b03-bd87-48d4-417246f58b67-FHD.jpg\", \"http://helpclub.local/u/f/5/5/f/72b61-0b03-bd87-48d4-417246f58b67-FHD.jpg\"], \"type\": \"teams\"},\n     {\"id\": 2, \"name\": \"Маша\", \"image\": \"http://helpclub.local/u/f/5/5/f/72b61-0b03-bd87-48d4-417246f58b67-FHD.jpg\", \"type\": \"users\"},\n     {\"id\": 50, \"name\": \"Виктор\", \"image\": \"http://helpclub.local/u/f/5/5/f/72b61-0b03-bd87-48d4-417246f58b67-FHD.jpg\", \"type\": \"contacts\"},\n  ]",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Event not found:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"event_not_found\",\n  \"message\": \"Событие не найдено\",\n}",
          "type": "json"
        }
      ]
    }
  },
  {
    "type": "post",
    "url": ":sf_culture/api/event/invite/",
    "title": "Invite new",
    "version": "0.0.0",
    "name": "Invite_new",
    "group": "Event",
    "description": "<p>Returns a list of groups and users</p>",
    "filename": "/www/bonetitto.local/apps/app/modules/event/actions/actions.class.php",
    "groupTitle": "Event",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          },
          {
            "group": "Parameter",
            "type": "Object[]",
            "optional": false,
            "field": "contacts",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contacts.name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String[]",
            "optional": false,
            "field": "contacts.phones",
            "description": ""
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "\"contacts\": [\n     {\"name\": \"Паша\", \"phones\": [\"79374954221\",\"89263214565\"]},\n     {\"name\": \"Маша\", \"phones\": [\"79374954225\"]}\n]",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "data",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "data.teams",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "data.teams.id",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.teams.title",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "data.users",
            "description": "<p>The users is registered in the application</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "data.users.id",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.users.name",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.users.image",
            "description": "<p>Src image</p>"
          },
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "data.contacts",
            "description": "<p>The users is not registered in the application</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.contacts.id",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.contacts.name",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "text",
            "description": "<p>Groups and users selected in the event</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\",\n  \"data\": {\n     \"teams\": [\n         {\"id\": 1, \"title\": \"Друганы\"},\n         {\"id\": 5, \"title\": \"Девчонки\"}\n     ],\n     \"users\": [\n         {\"id\": 5, \"name\": \"Вася\", \"image\": null},\n         {\"id\": 6, \"name\": \"Пётр\", \"image\": \"http://helpclub.local/u/f/5/5/f/72b61-0b03-bd87-48d4-417246f58b67-FHD.jpg\"},\n         {\"id\": 7, \"name\": \"Лиза\", \"image\": \"http://helpclub.local/u/f/5/5/f/72b61-0b03-bd87-48d4-417246f58b67-FHD.jpg\"}\n     ],\n     \"contacts\": [\n         {\"id\": 1, \"name\": \"Вася\"},\n         {\"id\": 2, \"name\": \"Пётр\"},\n         {\"id\": 3, \"name\": \"Лиза\"}\n     ],\n     \"text\": \"Друганы, Вася\"\n }\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Event not found:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"event_not_found\",\n  \"message\": \"Событие не найдено\",\n}",
          "type": "json"
        }
      ]
    }
  },
  {
    "type": "post",
    "url": ":sf_culture/api/event/edit/:event_id/",
    "title": "Set edit",
    "name": "Set_edit",
    "group": "Event",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "event_id",
            "description": "<p>Event id</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "size": "1..10000",
            "optional": false,
            "field": "body",
            "description": "<p>Message</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "place",
            "description": "<p>Place name. Required if empty field &quot;invite&quot;. Example: &quot;Уфимское шоссе, 39, Уфа, Республика Башкортостан, Россия&quot;</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "lat",
            "description": "<p>Latitude. Required if empty field &quot;invite&quot;</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "lon",
            "description": "<p>Longitude. Required if empty field &quot;invite&quot;</p>"
          },
          {
            "group": "Parameter",
            "type": "Object[]",
            "optional": false,
            "field": "invite",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String[]",
            "optional": false,
            "field": "invite.users",
            "description": "<p>User ids</p>"
          },
          {
            "group": "Parameter",
            "type": "String[]",
            "optional": false,
            "field": "invite.teams",
            "description": "<p>Team ids</p>"
          },
          {
            "group": "Parameter",
            "type": "String[]",
            "optional": false,
            "field": "invite.contacts",
            "description": "<p>Contact ids</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "actual_min",
            "description": "<p>Available time in MIN</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "distance",
            "description": "<p>Available distance in KM</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "tag",
            "description": "<p>Tags. Example: ice,green,red</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "allowedValues": [
              "\"event\"",
              "\"help\""
            ],
            "optional": false,
            "field": "type",
            "description": "<p>Type</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "image",
            "description": "<p>Base64 image</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Form invalid:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"form_invalid\",\n  \"message\": \"Сообщение: Обязательное поле\"\n}height=\"150\"",
          "type": "json"
        },
        {
          "title": "Event not found:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"event_not_found\",\n  \"message\": \"Событие не найдено\",\n}",
          "type": "json"
        }
      ],
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/event/actions/actions.class.php",
    "groupTitle": "Event",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "data",
            "description": "<p>Event data</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.body",
            "description": "<p>Event body</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.image",
            "description": "<p>Event image. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.distance_location",
            "description": "<p>The distance to the event</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.time",
            "description": "<p>Time since creation</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "data.comment",
            "description": "<p>Event comments info</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.comment.count",
            "description": "<p>Event comment text. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.comment.list_src",
            "description": "<p>Event comments src</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.comment.add_src",
            "description": "<p>Event comment add src</p>"
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "data.comment.images",
            "description": "<p>Event comment images. Array</p>"
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "data.tag",
            "description": "<p>Tags</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "allowedValues": [
              "\"help\"",
              "\"event\""
            ],
            "optional": false,
            "field": "data.type",
            "description": "<p>Type</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "data.profile",
            "description": "<p>Author</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.profile.username",
            "description": "<p>Author username</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.profile.image",
            "description": "<p>Author image. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.profile.src",
            "description": "<p>Link author profile</p>"
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "data.actions",
            "description": "<p>Actions</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.actions.share_src",
            "description": "<p>Share src</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.actions.complain_src",
            "description": "<p>Complain src</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.actions.delete_src",
            "description": "<p>Src for delete event. if this user be author event return src, else null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.actions.edit_src",
            "description": "<p>Src for edit event. if this user be author event return src, else null</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\",\n  \"data\":\n     {\n       \"body\": \"Мега событие в Уфе\",\n       \"image\": \"http://helpclub.local/u/f/0/1/d/59784-318f-58e7-4e8b-c20444d6cd87-FHD.jpg\",\n       \"distance_location\": \"243 М\",\n       \"time\": \"4 часа назад\",\n       \"comment\": {\n             \"count\": \"2 комментария\",\n             \"list_src\": \"event/2/comment/\",\n             \"add_src\": \"event/2/comment-add/\",\n             \"images\": [\n                    \"http://helpclub.local/u/f/a/c/8/89e0a-0d46-e1c3-5f57-0300bbda021a-S.jpeg\",\n                    \"http://helpclub.local/u/f/a/c/8/89e0a-0d46-e1c3-5f57-0300bbda021b-S.jpeg\"\n             ],\n         },\n       \"tag\": [\n             \"ЛЕТО\",\n             \"МОРЕ\",\n             \"ПЕСОК\"\n          ],\n       \"profile\": {\n             \"username\": \"Рустам Муртазин\",\n             \"image\": \"http://helpclub.local/u/f/0/1/d/59784-318f-58e7-4e8b-c20444d6cd87-FHD.jpg\",\n             \"src\": \"user/profile/3/\"\n         },\n       \"actions\": {\n             \"share_src\": \"http://helpclub.local/ru/api/share/\",\n             \"complain_src\": \"event/complain/1/\",\n             \"delete_src\": \"event/delete/1/\",\n             \"edit_src\": \"event/edit/1/\",\n         }\n     }\n}",
          "type": "json"
        }
      ]
    }
  },
  {
    "type": "get",
    "url": ":sf_culture/api/help/list/",
    "title": "List",
    "name": "List",
    "group": "Help",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n<html style=\"background-color: #fff;color: #000;\">\n<head><meta name=\"viewport\" content=\"device-width, initial-scale=1, user-scalable=no\"></head>\n<body style=\"font-size:100%;line-height:120%;font-family:Arial;padding:4.2vw;margin:0;\"><div><b>Как дела?</b></div><br><div>Хорошо</div><br><br><div><b>Какие новости?</b></div><br><div>По старому</div><br><br></body>\n</html>",
          "type": "html"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/help/actions/actions.class.php",
    "groupTitle": "Help",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          }
        ]
      }
    }
  },
  {
    "type": "get",
    "url": ":sf_culture/api/page/show/user-agreement/",
    "title": "UserAgreement",
    "name": "UserAgreement",
    "group": "Page",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n<html style=\"background-color: #fff;color: #000;\">\n<head><meta name=\"viewport\" content=\"device-width, initial-scale=1, user-scalable=no\"></head>\n<body style=\"font-size:100%;line-height:120%;font-family:Arial;padding:4.2vw;margin:0;\"><div>Текст пользовательского соглашения<br />\nСлед строка<br />\n<br />\nи ещё через одну</div></body>\n</html>",
          "type": "html"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/page/actions/actions.class.php",
    "groupTitle": "Page",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          }
        ]
      }
    }
  },
  {
    "type": "post",
    "url": ":sf_culture/api/team/add/",
    "title": "Add",
    "name": "Add",
    "group": "Team",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>Add team id</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\",\n  \"id\": 5\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/team/actions/actions.class.php",
    "groupTitle": "Team",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "size": "1..255",
            "optional": false,
            "field": "title",
            "description": "<p>Team name</p>"
          },
          {
            "group": "Parameter",
            "type": "String[]",
            "optional": false,
            "field": "users",
            "description": "<p>Users ids</p>"
          },
          {
            "group": "Parameter",
            "type": "String[]",
            "optional": false,
            "field": "contacts",
            "description": "<p>Contacts ids</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n  \"title\": \"Друганы\",\n  \"users\": [5,7,8],\n  \"contacts\": [5,7,8]\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Form invalid:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"form_invalid\",\n  \"message\": \"Некорректные данные\",\n}",
          "type": "json"
        }
      ]
    }
  },
  {
    "type": "get",
    "url": ":sf_culture/api/team/delete/:id/",
    "title": "Delete",
    "name": "Delete",
    "group": "Team",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>Team id</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/team/actions/actions.class.php",
    "groupTitle": "Team",
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Team not found:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"team_not_found\",\n  \"message\": \"Группа не найдена\",\n}",
          "type": "json"
        }
      ]
    }
  },
  {
    "type": "get",
    "url": ":sf_culture/api/team/edit/:id/",
    "title": "Get edit",
    "name": "Get_edit",
    "group": "Team",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>Team id</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "data",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "data.id",
            "description": "<p>Team id</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.title",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "data.users",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "data.contacts",
            "description": ""
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\",\n  \"data\": {\n     \"id\": 5,\n     \"title\": \"Девчонки\",\n     \"users\": [5,7,8],\n     \"contacts\": [5,7,8]\n     }\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/team/actions/actions.class.php",
    "groupTitle": "Team",
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Team not found:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"team_not_found\",\n  \"message\": \"Группа не найдена\",\n}",
          "type": "json"
        }
      ]
    }
  },
  {
    "type": "post",
    "url": ":sf_culture/api/team/edit/:id/",
    "title": "Set edit",
    "name": "Set_edit",
    "group": "Team",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>Team id</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "size": "1..255",
            "optional": false,
            "field": "title",
            "description": "<p>Team name</p>"
          },
          {
            "group": "Parameter",
            "type": "String[]",
            "optional": false,
            "field": "users",
            "description": "<p>Users ids</p>"
          },
          {
            "group": "Parameter",
            "type": "String[]",
            "optional": false,
            "field": "contacts",
            "description": "<p>Contacts ids</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n  \"title\": \"Друганы\",\n  \"users\": [5,7,8],\n  \"contacts\": [5,7,8]\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>Add team id</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\",\n  \"id\": 5\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/team/actions/actions.class.php",
    "groupTitle": "Team",
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Team not found:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"team_not_found\",\n  \"message\": \"Группа не найдена\",\n}",
          "type": "json"
        },
        {
          "title": "Form invalid:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"form_invalid\",\n  \"message\": \"Некорректные данные\",\n}",
          "type": "json"
        }
      ]
    }
  },
  {
    "type": "get",
    "url": ":sf_culture/api/user/notice/",
    "title": "GetNotice",
    "name": "GetNotice",
    "group": "User",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "data",
            "description": "<p>Notice data</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "data.id",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "Boolean",
            "optional": false,
            "field": "data.is_look",
            "description": "<p>Notice looked</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.body",
            "description": "<p>Body</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.time",
            "description": "<p>Time since creation</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "allowedValues": [
              "\"comment\"",
              "\"user\"",
              "\"event\"",
              "\"promo\"",
              "\"help\""
            ],
            "optional": false,
            "field": "data.type",
            "description": "<p>Type</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "allowedValues": [
              "\"event\"",
              "\"promo\"",
              "\"help\""
            ],
            "optional": false,
            "field": "data.type_color",
            "description": "<p>Type color</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.src",
            "description": "<p>Url for type</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.image",
            "description": "<p>Image url</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\",\n  \"data\": [\n     {\n       \"id\": 1,\n       \"is_look\": true,\n       \"body\": \"Mister Proper оставил комментарий к событию « Команда у нас состоит из: 9...», 30 апреля\",\n       \"time\": \"4 часа назад\",\n       \"type\": \"comment\",\n       \"type_color\": \"promo\",\n       \"image\": \"http://helpclub.local/u/f/4/c/0/47ae3-31b4-9d33-6ae4-50cd633171d1-S.jpg\",\n       \"src\": \"event/2/comment/\"\n     }\n ]\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/user/actions/actions.class.php",
    "groupTitle": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          }
        ]
      }
    }
  },
  {
    "type": "get",
    "url": ":sf_culture/api/user/profile/",
    "title": "GetProfile",
    "name": "GetProfile",
    "group": "User",
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "type": "Object[]",
            "optional": false,
            "field": "countries",
            "description": "<p>Countries for registration</p>"
          },
          {
            "group": "Error 4xx",
            "type": "String",
            "optional": false,
            "field": "countries.title",
            "description": "<p>Name country for current language</p>"
          },
          {
            "group": "Error 4xx",
            "type": "String",
            "optional": false,
            "field": "countries.code",
            "description": ""
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"need_auth\",\n  \"message\": \"Требуется авторизация\",\n  \"base\": {\n      \"main_desc\": {\"ru\": \"Мы помогаем помогать...\", \"en\": \"We help to help...\"},\n      \"share_src\": \"http://helpclub.local/ru/api/share/\",\n     },\n \"countries\": [\n     {\"title\": \"Российская федерация\", \"code\": \"7\"},\n     {\"title\": \"Армения\", \"code\": \"374\"}\n ]\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/user/actions/actions.class.php",
    "groupTitle": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "profile",
            "description": "<p>User profile information</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "size": "1..255",
            "optional": false,
            "field": "profile.iname",
            "description": "<p>User name</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "size": "1..255",
            "optional": false,
            "field": "profile.fname",
            "description": "<p>User surname</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "profile.image",
            "description": "<p>User image base64</p>"
          },
          {
            "group": "Success 200",
            "type": "Boolean",
            "optional": false,
            "field": "profile.is_notice_help",
            "description": "<p>Notice help</p>"
          },
          {
            "group": "Success 200",
            "type": "Boolean",
            "optional": false,
            "field": "profile.is_notice_event",
            "description": "<p>Notice event</p>"
          },
          {
            "group": "Success 200",
            "type": "Boolean",
            "optional": false,
            "field": "profile.is_notice_help_friend",
            "description": "<p>Notice help friend</p>"
          },
          {
            "group": "Success 200",
            "type": "Boolean",
            "optional": false,
            "field": "profile.is_notice_event_friend",
            "description": "<p>Notice event friend</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "profile.lang",
            "description": "<p>Language</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "profile.lat",
            "description": "<p>Latitude</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "profile.lon",
            "description": "<p>Longitude</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "profile.place",
            "description": "<p>Place name</p>"
          },
          {
            "group": "Success 200",
            "type": "Boolean",
            "optional": false,
            "field": "profile.pin",
            "description": "<p>Pin is set</p>"
          },
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "events",
            "description": "<p>Events from user</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.body",
            "description": "<p>Event body</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.image",
            "description": "<p>Event image. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.distance_location",
            "description": "<p>The distance to the event</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.time",
            "description": "<p>Time since creation</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "data.comment",
            "description": "<p>Event comments info</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.comment.count",
            "description": "<p>Event comment text. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.comment.list_src",
            "description": "<p>Event comments src</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.comment.add_src",
            "description": "<p>Event comment add src</p>"
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "data.comment.images",
            "description": "<p>Event comment images. Array</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.tag",
            "description": "<p>Tags. Array or null</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "allowedValues": [
              "\"help\"",
              "\"event\""
            ],
            "optional": false,
            "field": "events.type",
            "description": "<p>Type</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "events.profile",
            "description": "<p>Author profile</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.profile.username",
            "description": "<p>Author username</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.profile.image",
            "description": "<p>Author image. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.profile.src",
            "description": "<p>Link author profile</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "base",
            "description": "<p>Base info. Does not depend on the &quot;state&quot; field. Is always displayed</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "base.main_desc",
            "description": "<p>Description on the start screen</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "base.main_desc.ru",
            "description": "<p>Description on the start screen for Russian lang</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "base.main_desc.en",
            "description": "<p>Description on the start screen for English lang</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "base.event_actual_max",
            "description": "<p>The most relevant time in minutes for &quot;event&quot;</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "base.promo_color",
            "description": "<p>Color for promo event</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "base.AppleAppID",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "base.GooglePackageName",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "base.event_distance_max",
            "description": "<p>Maximum distance in km for &quot;event&quot;</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "base.email",
            "description": "<p>Email for feedback</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "base.assess_count",
            "description": "<p>Number of actions to evaluate</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "base.share_src",
            "description": "<p>Share link. Redirect in Google Play or App Store</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "base.notice_count",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "events.actions",
            "description": "<p>Actions</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.actions.share_src",
            "description": "<p>Share src</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.actions.complain_src",
            "description": "<p>Complain src</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.actions.delete_src",
            "description": "<p>Src for delete event. if this user be author event return src, else null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.actions.edit_src",
            "description": "<p>Src for edit event. if this user be author event return src, else null</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\",\n  \"profile\": {\n     \"iname\": \"Rustam\",\n     \"fname\": \"Murtazin\",\n     \"phone\": \"79374954221\",\n     \"image\": \"http://helpclub.local/u/f/4/c/0/47ae3-31b4-9d33-6ae4-50cd633171d1-S.jpg\",\n     \"is_notice_help\": true,\n     \"is_notice_event\": true,\n     \"is_notice_help_friend\": true,\n     \"is_notice_event_friend\": true,\n     \"lang\": \"ru\",\n     \"lat\": \"54.789426\",\n     \"lon\": \"56.052835\",\n     \"place\": \"улица Чайковского, 9, Уфа, Республика Башкортостан, Россия\",\n     \"pin\": true\n   },\n  \"events\": [\n     {\n       \"body\": \"Что-то интересное\",\n       \"image\": \"http://helpclub.local/u/f/0/1/d/59784-318f-58e7-4e8b-c20444d6cd87-FHD.jpg\",\n       \"distance_location\": \"243 М\",\n       \"time\": \"4 часа назад\",\n       \"comment\": {\n             \"count\": \"2 комментария\",\n             \"list_src\": \"event/comment/3/\",\n             \"add_src\": \"event/comment-add/3/\",\n             \"images\": [\n                    \"http://helpclub.local/u/f/a/c/8/89e0a-0d46-e1c3-5f57-0300bbda021a-S.jpeg\",\n                    \"http://helpclub.local/u/f/a/c/8/89e0a-0d46-e1c3-5f57-0300bbda021b-S.jpeg\"\n             ],\n         },\n       \"type\": \"help\",\n       \"tag\": [\n             \"ЛЕТО\",\n             \"МОРЕ\",\n             \"ПЕСОК\"\n          ],\n       \"profile\": {\n         \"username\": \"Рустам Муртазин\",\n         \"image\": \"http://helpclub.local/u/f/0/1/d/59784-318f-58e7-4e8b-c20444d6cd87-FHD.jpg\",\n         \"src\": \"user/profile/3/\"\n         },\n       \"actions\": {\n             \"share_src\": \"http://helpclub.local/ru/api/share/\",\n             \"complain_src\": \"event/complain/1/\",\n             \"delete_src\": \"event/delete/1/\",\n             \"edit_src\": \"event/edit/1/\",\n         }\n     }\n   ],\n \"base\": {\n      \"main_desc\": {\"ru\": \"Мы помогаем помогать...\", \"en\": \"We help to help...\"},\n      \"promo_color\": \"#ffffff\",\n      \"event_actual_max\": 100,\n      \"event_distance_max\": 100,\n      \"email\": \"helpclub1@ya.ru\",\n      \"assess_count\": 500,\n      \"share_src\": \"http://helpclub.local/ru/api/share/\",\n      \"AppleAppID\": \"123\",\n      \"GooglePackageName\": \"name\",\n     \"notice_count\": 5,\n     }\n}",
          "type": "json"
        }
      ]
    }
  },
  {
    "type": "get",
    "url": ":sf_culture/api/user/profile/:id/?lat=54.790135&lon=56.051799",
    "title": "GetProfile foreign",
    "name": "GetProfile_foreign",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>User id</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "lat",
            "description": "<p>Latitude (optional)</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "lon",
            "description": "<p>Longitude (optional)</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "profile",
            "description": "<p>User profile information</p>"
          },
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "events",
            "description": "<p>Events from user</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.body",
            "description": "<p>Event body</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.image",
            "description": "<p>Event image. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.distance_location",
            "description": "<p>The distance to the event</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.time",
            "description": "<p>Time since creation</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "data.comment",
            "description": "<p>Event comments info</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.comment.count",
            "description": "<p>Event comment text. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.comment.list_src",
            "description": "<p>Event comments src</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.comment.add_src",
            "description": "<p>Event comment add src</p>"
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "data.comment.images",
            "description": "<p>Event comment images. Array</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.tag",
            "description": "<p>Tags. Array or null</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "allowedValues": [
              "\"help\"",
              "\"event\""
            ],
            "optional": false,
            "field": "events.type",
            "description": "<p>Type</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "events.profile",
            "description": "<p>Author profile</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.profile.username",
            "description": "<p>Author username</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.profile.image",
            "description": "<p>Author image. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.profile.src",
            "description": "<p>Link author profile</p>"
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "events.actions",
            "description": "<p>Actions</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.actions.share_src",
            "description": "<p>Share src</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.actions.complain_src",
            "description": "<p>Complain src</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.actions.delete_src",
            "description": "<p>Src for delete event. if this user be author event return src, else null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.actions.edit_src",
            "description": "<p>Src for edit event. if this user be author event return src, else null</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\",\n  \"profile\": {\n     \"username\": \"Рустам Муртазин\",\n     \"iname\": \"Rustam\",\n     \"fname\": \"Murtazin\",\n     \"image\": \"http://helpclub.local/u/f/4/c/0/47ae3-31b4-9d33-6ae4-50cd633171d1-S.jpg\"\n   },\n  \"events\": [\n     {\n       \"body\": \"Что-то интересное\",\n       \"image\": \"http://helpclub.local/u/f/0/1/d/59784-318f-58e7-4e8b-c20444d6cd87-FHD.jpg\",\n       \"distance_location\": \"243 М\",\n       \"time\": \"4 часа назад\",\n       \"comment\": {\n             \"count\": \"2 комментария\",\n             \"list_src\": \"http://helpclub.local/ru/api/event/2/comment/\",\n             \"add_src\": \"http://helpclub.local/ru/api/event/2/comment-add/\",\n             \"images\": [\n                    \"http://helpclub.local/u/f/a/c/8/89e0a-0d46-e1c3-5f57-0300bbda021a-S.jpeg\",\n                    \"http://helpclub.local/u/f/a/c/8/89e0a-0d46-e1c3-5f57-0300bbda021b-S.jpeg\"\n             ],\n         },\n       \"type\": \"help\",\n       \"tag\": [\n             \"ЛЕТО\",\n             \"МОРЕ\",\n             \"ПЕСОК\"\n          ],\n       \"profile\": {\n         \"username\": \"Рустам Муртазин\",\n         \"image\": \"http://helpclub.local/u/f/0/1/d/59784-318f-58e7-4e8b-c20444d6cd87-FHD.jpg\",\n         \"src\": \"user/profile/3/\"\n         },\n       \"actions\": {\n             \"share_src\": \"http://helpclub.local/ru/api/share/\",\n             \"complain_src\": \"event/complain/1/\",\n             \"delete_src\": \"event/delete/1/\",\n             \"edit_src\": \"event/edit/1/\",\n         }\n     }\n   ]\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "User not exist:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"User_not_exist\",\n  \"message\": \"Пользователь не существует\",\n}",
          "type": "json"
        }
      ],
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/user/actions/actions.class.php",
    "groupTitle": "User"
  },
  {
    "type": "get",
    "url": ":sf_culture/api/user/location/?lat=:lat&lon=:lon",
    "title": "Location",
    "name": "Location",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "lat",
            "description": "<p>Latitude</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "lon",
            "description": "<p>Longitude</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/user/actions/actions.class.php",
    "groupTitle": "User",
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Invalid:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"invalid\",\n  \"message\": \"Некорректные данные\",\n}",
          "type": "json"
        }
      ]
    }
  },
  {
    "type": "post",
    "url": ":sf_culture/api/user/registration/",
    "title": "Registration",
    "name": "Registration",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"1..255\""
            ],
            "optional": false,
            "field": "iname",
            "description": "<p>Name.</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"1..255\""
            ],
            "optional": false,
            "field": "fname",
            "description": "<p>Surname.</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "size": "11",
            "optional": false,
            "field": "phone",
            "description": "<p>Phone number. Example: 89374954221,79374954221.</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "User registered:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\",\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/user/actions/actions.class.php",
    "groupTitle": "User",
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Form invalid:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"form_invalid\",\n  \"message\": \"Имя: Обязательное поле\"\n}",
          "type": "json"
        }
      ]
    }
  },
  {
    "type": "get",
    "url": ":sf_culture/api/user/registration-token/?token=:token",
    "title": "Registration token",
    "name": "Registration_token",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "size": "1..255",
            "optional": false,
            "field": "token",
            "description": "<p>Token</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\"\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "type": "String",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Message for developer Android/IOS</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Required token:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"bad_token\",\n  \"message\": \"Обязательное поле\"\n}",
          "type": "json"
        },
        {
          "title": "Too much importance:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"bad_token\",\n  \"message\": \"Слишком большое значение\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/user/actions/actions.class.php",
    "groupTitle": "User"
  },
  {
    "type": "post",
    "url": ":sf_culture/api/user/contact/",
    "title": "SetContacts",
    "name": "SetContacts",
    "group": "User",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/user/actions/actions.class.php",
    "groupTitle": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          },
          {
            "group": "Parameter",
            "type": "Object[]",
            "optional": false,
            "field": "contacts",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contacts.name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String[]",
            "optional": false,
            "field": "contacts.phones",
            "description": ""
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "\"contacts\": [\n     {\"name\": \"Паша\", \"phones\": [\"79374954221\",\"89263214565\"]},\n     {\"name\": \"Маша\", \"phones\": [\"79374954225\"]}\n]",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Invalid:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"invalid\",\n  \"message\": \"Некорректные данные\",\n}",
          "type": "json"
        }
      ]
    }
  },
  {
    "type": "post",
    "url": ":sf_culture/api/user/profile/",
    "title": "SetProfile",
    "name": "SetProfile",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Object",
            "optional": false,
            "field": "profile",
            "description": "<p>Profile</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "size": "1..255",
            "optional": false,
            "field": "profile.iname",
            "description": "<p>Name</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "size": "1..255",
            "optional": false,
            "field": "profile.fname",
            "description": "<p>Surname</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "profile.image",
            "description": "<p>User image base64</p>"
          },
          {
            "group": "Parameter",
            "type": "Boolean",
            "optional": false,
            "field": "profile.is_notice_help",
            "description": "<p>Notice help</p>"
          },
          {
            "group": "Parameter",
            "type": "Boolean",
            "optional": false,
            "field": "profile.is_notice_event",
            "description": "<p>Notice event</p>"
          },
          {
            "group": "Parameter",
            "type": "Boolean",
            "optional": false,
            "field": "profile.is_notice_help_friend",
            "description": "<p>Notice help friend</p>"
          },
          {
            "group": "Parameter",
            "type": "Boolean",
            "optional": false,
            "field": "profile.is_notice_event_friend",
            "description": "<p>Notice event friend</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "profile.lang",
            "description": "<p>Language</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "profile.lat",
            "description": "<p>Latitude</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "profile.lon",
            "description": "<p>Longitude</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "profile.place",
            "description": "<p>Place name</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "size": "[0-9]{4}",
            "optional": false,
            "field": "profile.pin",
            "description": "<p>Pin-code</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/user/actions/actions.class.php",
    "groupTitle": "User",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "profile",
            "description": "<p>User profile information</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "size": "1..255",
            "optional": false,
            "field": "profile.iname",
            "description": "<p>User name</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "size": "1..255",
            "optional": false,
            "field": "profile.fname",
            "description": "<p>User surname</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "profile.image",
            "description": "<p>User image base64</p>"
          },
          {
            "group": "Success 200",
            "type": "Boolean",
            "optional": false,
            "field": "profile.is_notice_help",
            "description": "<p>Notice help</p>"
          },
          {
            "group": "Success 200",
            "type": "Boolean",
            "optional": false,
            "field": "profile.is_notice_event",
            "description": "<p>Notice event</p>"
          },
          {
            "group": "Success 200",
            "type": "Boolean",
            "optional": false,
            "field": "profile.is_notice_help_friend",
            "description": "<p>Notice help friend</p>"
          },
          {
            "group": "Success 200",
            "type": "Boolean",
            "optional": false,
            "field": "profile.is_notice_event_friend",
            "description": "<p>Notice event friend</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "profile.lang",
            "description": "<p>Language</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "profile.lat",
            "description": "<p>Latitude</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "profile.lon",
            "description": "<p>Longitude</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "profile.place",
            "description": "<p>Place name</p>"
          },
          {
            "group": "Success 200",
            "type": "Boolean",
            "optional": false,
            "field": "profile.pin",
            "description": "<p>Pin is set</p>"
          },
          {
            "group": "Success 200",
            "type": "Object[]",
            "optional": false,
            "field": "events",
            "description": "<p>Events from user</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.body",
            "description": "<p>Event body</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.image",
            "description": "<p>Event image. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.distance_location",
            "description": "<p>The distance to the event</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.time",
            "description": "<p>Time since creation</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "data.comment",
            "description": "<p>Event comments info</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.comment.count",
            "description": "<p>Event comment text. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.comment.list_src",
            "description": "<p>Event comments src</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data.comment.add_src",
            "description": "<p>Event comment add src</p>"
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "data.comment.images",
            "description": "<p>Event comment images. Array</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.tag",
            "description": "<p>Tags. Array or null</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "allowedValues": [
              "\"help\"",
              "\"event\""
            ],
            "optional": false,
            "field": "events.type",
            "description": "<p>Type</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "events.profile",
            "description": "<p>Author profile</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.profile.username",
            "description": "<p>Author username</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.profile.image",
            "description": "<p>Author image. String or null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.profile.src",
            "description": "<p>Link author profile</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "base",
            "description": "<p>Base info. Does not depend on the &quot;state&quot; field. Is always displayed</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "base.main_desc",
            "description": "<p>Description on the start screen</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "base.main_desc.ru",
            "description": "<p>Description on the start screen for Russian lang</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "base.main_desc.en",
            "description": "<p>Description on the start screen for English lang</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "base.event_actual_max",
            "description": "<p>The most relevant time in minutes for &quot;event&quot;</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "base.promo_color",
            "description": "<p>Color for promo event</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "base.AppleAppID",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "base.GooglePackageName",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "base.event_distance_max",
            "description": "<p>Maximum distance in km for &quot;event&quot;</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "base.email",
            "description": "<p>Email for feedback</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "base.assess_count",
            "description": "<p>Number of actions to evaluate</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "base.share_src",
            "description": "<p>Share link. Redirect in Google Play or App Store</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "base.notice_count",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "String[]",
            "optional": false,
            "field": "events.actions",
            "description": "<p>Actions</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.actions.share_src",
            "description": "<p>Share src</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.actions.complain_src",
            "description": "<p>Complain src</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.actions.delete_src",
            "description": "<p>Src for delete event. if this user be author event return src, else null</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "events.actions.edit_src",
            "description": "<p>Src for edit event. if this user be author event return src, else null</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\",\n  \"profile\": {\n     \"iname\": \"Rustam\",\n     \"fname\": \"Murtazin\",\n     \"phone\": \"79374954221\",\n     \"image\": \"http://helpclub.local/u/f/4/c/0/47ae3-31b4-9d33-6ae4-50cd633171d1-S.jpg\",\n     \"is_notice_help\": true,\n     \"is_notice_event\": true,\n     \"is_notice_help_friend\": true,\n     \"is_notice_event_friend\": true,\n     \"lang\": \"ru\",\n     \"lat\": \"54.789426\",\n     \"lon\": \"56.052835\",\n     \"place\": \"улица Чайковского, 9, Уфа, Республика Башкортостан, Россия\",\n     \"pin\": true\n   },\n  \"events\": [\n     {\n       \"body\": \"Что-то интересное\",\n       \"image\": \"http://helpclub.local/u/f/0/1/d/59784-318f-58e7-4e8b-c20444d6cd87-FHD.jpg\",\n       \"distance_location\": \"243 М\",\n       \"time\": \"4 часа назад\",\n       \"comment\": {\n             \"count\": \"2 комментария\",\n             \"list_src\": \"event/comment/3/\",\n             \"add_src\": \"event/comment-add/3/\",\n             \"images\": [\n                    \"http://helpclub.local/u/f/a/c/8/89e0a-0d46-e1c3-5f57-0300bbda021a-S.jpeg\",\n                    \"http://helpclub.local/u/f/a/c/8/89e0a-0d46-e1c3-5f57-0300bbda021b-S.jpeg\"\n             ],\n         },\n       \"type\": \"help\",\n       \"tag\": [\n             \"ЛЕТО\",\n             \"МОРЕ\",\n             \"ПЕСОК\"\n          ],\n       \"profile\": {\n         \"username\": \"Рустам Муртазин\",\n         \"image\": \"http://helpclub.local/u/f/0/1/d/59784-318f-58e7-4e8b-c20444d6cd87-FHD.jpg\",\n         \"src\": \"user/profile/3/\"\n         },\n       \"actions\": {\n             \"share_src\": \"http://helpclub.local/ru/api/share/\",\n             \"complain_src\": \"event/complain/1/\",\n             \"delete_src\": \"event/delete/1/\",\n             \"edit_src\": \"event/edit/1/\",\n         }\n     }\n   ],\n \"base\": {\n      \"main_desc\": {\"ru\": \"Мы помогаем помогать...\", \"en\": \"We help to help...\"},\n      \"promo_color\": \"#ffffff\",\n      \"event_actual_max\": 100,\n      \"event_distance_max\": 100,\n      \"email\": \"helpclub1@ya.ru\",\n      \"assess_count\": 500,\n      \"share_src\": \"http://helpclub.local/ru/api/share/\",\n      \"AppleAppID\": \"123\",\n      \"GooglePackageName\": \"name\",\n     \"notice_count\": 5,\n     }\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Form invalid:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"form_invalid\",\n  \"message\": \"Имя: Обязательное поле\"\n}",
          "type": "json"
        }
      ]
    }
  },
  {
    "type": "get",
    "url": ":sf_culture/api/user/signout/",
    "title": "Sign out",
    "name": "Sign_out",
    "group": "User",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\"\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "Need auth:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"need_auth\",\n  \"message\": \"Требуется авторизация\"\n}",
          "type": "json"
        }
      ],
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/user/actions/actions.class.php",
    "groupTitle": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          }
        ]
      }
    }
  },
  {
    "type": "get",
    "url": "/api/user/signin/",
    "title": "SignIn",
    "name": "Sign_out",
    "group": "User",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"success\"\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "Need auth:",
          "content": "HTTP/1.1 200 OK\n{\n  \"state\": \"error\",\n  \"code\": \"need_auth\",\n  \"message\": \"Требуется авторизация\"\n}",
          "type": "json"
        }
      ],
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "state",
            "description": "<p>Response status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "code",
            "description": "<p>Code status</p>"
          },
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "message",
            "description": "<p>Message for user</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/www/bonetitto.local/apps/app/modules/user/actions/actions.class.php",
    "groupTitle": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "allowedValues": [
              "\"ru\"",
              "\"en\""
            ],
            "optional": false,
            "field": "sf_culture",
            "description": "<p>Language</p>"
          }
        ]
      }
    }
  }
] });
