{
  "opencollection": "1.0.0",
  "info": {
    "name": "AKASH - gRPC Gateway docs Addresses Users API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Registers a new user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/register-user",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Registers a new user"
        },
        {
          "info": {
            "name": "Retrieves the logged in user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/user/me"
          },
          "docs": "Retrieves the logged in user"
        },
        {
          "info": {
            "name": "Get user by username",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/user/byUsername/:username",
            "params": [
              {
                "name": "username",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get user by username"
        },
        {
          "info": {
            "name": "Update user settings",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v1/user/updateSettings",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update user settings"
        },
        {
          "info": {
            "name": "Check if username is available",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/user/checkUsernameAvailability/:username",
            "params": [
              {
                "name": "username",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Check if username is available"
        },
        {
          "info": {
            "name": "Subscribe to newsletter",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/user/subscribeToNewsletter"
          },
          "docs": "Subscribe to newsletter"
        },
        {
          "info": {
            "name": "Get template by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/user/template/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get template by ID"
        },
        {
          "info": {
            "name": "Save template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/user/saveTemplate",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Save template"
        },
        {
          "info": {
            "name": "Save template description",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/user/saveTemplateDesc",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Save template description"
        },
        {
          "info": {
            "name": "Get templates by username",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/user/templates/:username",
            "params": [
              {
                "name": "username",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get templates by username"
        },
        {
          "info": {
            "name": "Delete template",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v1/user/deleteTemplate/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete template"
        },
        {
          "info": {
            "name": "Get favorite templates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/user/favoriteTemplates"
          },
          "docs": "Get favorite templates"
        },
        {
          "info": {
            "name": "Add favorite template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/user/addFavoriteTemplate/:templateId",
            "params": [
              {
                "name": "templateId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Add favorite template"
        },
        {
          "info": {
            "name": "Remove favorite template",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v1/user/removeFavoriteTemplate/:templateId",
            "params": [
              {
                "name": "templateId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Remove favorite template"
        },
        {
          "info": {
            "name": "Resends a verification email",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/send-verification-email",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Resends a verification email"
        },
        {
          "info": {
            "name": "Sends a verification code to the authenticated user's email",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/send-verification-code"
          },
          "docs": "Sends a verification code to the authenticated user's email"
        },
        {
          "info": {
            "name": "Verifies the email using a 6-digit code",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/verify-email-code",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Verifies the email using a 6-digit code"
        },
        {
          "info": {
            "name": "Checks if the email is verified",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/verify-email",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Checks if the email is verified"
        }
      ]
    }
  ],
  "bundled": true
}