{
  "opencollection": "1.0.0",
  "info": {
    "name": "Activiti Public Rest About Profile API",
    "version": "1.4.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Profile",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve user information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/activiti-app/api/enterprise/profile"
          },
          "docs": " This is useful to get the name, email, the groups that the user is part of, the user picture, etc."
        },
        {
          "info": {
            "name": "Update user information",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/activiti-app/api/enterprise/profile",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Only a first name, last name, email and company can be updated"
        },
        {
          "info": {
            "name": "Change user password",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/activiti-app/api/enterprise/profile-password",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Change user password"
        },
        {
          "info": {
            "name": "Retrieve user profile picture",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/activiti-app/api/enterprise/profile-picture"
          },
          "docs": "Generally returns an image file"
        },
        {
          "info": {
            "name": "Change user profile picture",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/activiti-app/api/enterprise/profile-picture"
          },
          "docs": "Change user profile picture"
        }
      ]
    }
  ],
  "bundled": true
}