{"id":18985955,"url":"https://github.com/go-http/seafile","last_synced_at":"2025-10-16T19:37:59.759Z","repository":{"id":57545181,"uuid":"107511177","full_name":"go-http/seafile","owner":"go-http","description":"Golang版本的Seafile客户端","archived":false,"fork":false,"pushed_at":"2022-01-10T10:16:49.000Z","size":50,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-01T12:45:28.195Z","etag":null,"topics":["api","golang","sdk","seafile"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/go-http.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":"2017-10-19T07:13:32.000Z","updated_at":"2022-01-28T01:24:15.000Z","dependencies_parsed_at":"2022-09-18T13:41:23.642Z","dependency_job_id":null,"html_url":"https://github.com/go-http/seafile","commit_stats":null,"previous_names":["athurg/seafile-go-sdk"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-http%2Fseafile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-http%2Fseafile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-http%2Fseafile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-http%2Fseafile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-http","download_url":"https://codeload.github.com/go-http/seafile/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239994005,"owners_count":19730780,"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":["api","golang","sdk","seafile"],"created_at":"2024-11-08T16:28:51.783Z","updated_at":"2025-10-16T19:37:54.715Z","avatar_url":"https://github.com/go-http.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Seafile SDK For Golang\n\n[![GoDoc](https://godoc.org/github.com/athurg/seafile-go-sdk?status.svg)](http://godoc.org/github.com/athurg/seafile-go-sdk)\n\nGolang版本的Seafile Web API库\n\n# 当前支持的v2接口\n- [x] 基础接口（Basic）\n  - [x] Token获取（AuthToken）\n  - [x] Ping\n  - [x] 认证Ping（Auth Ping）\n- [x] 设备\n  - [x] 获取用户设备\n  - [x] 注销用户设备\n- [x] 账户（Account）\n  - [x] 获取账户信息\n  - [x] 获取服务器信息\n- [ ] 资料库\n  - [x] 获取资料库列表\n  - [x] 获取资料库上传链接\n  - [x] 获取资料库更新链接\n  - [x] 通过资料库名获取资料库\n- [ ] 目录\n  - [x] 获取目录内容\n  - [x] 创建目录\n  - [x] 重命名目录\n  - [x] 删除目录\n- [ ] 文件\n  - [x] 上传文件\n  - [x] 下载文件\n  - [x] 更新文件\n  - [x] 删除文件\n  - [x] 重命名文件\n  - [x] 复制到其他资料库 \n  - [x] 移动到其他资料库 \n\n# 当前支持的v2.1接口\n- [x] 资料库\n  - [x] 获取资料库信息\n  - [x] 获取上传链接\n  - [x] 获取更新链接\n- [ ] 文件夹\n  - [x] 创建文件夹\n  - [x] 删除文件夹\n  - [ ] 重命名文件夹\n  - [ ] 恢复文件夹版本\n  - [x] 获取文件夹内容\n  - [x] 获取文件夹（统计）信息\n- [ ] 文件\n  - [x] 获取文件信息\n  - [x] 创建文件\n  - [x] 更新文件\n  - [x] 删除文件\n  - [ ] 锁定文件\n  - [ ] 更名文件\n  - [ ] 复制文件\n  - [ ] 移动文件\n  - [ ] 恢复文件版本\n\n# TBD\n由于目前Seafile官方的文档并不完善，尤其是错误处理方面。有时候用HTTP状态吗、有时候用字符串、有时候用非固定的JSON字符串。\n\n所以这部分并没有很好的办法来处理。\n\n只有后期建议官方完善后再做处理，或者遇到问题后做相应的处理。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-http%2Fseafile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-http%2Fseafile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-http%2Fseafile/lists"}