{
  "opencollection": "1.0.0",
  "info": {
    "name": "GlitchTip Accept Users API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "User Notification Alerts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.glitchtip.com/api/0/users/:user_id/notifications/alerts/",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns dictionary of project_id: status. Now project_id status means it's \"default\"\n\nTo update, submit `{project_id: status}` where status is -1 (default), 0, or 1"
        },
        {
          "info": {
            "name": "Update User Notification Alerts",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://app.glitchtip.com/api/0/users/:user_id/notifications/alerts/",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update User Notification Alerts"
        },
        {
          "info": {
            "name": "List Users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.glitchtip.com/api/0/users/",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "The pagination cursor value."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Exists in Sentry OSS, unsure what the use case is\nWe make it only list the current user"
        },
        {
          "info": {
            "name": "Get User",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.glitchtip.com/api/0/users/:user_id/",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get User"
        },
        {
          "info": {
            "name": "Update User",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://app.glitchtip.com/api/0/users/:user_id/",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update User"
        },
        {
          "info": {
            "name": "Delete User",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.glitchtip.com/api/0/users/:user_id/",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete User"
        },
        {
          "info": {
            "name": "List Emails",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.glitchtip.com/api/0/users/:user_id/emails/",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List Emails"
        },
        {
          "info": {
            "name": "Create Email",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.glitchtip.com/api/0/users/:user_id/emails/",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new unverified email address. Will return 400 if the email already exists\nand is verified."
        },
        {
          "info": {
            "name": "Set Email As Primary",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://app.glitchtip.com/api/0/users/:user_id/emails/",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Set Email As Primary"
        },
        {
          "info": {
            "name": "Delete Email",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.glitchtip.com/api/0/users/:user_id/emails/",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete Email"
        },
        {
          "info": {
            "name": "Send Confirm Email",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.glitchtip.com/api/0/users/:user_id/emails/confirm/",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Send Confirm Email"
        },
        {
          "info": {
            "name": "Get Notifications",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.glitchtip.com/api/0/users/:user_id/notifications/",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get Notifications"
        },
        {
          "info": {
            "name": "Update Notifications",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://app.glitchtip.com/api/0/users/:user_id/notifications/",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update Notifications"
        }
      ]
    }
  ],
  "bundled": true
}