full diff

pub.chive.tag.getTrending

From
bafyreie7fczyhgzgvelg7tqj526gvo7pekxpvfe2evwhftddtatq6uvbna indexed 2026-06-18 13:14 UTC View this version
To
bafyreie7fczyhgzgvelg7tqj526gvo7pekxpvfe2evwhftddtatq6uvbna indexed 2026-06-18 13:14 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Get trending tags within a specified time window",
66 "errors": [],
77 "output": {
88 "encoding": "application/json",
99 "schema": {
1010 "properties": {
1111 "tags": {
1212 "description": "List of trending tags",
1313 "items": {
1414 "ref": "#tagSummary",
1515 "type": "ref"
1616 },
1717 "type": "array"
1818 },
1919 "timeWindow": {
2020 "description": "Time window used for this response",
2121 "knownValues": [
2222 "day",
2323 "week",
2424 "month"
2525 ],
2626 "type": "string"
2727 }
2828 },
2929 "required": [
3030 "tags",
3131 "timeWindow"
3232 ],
3333 "type": "object"
3434 }
3535 },
3636 "parameters": {
3737 "properties": {
3838 "limit": {
3939 "default": 20,
4040 "description": "Maximum number of trending tags to return",
4141 "maximum": 50,
4242 "minimum": 1,
4343 "type": "integer"
4444 },
4545 "timeWindow": {
4646 "default": "week",
4747 "description": "Time window for trending calculation",
4848 "knownValues": [
4949 "day",
5050 "week",
5151 "month"
5252 ],
5353 "type": "string"
5454 }
5555 },
5656 "required": [],
5757 "type": "params"
5858 },
5959 "type": "query"
6060 },
6161 "promotionTarget": {
6262 "description": "Target of tag promotion",
6363 "properties": {
6464 "type": {
6565 "description": "Type of promotion target",
6666 "knownValues": [
6767 "facet",
6868 "authority"
6969 ],
7070 "type": "string"
7171 },
7272 "uri": {
7373 "description": "URI of the promotion target",
7474 "type": "string"
7575 }
7676 },
7777 "required": [
7878 "type",
7979 "uri"
8080 ],
8181 "type": "object"
8282 },
8383 "tagSummary": {
8484 "description": "Summary information for a tag",
8585 "properties": {
8686 "displayForms": {
8787 "description": "All display forms used for this tag",
8888 "items": {
8989 "type": "string"
9090 },
9191 "type": "array"
9292 },
9393 "isPromoted": {
9494 "description": "Whether the tag has been promoted to a facet or authority",
9595 "type": "boolean"
9696 },
9797 "normalizedForm": {
9898 "description": "Normalized tag form (lowercase, hyphenated)",
9999 "type": "string"
100100 },
101101 "promotedTo": {
102102 "description": "Promotion target if promoted",
103103 "ref": "#promotionTarget",
104104 "type": "ref"
105105 },
106106 "qualityScore": {
107107 "description": "Tag quality score (0-100, scaled from 0-1)",
108108 "maximum": 100,
109109 "minimum": 0,
110110 "type": "integer"
111111 },
112112 "usageCount": {
113113 "description": "Number of eprints tagged with this tag",
114114 "minimum": 0,
115115 "type": "integer"
116116 }
117117 },
118118 "required": [
119119 "normalizedForm",
120120 "displayForms",
121121 "usageCount",
122122 "qualityScore",
123123 "isPromoted"
124124 ],
125125 "type": "object"
126126 }
127127 },
128128 "id": "pub.chive.tag.getTrending",
129129 "lexicon": 1,
130130 "revision": 1
131131}