Page MenuHomeWrite.as

Support uploading generic files
Closed, ResolvedPublic

Description

Overview

Add a Write.as API endpoint that accepts generic files and stores them in an Amazon S3 bucket.

Background

This supports the #fight_back_news migration.

Implementation

This should return a JSON object very similar to (if not the exact same as) the Snap.as API.

  • Objects should keep their original filename
    • If an object with the same filename already exists, append an incremented number or random string to the name of the new object
  • Objects should be stored with an attachment content disposition, so viewing them automatically starts a download

Revisions and Commits

Related Objects

StatusAssignedTask
Resolvedmatt
Resolvedmatt

Event Timeline

matt triaged this task as Medium-High priority.Jul 20 2021, 6:20 PM
matt created this task.
matt created this object with visibility "All Users".
matt added a parent task: Restricted Maniphest Task.Jul 20 2021, 6:50 PM
matt moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jul 20 2021, 9:31 PM
matt changed the visibility from "All Users" to "Public (No Login Required)".Sep 2 2021, 8:39 PM
matt added a commit: Restricted Diffusion Commit.Sep 2 2021, 8:40 PM
matt added a commit: Restricted Diffusion Commit.
matt added a commit: Restricted Diffusion Commit.