Forgejo API
POST/activitypub/repository-id/{repository-id}/inbox

Send an activity to a repository inbox

Submits an activity to a repository's ActivityPub inbox. Supply repository-id to identify the target repository and optionally include the activity data in the request body.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 parameter
repository-idintegerrequired
The repository's numeric identifier, formatted as a 64-bit integer.

1 status code
204Returns no content after the activity is accepted by the repository inbox.

Error handling

repository-id must be a 64-bit integer that identifies the target repository. If you include a request body, it must be an object containing the repository activity data.