pub.chive.tag.getTrending
Get trending tags within a specified time window
Repository
@lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh
not from the namespace authority
Details · query
| Kind | query |
|---|---|
| Authority | tag.chive.pub |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.timeWindowNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.timeWindowNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.promotionTarget.properties.typeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.promotionTarget.properties.uriNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.tagSummary.properties.displayForms.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.tagSummary.properties.normalizedFormNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Get trending tags within a specified time window",
"errors": [],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"tags": {
"description": "List of trending tags",
"items": {
"ref": "#tagSummary",
"type": "ref"
},
"type": "array"
},
"timeWindow": {
"description": "Time window used for this response",
"knownValues": [
"day",
"week",
"month"
],
"type": "string"
}
},
"required": [
"tags",
"timeWindow"
],
"type": "object"
}
},
"parameters": {
"properties": {
"limit": {
"default": 20,
"description": "Maximum number of trending tags to return",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"timeWindow": {
"default": "week",
"description": "Time window for trending calculation",
"knownValues": [
"day",
"week",
"month"
],
"type": "string"
}
},
"required": [],
"type": "params"
},
"type": "query"
},
"promotionTarget": {
"description": "Target of tag promotion",
"properties": {
"type": {
"description": "Type of promotion target",
"knownValues": [
"facet",
"authority"
],
"type": "string"
},
"uri": {
"description": "URI of the promotion target",
"type": "string"
}
},
"required": [
"type",
"uri"
],
"type": "object"
},
"tagSummary": {
"description": "Summary information for a tag",
"properties": {
"displayForms": {
"description": "All display forms used for this tag",
"items": {
"type": "string"
},
"type": "array"
},
"isPromoted": {
"description": "Whether the tag has been promoted to a facet or authority",
"type": "boolean"
},
"normalizedForm": {
"description": "Normalized tag form (lowercase, hyphenated)",
"type": "string"
},
"promotedTo": {
"description": "Promotion target if promoted",
"ref": "#promotionTarget",
"type": "ref"
},
"qualityScore": {
"description": "Tag quality score (0-100, scaled from 0-1)",
"maximum": 100,
"minimum": 0,
"type": "integer"
},
"usageCount": {
"description": "Number of eprints tagged with this tag",
"minimum": 0,
"type": "integer"
}
},
"required": [
"normalizedForm",
"displayForms",
"usageCount",
"qualityScore",
"isPromoted"
],
"type": "object"
}
},
"id": "pub.chive.tag.getTrending",
"lexicon": 1,
"revision": 1
}