|
725 | 725 | "createdAt" |
726 | 726 | ] |
727 | 727 | }, |
| 728 | + "ClanBasic": { |
| 729 | + "type": "object", |
| 730 | + "properties": { |
| 731 | + "groupId": { |
| 732 | + "type": "string", |
| 733 | + "format": "int64" |
| 734 | + }, |
| 735 | + "name": { |
| 736 | + "type": "string" |
| 737 | + }, |
| 738 | + "callSign": { |
| 739 | + "type": "string" |
| 740 | + }, |
| 741 | + "motto": { |
| 742 | + "type": "string" |
| 743 | + }, |
| 744 | + "avatarPath": { |
| 745 | + "type": "string", |
| 746 | + "nullable": true |
| 747 | + } |
| 748 | + }, |
| 749 | + "required": ["groupId", "name", "callSign", "motto", "avatarPath"], |
| 750 | + "additionalProperties": false |
| 751 | + }, |
728 | 752 | "ClanBannerData": { |
729 | 753 | "type": "object", |
730 | 754 | "properties": { |
|
3153 | 3177 | }, |
3154 | 3178 | "required": ["message", "route"] |
3155 | 3179 | }, |
| 3180 | + "ClanBasicResponse": { |
| 3181 | + "type": "object", |
| 3182 | + "properties": { |
| 3183 | + "groupId": { |
| 3184 | + "type": "string", |
| 3185 | + "format": "int64" |
| 3186 | + }, |
| 3187 | + "name": { |
| 3188 | + "type": "string" |
| 3189 | + }, |
| 3190 | + "callSign": { |
| 3191 | + "type": "string" |
| 3192 | + }, |
| 3193 | + "motto": { |
| 3194 | + "type": "string" |
| 3195 | + }, |
| 3196 | + "avatarPath": { |
| 3197 | + "type": "string", |
| 3198 | + "nullable": true |
| 3199 | + } |
| 3200 | + }, |
| 3201 | + "required": ["groupId", "name", "callSign", "motto", "avatarPath"], |
| 3202 | + "additionalProperties": false |
| 3203 | + }, |
3156 | 3204 | "MetricsWeaponsRollingWeekResponse": { |
3157 | 3205 | "type": "object", |
3158 | 3206 | "properties": { |
|
6818 | 6866 | } |
6819 | 6867 | } |
6820 | 6868 | }, |
| 6869 | + "/clan/{groupId}/basic": { |
| 6870 | + "get": { |
| 6871 | + "description": "Low-cost clan identity (name, tag, avatar path) for bots and UIs. Does not load member rosters.", |
| 6872 | + "summary": "/clan/{groupId}/basic", |
| 6873 | + "parameters": [ |
| 6874 | + { |
| 6875 | + "schema": { |
| 6876 | + "type": "string", |
| 6877 | + "pattern": "^\\d+n?$" |
| 6878 | + }, |
| 6879 | + "required": true, |
| 6880 | + "name": "groupId", |
| 6881 | + "in": "path" |
| 6882 | + } |
| 6883 | + ], |
| 6884 | + "responses": { |
| 6885 | + "200": { |
| 6886 | + "description": "Success", |
| 6887 | + "content": { |
| 6888 | + "application/json": { |
| 6889 | + "schema": { |
| 6890 | + "type": "object", |
| 6891 | + "properties": { |
| 6892 | + "minted": { |
| 6893 | + "type": "string", |
| 6894 | + "format": "date-time" |
| 6895 | + }, |
| 6896 | + "success": { |
| 6897 | + "type": "boolean", |
| 6898 | + "enum": [true] |
| 6899 | + }, |
| 6900 | + "response": { |
| 6901 | + "$ref": "#/components/schemas/ClanBasicResponse" |
| 6902 | + } |
| 6903 | + }, |
| 6904 | + "required": ["minted", "success", "response"] |
| 6905 | + } |
| 6906 | + } |
| 6907 | + } |
| 6908 | + }, |
| 6909 | + "401": { |
| 6910 | + "description": "Unauthorized", |
| 6911 | + "content": { |
| 6912 | + "application/json": { |
| 6913 | + "schema": { |
| 6914 | + "type": "object", |
| 6915 | + "properties": { |
| 6916 | + "minted": { |
| 6917 | + "type": "string", |
| 6918 | + "format": "date-time" |
| 6919 | + }, |
| 6920 | + "success": { |
| 6921 | + "type": "boolean", |
| 6922 | + "enum": [false] |
| 6923 | + }, |
| 6924 | + "code": { |
| 6925 | + "type": "string", |
| 6926 | + "enum": ["ApiKeyError"] |
| 6927 | + }, |
| 6928 | + "error": { |
| 6929 | + "$ref": "#/components/schemas/ApiKeyError" |
| 6930 | + } |
| 6931 | + }, |
| 6932 | + "required": ["minted", "success", "code", "error"] |
| 6933 | + } |
| 6934 | + } |
| 6935 | + } |
| 6936 | + }, |
| 6937 | + "404": { |
| 6938 | + "description": "Not found", |
| 6939 | + "content": { |
| 6940 | + "application/json": { |
| 6941 | + "schema": { |
| 6942 | + "anyOf": [ |
| 6943 | + { |
| 6944 | + "type": "object", |
| 6945 | + "properties": { |
| 6946 | + "minted": { |
| 6947 | + "type": "string", |
| 6948 | + "format": "date-time" |
| 6949 | + }, |
| 6950 | + "success": { |
| 6951 | + "type": "boolean", |
| 6952 | + "enum": [false] |
| 6953 | + }, |
| 6954 | + "code": { |
| 6955 | + "type": "string", |
| 6956 | + "enum": ["ClanNotFoundError"] |
| 6957 | + }, |
| 6958 | + "error": { |
| 6959 | + "$ref": "#/components/schemas/ClanNotFoundError" |
| 6960 | + } |
| 6961 | + }, |
| 6962 | + "required": ["minted", "success", "code", "error"] |
| 6963 | + }, |
| 6964 | + { |
| 6965 | + "type": "object", |
| 6966 | + "properties": { |
| 6967 | + "minted": { |
| 6968 | + "type": "string", |
| 6969 | + "format": "date-time" |
| 6970 | + }, |
| 6971 | + "success": { |
| 6972 | + "type": "boolean", |
| 6973 | + "enum": [false] |
| 6974 | + }, |
| 6975 | + "code": { |
| 6976 | + "type": "string", |
| 6977 | + "enum": ["PathValidationError"] |
| 6978 | + }, |
| 6979 | + "error": { |
| 6980 | + "$ref": "#/components/schemas/PathValidationError" |
| 6981 | + } |
| 6982 | + }, |
| 6983 | + "required": ["minted", "success", "code", "error"] |
| 6984 | + } |
| 6985 | + ] |
| 6986 | + } |
| 6987 | + } |
| 6988 | + } |
| 6989 | + }, |
| 6990 | + "500": { |
| 6991 | + "description": "Internal Server Error", |
| 6992 | + "content": { |
| 6993 | + "application/json": { |
| 6994 | + "schema": { |
| 6995 | + "type": "object", |
| 6996 | + "properties": { |
| 6997 | + "minted": { |
| 6998 | + "type": "string", |
| 6999 | + "format": "date-time" |
| 7000 | + }, |
| 7001 | + "success": { |
| 7002 | + "type": "boolean", |
| 7003 | + "enum": [false] |
| 7004 | + }, |
| 7005 | + "code": { |
| 7006 | + "type": "string", |
| 7007 | + "enum": ["InternalServerError"] |
| 7008 | + }, |
| 7009 | + "error": { |
| 7010 | + "$ref": "#/components/schemas/InternalServerError" |
| 7011 | + } |
| 7012 | + }, |
| 7013 | + "required": ["minted", "success", "code", "error"] |
| 7014 | + } |
| 7015 | + } |
| 7016 | + } |
| 7017 | + }, |
| 7018 | + "503": { |
| 7019 | + "description": "BungieServiceOffline", |
| 7020 | + "content": { |
| 7021 | + "application/json": { |
| 7022 | + "schema": { |
| 7023 | + "type": "object", |
| 7024 | + "properties": { |
| 7025 | + "minted": { |
| 7026 | + "type": "string", |
| 7027 | + "format": "date-time" |
| 7028 | + }, |
| 7029 | + "success": { |
| 7030 | + "type": "boolean", |
| 7031 | + "enum": [false] |
| 7032 | + }, |
| 7033 | + "code": { |
| 7034 | + "type": "string", |
| 7035 | + "enum": ["BungieServiceOffline"] |
| 7036 | + }, |
| 7037 | + "error": { |
| 7038 | + "$ref": "#/components/schemas/BungieServiceOffline" |
| 7039 | + } |
| 7040 | + }, |
| 7041 | + "required": ["minted", "success", "code", "error"] |
| 7042 | + } |
| 7043 | + } |
| 7044 | + } |
| 7045 | + } |
| 7046 | + } |
| 7047 | + } |
| 7048 | + }, |
6821 | 7049 | "/metrics/weapons/rolling-week": { |
6822 | 7050 | "get": { |
6823 | 7051 | "description": "Wet the top weapons in each slot over the past 168 hours (7 days)", |
|
0 commit comments