Skip to content

Wrong account.getProfileInfo response  #223

@elias506

Description

@elias506

account_user_settings object has json description:

"account_user_settings": {
      "type": "object",
      "allOf": [
        {
          "$ref": "objects.json#/definitions/users_user_min"
        },
        {
          "$ref": "objects.json#/definitions/users_user_settings_xtr"
        },
        {
          "properties": {
            "photo_200": {
              "type": "string",
              "format": "uri",
              "description": "URL of square photo of the user with 200 pixels in width"
            },
            "is_service_account": {
              "type": "boolean",
              "description": "flag about service account"
            }
          }
        }
      ],
      "additionalProperties": false
    },

and used in account_getProfileInfo_response response object:

"account_getProfileInfo_response": {
      "type": "object",
      "properties": {
        "response": {
          "$ref": "objects.json#/definitions/account_user_settings",
          "required": true
        }
      },
      "additionalProperties": false
    },

But users_user_min and users_user_settings_xtr objects have same last_name and first_name fields. Besides account.getProfileInfo method do not need users_user_min object in allOf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions