Backend Issue 4: Add Forgejo API Client Service #5
Labels
No Label
admin
agent-api
api
api-client
audit
backend
boards
cost-accounting
database
design
forgejo
frontend
issues
metrics
mutation
navigation
optional
phase:1
phase:2
phase:3
phase:4
phase:5
phase:6
polish
priority:high
priority:low
priority:medium
service
sync
usage-accuracy
validation
webhooks
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: null/Pipeline#5
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Create a small internal service for Forgejo REST calls.
Scope
httpx.AsyncClient.Suggested Service API
list_issues(owner, repo, state, page, limit)close_issue(owner, repo, issue_number)get_repository(owner, repo)Acceptance Criteria
Authorization: token <token>.owner/repowith state, page, and limit.PATCH /api/v1/repos/{owner}/{repo}/issues/{index}with{"state": "closed"}.Out Of Scope