List file uploads

List repo-scoped file uploads.

Endpoints

GET /api/v1/teams/{team_slug}/repos/{repo_slug}/uploads
GET /api/v1/users/{username}/repos/{repo_slug}/uploads
Authenticated Repo scoped

Example

curl --request GET \
  --header "Authorization: Bearer $GHIT_API_TOKEN" \
  "$GHIT_API_URL/v1/teams/platform/repos/website/uploads"

Response

Returns a paginated upload list.

Errors

  • 403 Forbidden when the caller cannot access the repo.
  • 404 Not Found when the repo does not exist or is inaccessible.