If I request tag info without specifying fromdate
/todate
parameters, I get back some data. EG:
{
"has_synonyms": true,
"is_moderator_only": false,
"is_required": false,
"count": 1199408,
"name": "c#"
}
But if I use the fromdate
/todate
parameters (recent date range), no data is returned.
Please let me know where to change?
This is both a bug in the API documentation and a bug in the way the
/tags/{tags}/info
route works.It is closely related to this bug on Stack Apps.
The docs don't say it, but the
fromdate
andtodate
parameters operate on the tag's creation date.This is really bad behavior because:
/tags/
routes return creation date, nor allow sorting on it./tags/
routes do return thelast_activity_date
. So one would think that thefromdate
andtodate
parameters would operate on it, but they don't.So:
fromdate
andtodate
parameters to thelast_activity_date
You can get an idea of a tag's (likely) creation date with this SEDE query: data.stackexchange.com/stackoverflow/query/840451/creation-date-for-a-tag