Recent searches


No recent searches

Get articles call does not include latest label updates



Posted Sep 29, 2021

I'm using cursor-based pagination for getting all the articles.

GET / api / v2 / help_center / articles? locale = en-us& page [size] = 100.

In the result, I have the articles, but some of the labels are missing.

My observations:

1) Labels are not included if you added them and save the article without editing the text of the article. I assume that it is not updating because the Publication status is not changing. Am I right?

2) If you edited labels of the article and edited text of the article that labels are returned correctly but if the call is made approx. in 1 hour later. Why do we have such a delay here?

However, when I'm using

GET /api/v2/help_center/articles/search.json?label_names=label1

it returns an valid article with newly updated article.

Could someone explain the logic behind this?

 


0

3

3 comments

image avatar

Eric Nelson

Zendesk Developer Advocacy

Hey There,

This is a really good callout and I don't think is expected behavior. I'm reaching out to the product team to get clarification on if this is a bug or not. I'll reach out with an update in the coming days.

Thanks for your insights!

Have a wonderful day!

Eric Nelson | Manager - Developer Advocacy

1


Hi Eric,

Are there any updates on this?

0


image avatar

Eric Nelson

Zendesk Developer Advocacy

Hey there,

Apologies for the delay. We've been doing some investigation and this does seem to be a bug. Do you mind if I move this into a ticket to get more details from you?

Have a wonderful day!

Eric Nelson | Manager - Developer Advocacy

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post