Skip to content

The (new in 0.22.0) articles.contentTagIds field has the wrong Type (is List<Long> - should be List<String> #581

@andy-may-at

Description

@andy-may-at

Describe the bug
When I added the field Articles.contentTagIds in this commit, I trusted the example responses in the Zendesk documentation & so added the field as a List<Long>

But it turns out that the articles API docs were wrong & the IDs are really String values (not Long)

Evidence:

The docs for the content_tags resource show it as a String.

And an example response from my Zendesk instance's Articles API has String values:

     "content_tag_ids": [
         "01GMAGH6KPDHEY79MN3S4H8V7D"
     ],

I would expect this bug to cause deserialisation errors when parsing article responses that contain content_tag_ids value

I'll get a PR to fix in ASAP.

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