feat: complete TASK-WP4-04 color and dynamic stickers

This commit is contained in:
suyx
2026-08-03 14:11:40 +08:00
parent dd7a23a281
commit 457e1147e4
29 changed files with 2234 additions and 61 deletions
+107
View File
@@ -4095,6 +4095,54 @@
],
"type": "object"
},
"ReverseGeocodeRequest": {
"additionalProperties": false,
"properties": {
"latitude": {
"maximum": 90,
"minimum": -90,
"type": "number"
},
"longitude": {
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"latitude",
"longitude"
],
"type": "object"
},
"ReverseGeocodeResponse": {
"additionalProperties": false,
"properties": {
"formatted_value": {
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"service_mode": {
"enum": [
"mock"
],
"type": "string"
},
"status": {
"enum": [
"resolved"
],
"type": "string"
}
},
"required": [
"formatted_value",
"service_mode",
"status"
],
"type": "object"
},
"SseEvent": {
"anyOf": [
{
@@ -9886,6 +9934,65 @@
]
}
},
"/api/v1/location/reverse-geocode": {
"post": {
"operationId": "reverseGeocodeLocation",
"parameters": [
{
"in": "header",
"name": "x-csrf-token",
"required": true,
"schema": {
"maxLength": 64,
"minLength": 43,
"pattern": "^[A-Za-z0-9_-]+$",
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ReverseGeocodeRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ReverseGeocodeResponse"
}
}
},
"description": "Default Response"
},
"400": {
"description": "Default Response"
},
"401": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
},
"description": "Default Response"
},
"503": {
"description": "Default Response"
}
},
"tags": [
"Location"
]
}
},
"/api/v1/me/credit-ledger": {
"get": {
"operationId": "getMyCreditLedger",