OptionalapiOptionalbranchBranch the media belongs to. Use this when the pull request does not exist yet: the media is staged, and Argos publishes it — and posts the pull request comment — on its own once a pull request opens for that branch.
OptionalcompressConvert images to WebP before uploading, which is what makes a screenshot
upload fast. Set to false to upload the file exactly as it is.
OptionaldescriptionProse shown under the media in the pull request comment.
Paths of the files to upload.
OptionalprPull request to publish the media to. Argos keeps a single comment on it listing every media uploaded, edited in place.
OptionalprojectProject to upload to, as owner/project. Required when authenticating with
a personal access token; ignored with a project token, which already
identifies its project.
OptionalstateWhich half of a before/after pair these files are. Inferred from a file name
ending in -before or -after; pass this to override it.
OptionaltokenArgos token. Falls back to ARGOS_TOKEN and to CI tokenless
authentication, like every other Argos command.
OptionalvisibilityWho can open the share page. team requires an Argos session; public only
requires the URL.
Leave it out — the usual case — and the media takes the visibility of its
project in Argos: public for a public project, team for a private one.
team requires a paid plan.
Base URL of the Argos API.