{"openapi":"3.1.0","info":{"title":"AtlasOS Statistics API","description":"Read public AtlasOS download counts and GitHub star statistics.","license":{"name":""},"version":"0.1.0"},"servers":[{"url":"https://api.atlasos.net","description":"Production"}],"paths":{"/":{"get":{"tags":["handlers"],"summary":"List download counts","description":"Returns cumulative download counts by product and version key.","operationId":"listDownloadCounts","responses":{"200":{"description":"Download counts in record ID order","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Download"}}}}},"500":{"description":"Download counts could not be read","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/recent-stars":{"get":{"tags":["handlers"],"summary":"List recent Atlas GitHub stargazers","description":"Returns up to five recently recorded public GitHub profiles that starred Atlas-OS/Atlas.","operationId":"listRecentStargazers","responses":{"200":{"description":"Recently recorded stargazers, newest record first","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RecentStars"}}}}},"500":{"description":"Recent stargazers could not be read","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/stars":{"get":{"tags":["handlers"],"summary":"Get the Atlas GitHub star count","description":"Returns the latest recorded total for the Atlas-OS/Atlas repository.","operationId":"getStarCount","responses":{"200":{"description":"Recorded GitHub repository star count","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Stars"}}}},"404":{"description":"No star count has been recorded","content":{"text/plain":{"schema":{"type":"string"}}}},"500":{"description":"The star count could not be read","content":{"text/plain":{"schema":{"type":"string"}}}}}}}},"components":{"schemas":{"Download":{"type":"object","required":["id","version","count"],"properties":{"count":{"type":"integer","format":"int64"},"id":{"type":"integer","format":"int64"},"version":{"type":"string"}}},"RecentStars":{"type":"object","required":["id","username","avatar","ghid"],"properties":{"avatar":{"type":"string"},"ghid":{"type":"integer","format":"int64"},"id":{"type":"integer","format":"int64"},"username":{"type":"string"}}},"Stars":{"type":"object","required":["id","count"],"properties":{"count":{"type":"integer","format":"int64"},"id":{"type":"integer","format":"int64"}}}}}}