Skip to main content
added 114 characters in body; edited title
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64

Tags are not returned when querying answers, bug is now even worse/users/{ids}/answers

I'm querying the API for answers-by-user, and I want the tags belonging to the parent questions. I seem to be seeing intermittent results: sometimes the tags attribute of the response includes the tags, and sometimes it's an empty list.

Is the availability of the tags attribute influenced by any other attributes that may or may not be selected in a filter?

For example, this seems to return tags in the result:

While this returns an a tags attribute, but it's always an empty list:

  • [/2.2/users/147356/answers?page=1&pagesize=2&site=stackoverflow&filter=!bKhRelLgVMFau)][2]

Maybe including the share_link attribute disables tags?

Also this is not the same as [this related bug][3] because I'm not requesting body_markdown.:

  1. I'm not requesting body_markdown.
  2. I'm using the /users/{ids}/answers route while that was about the straight /answers toute.

[2]: https://api.stackexchange.com/docs/answers-on-users#page=1&pagesize=2&order=desc&sort=activity&ids=147356&filter=!bKhRelLgVMFau)&site=stackoverflow&run=true [3]: The answer object returns an empty array for tags

Tags are not returned when querying answers, bug is now even worse

I'm querying the API for answers, and I want the tags belonging to the parent questions. I seem to be seeing intermittent results: sometimes the tags attribute of the response includes the tags, and sometimes it's an empty list.

Is the availability of the tags attribute influenced by any other attributes that may or may not be selected in a filter?

For example, this seems to return tags in the result:

While this returns an a tags attribute, but it's always an empty list:

  • [/2.2/users/147356/answers?page=1&pagesize=2&site=stackoverflow&filter=!bKhRelLgVMFau)][2]

Maybe including the share_link attribute disables tags?

Also this is not the same as [this related bug][3] because I'm not requesting body_markdown.

[2]: https://api.stackexchange.com/docs/answers-on-users#page=1&pagesize=2&order=desc&sort=activity&ids=147356&filter=!bKhRelLgVMFau)&site=stackoverflow&run=true [3]: The answer object returns an empty array for tags

Tags are not returned when querying /users/{ids}/answers

I'm querying the API for answers-by-user, and I want the tags belonging to the parent questions. I seem to be seeing intermittent results: sometimes the tags attribute of the response includes the tags, and sometimes it's an empty list.

Is the availability of the tags attribute influenced by any other attributes that may or may not be selected in a filter?

For example, this seems to return tags in the result:

While this returns an a tags attribute, but it's always an empty list:

  • [/2.2/users/147356/answers?page=1&pagesize=2&site=stackoverflow&filter=!bKhRelLgVMFau)][2]

Maybe including the share_link attribute disables tags?

Also this is not the same as [this related bug][3] because:

  1. I'm not requesting body_markdown.
  2. I'm using the /users/{ids}/answers route while that was about the straight /answers toute.

[2]: https://api.stackexchange.com/docs/answers-on-users#page=1&pagesize=2&order=desc&sort=activity&ids=147356&filter=!bKhRelLgVMFau)&site=stackoverflow&run=true [3]: The answer object returns an empty array for tags

added 402 characters in body; edited tags; edited title
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64

What determines whether or not tags Tags are not returned when querying answers?, bug is now even worse

I'm querying the apiAPI for answers, and I want the tags set onbelonging to the associatedparent questions. I seemsseem to be seeing intermittent results: sometimes the tags attribute of the response includes the tags, and sometimes it's an empty list.

Is the availability of the tags attribute influenced by any other attributes that may or may not be selected in a filter?

For example, this seems to return tags in the result:

While this returns an a tags attribute, but it's always an empty list:

Update

It looks like maybe Maybe including the share_link attribute disables tags?

Also this is not the same as [this related bug][3] because I'm not requesting body_markdown.

[2]: https://api.stackexchange.com/docs/answers-on-users#page=1&pagesize=2&order=desc&sort=activity&ids=147356&filter=!bKhRelLgVMFau)&site=stackoverflow&run=true [3]: The answer object returns an empty array for tags

What determines whether or not tags are returned when querying answers?

I'm querying the api for answers, and I want the tags set on the associated questions. I seems to be seeing intermittent results: sometimes the tags attribute of the response includes the tags, and sometimes it's an empty list.

Is the availability of the tags attribute influenced by any other attributes that may or may not be selected in a filter?

For example, this seems to return tags in the result:

While this returns an a tags attribute, but it's always an empty list:

Update

It looks like maybe including the share_link attribute disables tags?

Tags are not returned when querying answers, bug is now even worse

I'm querying the API for answers, and I want the tags belonging to the parent questions. I seem to be seeing intermittent results: sometimes the tags attribute of the response includes the tags, and sometimes it's an empty list.

Is the availability of the tags attribute influenced by any other attributes that may or may not be selected in a filter?

For example, this seems to return tags in the result:

While this returns an a tags attribute, but it's always an empty list:

  • [/2.2/users/147356/answers?page=1&pagesize=2&site=stackoverflow&filter=!bKhRelLgVMFau)][2]

Maybe including the share_link attribute disables tags?

Also this is not the same as [this related bug][3] because I'm not requesting body_markdown.

[2]: https://api.stackexchange.com/docs/answers-on-users#page=1&pagesize=2&order=desc&sort=activity&ids=147356&filter=!bKhRelLgVMFau)&site=stackoverflow&run=true [3]: The answer object returns an empty array for tags

Source Link
larsks
  • 141
  • 2

What determines whether or not tags are returned when querying answers?

I'm querying the api for answers, and I want the tags set on the associated questions. I seems to be seeing intermittent results: sometimes the tags attribute of the response includes the tags, and sometimes it's an empty list.

Is the availability of the tags attribute influenced by any other attributes that may or may not be selected in a filter?

For example, this seems to return tags in the result:

While this returns an a tags attribute, but it's always an empty list:

Update

It looks like maybe including the share_link attribute disables tags?