publish_contributor_network_item
Publish a resource (cheatsheet, solver template, submission, inline content, or model reference) to a competition's contributor network.
Instructions
Publish a saved resource, a submitted text body, inline text, or a model reference.
Scope: contributor-network.write. kind must match source["from"]:
"cheatsheet" (needs source.cheatsheetId), "solver-template" (needs
source.solverTemplateId), "submission" (needs source.submissionId --
only for cheatsheet/solver-participation submissions), "inline" (needs
source.title plus source.content or source.solverCode), or
"model-reference" (needs source.modelName and source.commitHash).
track/model_id are required when kind=solver-template and must be
omitted when kind=model-reference.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| track | No | ||
| remark | No | ||
| source | Yes | ||
| model_id | No | ||
| competition_id | Yes | ||
| parent_contributor_network_item_id | No |