Accept a third party's file for a piece
accept_contributionAccepts a file a third party sent through a guest upload link, so the piece can use it. The first acceptance is the one that counts (repeating it changes nothing: already_accepted) and a file the owner uploaded needs none (not_a_contribution). permission_scope is piece (this piece only, the default) or author (the creator's pieces, only when the link asked for it); a guest who withdrew consent cannot be accepted. Only the piece's owner. Requires write. $0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes | The `assetId` of the contributed file. | |
| project_id | Yes | ||
| permission_scope | No | This piece only (default), or the creator's pieces when the guest consented to that. |