{
  "info": {
    "_postman_id": "6251ebd1-00e0-4087-83bf-d3839057d01b",
    "name": "api",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "name": "auth",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Vk-Params",
            "value": "{{VK_PARAMS}}",
            "type": "text"
          }
        ],
        "url": {
          "raw": "{{URL}}/vkma/me",
          "host": [
            "{{URL}}"
          ],
          "path": [
            "vkma",
            "me"
          ]
        }
      },
      "response": [
        {
          "name": "auth",
          "originalRequest": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Vk-Params",
                "value": "{{VK_PARAMS}}",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{URL}}/vkma/me",
              "host": [
                "{{URL}}"
              ],
              "path": [
                "vkma",
                "me"
              ]
            }
          },
          "status": "OK",
          "code": 200,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Server",
              "value": "nginx/1.17.10"
            },
            {
              "key": "Content-Type",
              "value": "application/json"
            },
            {
              "key": "Transfer-Encoding",
              "value": "chunked"
            },
            {
              "key": "Connection",
              "value": "keep-alive"
            },
            {
              "key": "Vary",
              "value": "Accept-Encoding"
            },
            {
              "key": "X-Powered-By",
              "value": "PHP/7.4.6"
            },
            {
              "key": "Cache-Control",
              "value": "no-cache, private"
            },
            {
              "key": "Date",
              "value": "Fri, 07 Aug 2020 12:03:09 GMT"
            },
            {
              "key": "Access-Control-Allow-Origin",
              "value": "*"
            },
            {
              "key": "Content-Encoding",
              "value": "gzip"
            }
          ],
          "cookie": [],
          "body": "{\n    \"data\": {\n        \"id\": 1,\n        \"first_name\": \"Евгений\",\n        \"last_name\": \"Завалишин\",\n        \"avatar\": \"https://sun9-33.userapi.com/impf/c845520/v845520685/3789/HOGyEDGx7wU.jpg?size=200x0&quality=90&crop=0,0,702,702&sign=e4b5ea860b2d9fc5a6b7143f2810e498&c_uniq_tag=YohGFonKwRNuHqAOnM7qp-fptSduj9BLL2x7WuEarko&ava=1\"\n    }\n}"
        }
      ]
    },
    {
      "name": "colors",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "type": "text",
            "value": "application/json"
          },
          {
            "key": "Vk-Params",
            "type": "text",
            "value": "{{VK_PARAMS}}"
          }
        ],
        "url": {
          "raw": "{{URL}}/vkma/colors",
          "host": [
            "{{URL}}"
          ],
          "path": [
            "vkma",
            "colors"
          ]
        }
      },
      "response": []
    },
    {
      "name": "categories",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "type": "text",
            "value": "application/json"
          },
          {
            "key": "Vk-Params",
            "type": "text",
            "value": "{{VK_PARAMS}}"
          }
        ],
        "url": {
          "raw": "{{URL}}/vkma/categories",
          "host": [
            "{{URL}}"
          ],
          "path": [
            "vkma",
            "categories"
          ]
        }
      },
      "response": []
    },
    {
      "name": "attach group",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Accept",
            "type": "text",
            "value": "application/json"
          },
          {
            "key": "Vk-Params",
            "type": "text",
            "value": "{{VK_PARAMS}}"
          }
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "category_id",
              "value": "1",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{URL}}/vkma/groups",
          "host": [
            "{{URL}}"
          ],
          "path": [
            "vkma",
            "groups"
          ]
        }
      },
      "response": []
    },
    {
      "name": "create goal",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Accept",
            "type": "text",
            "value": "application/json"
          },
          {
            "key": "Vk-Params",
            "type": "text",
            "value": "{{VK_PARAMS}}"
          }
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "color_id",
              "value": "1",
              "type": "text"
            },
            {
              "key": "checkins_count",
              "value": "2",
              "type": "text"
            },
            {
              "key": "description",
              "value": "desc",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{URL}}/vkma/groups/1/goals",
          "host": [
            "{{URL}}"
          ],
          "path": [
            "vkma",
            "groups",
            "1",
            "goals"
          ]
        }
      },
      "response": []
    },
    {
      "name": "list of group goals",
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      },
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "type": "text",
            "value": "application/json"
          },
          {
            "key": "Vk-Params",
            "type": "text",
            "value": "{{VK_PARAMS}}"
          }
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": []
        },
        "url": {
          "raw": "{{URL}}/vkma/groups/1/goals",
          "host": [
            "{{URL}}"
          ],
          "path": [
            "vkma",
            "groups",
            "1",
            "goals"
          ]
        }
      },
      "response": []
    },
    {
      "name": "list of group cards",
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      },
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "type": "text",
            "value": "application/json"
          },
          {
            "key": "Vk-Params",
            "type": "text",
            "value": "{{VK_PARAMS}}"
          }
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": []
        },
        "url": {
          "raw": "{{URL}}/vkma/groups/1/cards",
          "host": [
            "{{URL}}"
          ],
          "path": [
            "vkma",
            "groups",
            "1",
            "cards"
          ]
        }
      },
      "response": []
    },
    {
      "name": "my cardss",
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      },
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "type": "text",
            "value": "application/json"
          },
          {
            "key": "Vk-Params",
            "type": "text",
            "value": "{{VK_PARAMS}}"
          }
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": []
        },
        "url": {
          "raw": "{{URL}}/vkma/me/cards",
          "host": [
            "{{URL}}"
          ],
          "path": [
            "vkma",
            "me",
            "cards"
          ]
        }
      },
      "response": []
    },
    {
      "name": "checkin card",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Accept",
            "type": "text",
            "value": "application/json"
          },
          {
            "key": "Vk-Params",
            "type": "text",
            "value": "{{VK_PARAMS}}"
          }
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "hash",
              "value": "YEVJ9VkUHSyN7VlN",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{URL}}/vkma/cards/1/checkin",
          "host": [
            "{{URL}}"
          ],
          "path": [
            "vkma",
            "cards",
            "1",
            "checkin"
          ]
        }
      },
      "response": []
    },
    {
      "name": "owned groups",
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      },
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "type": "text",
            "value": "application/json"
          },
          {
            "key": "Vk-Params",
            "type": "text",
            "value": "{{VK_PARAMS}}"
          }
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": []
        },
        "url": {
          "raw": "{{URL}}/vkma/me/groups",
          "host": [
            "{{URL}}"
          ],
          "path": [
            "vkma",
            "me",
            "groups"
          ]
        }
      },
      "response": []
    },
    {
      "name": "group cashiers",
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      },
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "type": "text",
            "value": "application/json"
          },
          {
            "key": "Vk-Params",
            "type": "text",
            "value": "{{VK_PARAMS}}"
          }
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": []
        },
        "url": {
          "raw": "{{URL}}/vkma/groups/1/cashiers",
          "host": [
            "{{URL}}"
          ],
          "path": [
            "vkma",
            "groups",
            "1",
            "cashiers"
          ]
        }
      },
      "response": []
    },
    {
      "name": "store cashier",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Accept",
            "type": "text",
            "value": "application/json"
          },
          {
            "key": "Vk-Params",
            "type": "text",
            "value": "{{VK_PARAMS}}"
          }
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "vk_user_id",
              "value": "1",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{URL}}/vkma/groups/1/cashiers",
          "host": [
            "{{URL}}"
          ],
          "path": [
            "vkma",
            "groups",
            "1",
            "cashiers"
          ]
        }
      },
      "response": []
    },
    {
      "name": "detach cashier",
      "request": {
        "method": "DELETE",
        "header": [
          {
            "key": "Accept",
            "type": "text",
            "value": "application/json"
          },
          {
            "key": "Vk-Params",
            "type": "text",
            "value": "{{VK_PARAMS}}"
          }
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "user_id",
              "value": "3",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{URL}}/vkma/groups/1/cashiers",
          "host": [
            "{{URL}}"
          ],
          "path": [
            "vkma",
            "groups",
            "1",
            "cashiers"
          ]
        }
      },
      "response": []
    }
  ],
  "protocolProfileBehavior": {}
}
