{"id":18686857,"url":"https://github.com/yakiyo/dinx","last_synced_at":"2026-05-19T10:36:12.804Z","repository":{"id":184765447,"uuid":"672441680","full_name":"Yakiyo/dinx","owner":"Yakiyo","description":"An index for dart sdk versions","archived":false,"fork":false,"pushed_at":"2024-04-12T01:04:03.000Z","size":99,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-12T09:01:43.756Z","etag":null,"topics":["dart","dart-sdk","index","rest-api"],"latest_commit_sha":null,"homepage":"https://dinx.onrender.com/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yakiyo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-07-30T05:11:43.000Z","updated_at":"2024-04-15T05:12:57.477Z","dependencies_parsed_at":null,"dependency_job_id":"8d9413f8-0463-4c77-8258-03b3ef9cf5ed","html_url":"https://github.com/Yakiyo/dinx","commit_stats":{"total_commits":144,"total_committers":2,"mean_commits":72.0,"dds":"0.27083333333333337","last_synced_commit":"a13510bd2418581259e05b1974931143d0a2eff9"},"previous_names":["yakiyo/dinx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yakiyo%2Fdinx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yakiyo%2Fdinx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yakiyo%2Fdinx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yakiyo%2Fdinx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yakiyo","download_url":"https://codeload.github.com/Yakiyo/dinx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239542141,"owners_count":19656156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["dart","dart-sdk","index","rest-api"],"created_at":"2024-11-07T10:29:32.171Z","updated_at":"2026-05-19T10:36:07.782Z","avatar_url":"https://github.com/Yakiyo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dinx\n[![CI](https://github.com/Yakiyo/dinx/actions/workflows/ci.yml/badge.svg)](https://github.com/Yakiyo/dinx/actions/workflows/ci.yml)\n\nAn index for the dart sdk versions. \n\nThis is mainly made for use in [dsm](https://github.com/Yakiyo/dsm), a version manager for the dart sdk. It scrapes google's storage api somewhat to get all available versions.\n\n## Endpoints\n\nEvery endpoint returns json content. The result is contained within the `body` field. That is, all results are \n```json\n{\n    \"body\": // the actual result\n}\n```\nThe type of the actual result depends on the endpoint used.\n\nIf there is any error, an `error` key is provided.\n```json\n{\n    \"error\": \"error message\"\n}\n```\n\n## `/versions/all`\nReturns all version\n\nType: `Map\u003cstring, string[]\u003e`\n```json\n{\n    \"body\": [\n        \"1.0.0\",\n        \"1.1.0\",\n        ...\n    ]\n}\n```\n\n## `/versions/map`\nReturns all versions, but instead of all versions merged in an array, they are each separated by their channels\nType: `Map\u003cstring, Map\u003cstring, string[]\u003e\u003e`\n```json\n{\n    \"body\": {\n        \"stable\": [\n            \"1.0.0\",\n            \"1.1.0\",\n            ...\n        ],\n        \"beta\": [\n            \"1.0.0-1.2.beta\",\n            \"1.1.0-2.1.beta\",\n            ...\n        ],\n        \"dev\": [\n            \"1.0.0-1.0.dev\",\n            \"1.1.0-2.6.dev\",\n            ...\n        ],\n    }\n}\n```\n\n## `/versions/{channel}`\nReturns all versions of a specific channel. This will return an error if channel is invalid (not one of stable, beta, dev)\n\nType: `Map\u003cstring, string[]\u003e`\n```json\n{\n    \"body\": [\n        \"1.0.0\",\n        \"1.0.1\",\n        ...\n    ]\n}\n```\n\n## `versions/latest/{channel}`\nReturns info about the latest version of a specific channel. If channel is not provided, it defaults to stable. If provided, it must be valid, otherwise returns an error. \nType: `Map\u003cstring, Map\u003cstring, string\u003e`\n```json\n{\n    \"body\": {\n        \"date\": \"string\",\n        \"revision\": \"string\",\n        \"version\": \"string\",\n        \"channel\": \"string\",\n    }\n}\n```\n\nFor any queries or bugs, please open a new [issue](https://github.com/Yakiyo/dinx/issues)\n\n## Author\n\n**dinx** © [Yakiyo](https://github.com/Yakiyo). Authored and maintained by Yakiyo.\n\nReleased under [MIT](https://opensource.org/licenses/MIT) License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyakiyo%2Fdinx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyakiyo%2Fdinx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyakiyo%2Fdinx/lists"}