Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List profile count missing from schema #72

Open
bobbrodie opened this issue Jul 24, 2024 · 0 comments
Open

List profile count missing from schema #72

bobbrodie opened this issue Jul 24, 2024 · 0 comments

Comments

@bobbrodie
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant