{"id":18328308,"url":"https://github.com/thorstenhans/get-latest-spin-cli-version","last_synced_at":"2026-07-01T17:31:42.202Z","repository":{"id":169105246,"uuid":"645026006","full_name":"ThorstenHans/get-latest-spin-cli-version","owner":"ThorstenHans","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-03T08:22:25.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-01T12:10:08.182Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThorstenHans.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-24T18:58:10.000Z","updated_at":"2024-06-03T08:22:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"6da23a51-395a-4793-999c-63eb8c44d502","html_url":"https://github.com/ThorstenHans/get-latest-spin-cli-version","commit_stats":null,"previous_names":["thorstenhans/get-latest-spin-cli-version"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ThorstenHans/get-latest-spin-cli-version","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThorstenHans%2Fget-latest-spin-cli-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThorstenHans%2Fget-latest-spin-cli-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThorstenHans%2Fget-latest-spin-cli-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThorstenHans%2Fget-latest-spin-cli-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThorstenHans","download_url":"https://codeload.github.com/ThorstenHans/get-latest-spin-cli-version/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThorstenHans%2Fget-latest-spin-cli-version/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35017089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-01T02:00:05.325Z","response_time":130,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T19:13:43.356Z","updated_at":"2026-07-01T17:31:42.182Z","avatar_url":"https://github.com/ThorstenHans.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# get-latest-spin-cli-version\n\nThis repository contains a Fermyon Spin application, that exposes information about the latest `spin` CLI version. To do so, a GitHub Personal Access Token (PAT) is used. The spin application picks it up from the environment variable called `github_token`.\n\nIf `github_token` is not provided, the app will respond to all requests with an HTTP status code `500`.\n\n## Available Endpoints\n\n- GET `/version` will always return the version of the latest stable release as `text/plain` (e.G. `1.4.1`)\n- GET `/version/stable` will return release information of the latest **stable** release as `application/json` (see sample response below)\n- GET `/version/canary` will return release information of the latest **canary** release as `application/json` (see sample response below)\n\n### Example Release Information\n\nSample response for `/version/stable`\n\n```json\n{\n    \"version\": \"1.4.2\",\n    \"commit_hash\": \"main\",\n    \"published_at\": \"2023-08-30T22:27:45Z\"\n}\n```\n\nSample response for `/version/canary`\n\n```json\n{\n    \"version\": \"canary\",\n    \"commit_hash\": \"16dd1339930123e6e9f1f9ec77bf058b72695afc\",\n    \"published_at\": \"2023-08-29T07:55:40Z\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorstenhans%2Fget-latest-spin-cli-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthorstenhans%2Fget-latest-spin-cli-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorstenhans%2Fget-latest-spin-cli-version/lists"}