Skip to content

List profile count missing from schema #72

@bobbrodie

Description

@bobbrodie

The previous version of the tap, 0.3.0, included a field on lists called person_count. This was removed in #67.

The new API has an attribute on the Get List endpoint called profile_count:

{
  "data": {
    "type": "list",
    "id": "Y6nRLr",
    "attributes": {
      "name": "Newsletter",
      "created": "2022-11-08T00:00:00+00:00",
      "updated": "2022-11-08T00:00:00+00:00",
      "opt_in_process": "double_opt_in",
      "profile_count": 0
    },
    "links": {
      "self": "string"
    },
    "relationships": {
      "profiles": {
        "links": {
          "self": "string",
          "related": "string"
        }
      },
      "tags": {
        "data": [
          {
            "type": "tag",
            "id": "string"
          }
        ],
        "links": {
          "self": "string",
          "related": "string"
        }
      }
    }
  },
  "included": [
    {
      "type": "tag",
      "id": "abcd1234-ef56-gh78-ij90-abcdef123456",
      "attributes": {
        "name": "My Tag"
      },
      "links": {
        "self": "string"
      }
    }
  ]
}

The person_count field was always helpful to easily obtain a count of subscribers on a list, and we'd like to use the profile_count in the new version.

Does anyone know why this was removed?

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