@argos-ci/core
    Preparing search index...

    Function uploadMedia

    • Upload standalone images or videos to Argos and get back shareable URLs with ready-to-paste Markdown.

      Not tied to a build or a test run: this is for the screenshot or screen recording you want to put in a pull request, a changelog or a chat message.

      Argos stores the bytes as given and serves them from its image CDN, so a media is ready the moment the upload finishes — there is no processing to wait on.

      Parameters

      Returns Promise<
          {
              branch: string
              | null;
              contentType: string;
              createdAt: string;
              description: string | null;
              expiresAt: string | null;
              fileUrl: string;
              height: number | null;
              id: string;
              markdown: string;
              name: string;
              posterUrl: string | null;
              prNumber: number | null;
              sizeBytes: number;
              stage: "staged" | "published";
              state: "before" | "after" | null;
              status: "pending" | "ready";
              url: string;
              version: number;
              versionCount: number;
              visibility: "team" | "public";
              width: number | null;
          }[],
      >