914 B
914 B
Meta and Attachment Shortcuts
Summary
This change adds high-level shortcuts for GitLink OpenAPI endpoints that were previously only reachable through Raw API:
meta +licenses→GET /api/licenses.jsonmeta +ignores→GET /api/ignores.jsonattachment +upload→POST /api/attachments.jsonattachment +delete→DELETE /api/attachments/{uuid}.json
User Value
- Maintainers can query license and
.gitignoretemplates before creating repositories. - Agents can upload files once, capture the returned attachment UUID/URL, and reuse it in Issue/PR/comment workflows.
- Destructive attachment deletion supports
--dry-runto preview the request before remote mutation.
Validation
- Unit tests cover query parameters, multipart upload fields, dry-run behavior, missing local files, and deletion.
- README and Skill docs include command examples and Agent safety guidance.