organization

List a team's activity feeds

Changed on
get/teams/{id}/activities/feeds

Request

  • Base URL
    https://demo.gitea.com/api/v1
  • Auth
    • HTTP basic
    • or API key in query parameter token
    • or API key in query parameter access_token
    • or API key in header Authorization
    • or API key in query parameter sudo
    • or API key in header Sudo
    • or API key in header X-GITEA-OTP
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

idinteger required

id of the team

Query parameters

datestring date

the date of the activities to be found

pageinteger

page number of results to return (1-based)

limitinteger

page size of results

Response

ActivityFeedsList

act_user_idinteger

The ID of the user who performed the action

comment_idinteger

The ID of the comment associated with the activity (if applicable)

contentstring

Additional content or details about the activity

createdstring date-time

The date and time when the activity occurred

idinteger

The unique identifier of the activity

is_privateboolean

Whether this activity is from a private repository

op_type'create_repo' | 'rename_repo' | 'star_repo' | 'watch_repo' | 'commit_repo' | 'create_issue' | 'create_pull_request' | 'transfer_repo' | 'push_tag' | 'comment_issue' | 'merge_pull_request' | 'close_issue' | 'reopen_issue' | 'close_pull_request' | 'reopen_pull_request' | 'delete_tag' | 'delete_branch' | 'mirror_sync_push' | 'mirror_sync_create' | 'mirror_sync_delete' | 'approve_pull_request' | 'reject_pull_request' | 'comment_pull' | 'publish_release' | 'pull_review_dismissed' | 'pull_request_ready_for_review' | 'auto_merge_pull_request'

the type of action

ref_namestring

The name of the git reference (branch/tag) associated with the activity

repo_idinteger

The ID of the repository associated with the activity

user_idinteger

The ID of the user who receives/sees this activity

Example response

[
  {
    "repo": {
      "repo_transfer": {
        "teams": [
          {
            "units": [
              "repo.code",
              "repo.issues",
              "repo.ext_issues",
              "repo.wiki",
              "repo.pulls",
              "repo.releases",
              "repo.projects",
              "repo.ext_wiki"
            ],
            "units_map": {
              "repo.code": "read",
              "repo.ext_issues": "none",
              "repo.ext_wiki": "none",
              "repo.issues": "write",
              "repo.projects": "none",
              "repo.pulls": "owner",
              "repo.releases": "none",
              "repo.wiki": "admin"
            }
          }
        ]
      }
    }
  }
]

Changes