-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
- This way you get all the answers not just the answers at the time of the question API poll. i.e. The array of answer ids in the API response from the question API can be incomplete
Checklist
- use question id api
- re-use the answer hash from the API with updated
createdandupdatedtime, don't create a new one - log a WARNING if anything besides
creatoris a hash
- e.g. https://support.mozilla.org/api/2/answer/?question=1543155
- instead of https://support.mozilla.org/api/2/answer/1234
- i.e. in get-tb-answers-from-questions-file-for-arbitrary-time-period.rb change
github-action-thunderbird-aaq/get-tb-answers-from-questions-file-for-arbitrary-time-period.rb
Line 16 in 8537e8b
def get_answers(answer_id, url_params, csv, url, logger)
to see full API response from https://support.mozilla.org/api/2/answer/?question=1543155
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 1774834,
"question": 1543155,
"content": "<p>This forum is supported by users like you, individuals who give of their free time to assist others. If you need a direct response to your questions, you should consider an email client that charges a hefty fee instead of using Thunderbird, which is FREE. And, the scenario you posted has no relevance to Thunderbird, but to your email provider. All thunderbird does is relay the messages from email provider to you. Thunderbird does not check passwords, does not issue recovery codes.\n<\/p>",
"created": "2025-10-25T11:30:23.125599Z",
"creator": {
"username": "davidsk",
"display_name": "david",
"avatar": "https://firefoxusercontent.com/5eed5ecf74d9e1ec85435ea262bc016e"
},
"updated": "2025-10-25T11:30:23.125609Z",
"updated_by": null,
"is_spam": false,
"num_helpful_votes": 0,
"num_unhelpful_votes": 0
}
]
}Metadata
Metadata
Assignees
Labels
No labels