Skip to content

The /articles request cannot handle large ammounts of data. #9

@PedroAntunesCosta

Description

@PedroAntunesCosta

Describe the bug
The /articles endpoint cannot deal with requests if they comprehend lots of zendesk comments. This always leads to timeout.

This is because the DQAPI metric does not include pagination. We must:

  1. Implement pagination in the metric.
  2. Implement pagination in this app.

To Reproduce
Try getting all article mentions in a given month. For example:

curl --location 'https://vtexhelp.myvtex.com/articles?startDate=2024-08-01&endDate=2024-08-31' \
--header 'VtexIdclientAutCookie: {user-token}' \
--header 'Cookie: VtexWorkspace=master%3A-; janus_sid=bc169b2f-da48-4fd6-883b-620e487e7cc0'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions