{"id":13638048,"url":"https://github.com/itimor/bindapi","last_synced_at":"2026-04-03T22:31:19.984Z","repository":{"id":39847826,"uuid":"129503193","full_name":"itimor/bindapi","owner":"itimor","description":"binddns restfull api开发","archived":false,"fork":false,"pushed_at":"2022-12-08T00:56:21.000Z","size":3982,"stargazers_count":5,"open_issues_count":5,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-03T01:12:07.215Z","etag":null,"topics":["bind","bindapi"],"latest_commit_sha":null,"homepage":"","language":"Python","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/itimor.png","metadata":{"files":{"readme":"README.rst","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":"2018-04-14T09:36:03.000Z","updated_at":"2021-04-24T15:34:57.000Z","dependencies_parsed_at":"2022-08-27T16:51:49.568Z","dependency_job_id":null,"html_url":"https://github.com/itimor/bindapi","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/itimor%2Fbindapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itimor%2Fbindapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itimor%2Fbindapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itimor%2Fbindapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itimor","download_url":"https://codeload.github.com/itimor/bindapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223805064,"owners_count":17205844,"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":["bind","bindapi"],"created_at":"2024-08-02T01:00:39.126Z","updated_at":"2026-04-03T22:31:19.941Z","avatar_url":"https://github.com/itimor.png","language":"Python","readme":"# bind dlz dns api\r\n\r\n# 设置token\r\n\r\n```\r\ncurl -X POST -d \"username=admin\u0026password=password123\" http://localhost:8000/api/api-token-auth/\r\n\r\n{\r\n    \"token\": \"ad0fd6577b32e0ca4a12bacd30e0155925a64a3b\"\r\n}\r\n```\r\n\r\n# 携带token获取records\r\n\r\n```\r\ncurl -H \"Authorization: token ad0fd6577b32e0ca4a12bacd30e0155925a64a3b\" http://localhost:8000/api/records/\r\n\r\n[\r\n    {\r\n        \"url\": \"http://127.0.0.1:8888/api/records/4/\",\r\n        \"id\": 4,\r\n        \"zone\": \"oo.com\",\r\n        \"name\": \"www\",\r\n        \"type\": \"A\",\r\n        \"value\": \"1.1.1.22\",\r\n        \"ttl\": 600,\r\n        \"mx_priority\": null,\r\n        \"serial\": null,\r\n        \"refresh\": null,\r\n        \"retry\": null,\r\n        \"expire\": null,\r\n        \"minimum\": null,\r\n        \"resp_person\": \"\",\r\n        \"primary_ns\": \"\",\r\n        \"create_time\": \"2018-04-14T19:29:10\",\r\n        \"update_time\": \"2018-04-14T19:29:34.311111\"\r\n    },\r\n    {\r\n        \"url\": \"http://127.0.0.1:8888/api/records/5/\",\r\n        \"id\": 5,\r\n        \"zone\": \"oo.com\",\r\n        \"name\": \"bbs\",\r\n        \"type\": \"CNAME\",\r\n        \"value\": \"www\",\r\n        \"ttl\": 600,\r\n        \"mx_priority\": null,\r\n        \"serial\": null,\r\n        \"refresh\": null,\r\n        \"retry\": null,\r\n        \"expire\": null,\r\n        \"minimum\": null,\r\n        \"resp_person\": null,\r\n        \"primary_ns\": null,\r\n        \"create_time\": \"2018-04-14T19:29:13\",\r\n        \"update_time\": \"2018-04-14T19:29:21\"\r\n    }\r\n]\r\n```","funding_links":[],"categories":["运维相关管理系统"],"sub_categories":["dns管理工具"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitimor%2Fbindapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitimor%2Fbindapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitimor%2Fbindapi/lists"}