{"id":17211489,"url":"https://github.com/sloy/retrofit-dynamic-endpoint-sample","last_synced_at":"2025-08-24T14:12:47.309Z","repository":{"id":139541979,"uuid":"49601365","full_name":"Sloy/retrofit-dynamic-endpoint-sample","owner":"Sloy","description":"Quick app to demonstrate dynamic endpoints in retrofit","archived":false,"fork":false,"pushed_at":"2016-01-14T07:34:31.000Z","size":89,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T11:23:06.774Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/Sloy.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}},"created_at":"2016-01-13T20:58:20.000Z","updated_at":"2016-01-13T22:59:57.000Z","dependencies_parsed_at":"2023-03-17T22:45:35.285Z","dependency_job_id":null,"html_url":"https://github.com/Sloy/retrofit-dynamic-endpoint-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sloy%2Fretrofit-dynamic-endpoint-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sloy%2Fretrofit-dynamic-endpoint-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sloy%2Fretrofit-dynamic-endpoint-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sloy%2Fretrofit-dynamic-endpoint-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sloy","download_url":"https://codeload.github.com/Sloy/retrofit-dynamic-endpoint-sample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245459405,"owners_count":20618847,"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":[],"created_at":"2024-10-15T02:57:26.104Z","updated_at":"2025-03-25T12:23:23.071Z","avatar_url":"https://github.com/Sloy.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Retrofit Dynamic Endpoint Sample\nI just wanted to quickly test if Retrofit handles a mutable endpoint whose url can be modified. Since it works fine, I'll just share it here too.\n\n### The magic \n```java\npublic class MutableEndpoint implements Endpoint {\n\n    private String url;\n\n    public void setUrl(String url) {\n        this.url = url;\n    }\n\n    @Override\n    public String getUrl() {\n        return url;\n    }\n\n    @Override\n    public String getName() {\n        return url;\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsloy%2Fretrofit-dynamic-endpoint-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsloy%2Fretrofit-dynamic-endpoint-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsloy%2Fretrofit-dynamic-endpoint-sample/lists"}