Content

Negotiate missing CAS content

Negotiate which content SHAs are missing for the project. Returns presigned PUT URLs for missing content. Used internally by the SDK for site files, function source, migration SQL refs, and large-manifest pre-uploads. Storage is globally shared (one S3 object per SHA across the platform); presence is project-scoped via internal.plan_claims.

post/content/v1/plans

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/content/v1/plans
  • Auth: API key in header apikey

Request body

Response

Plan created (or refreshed). Returns plan_id, expires_at, missing[], entries[].

plan_idstring required
expires_atstring date-time required

Example response

{
  "missing": [
    {
      "sha256": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
    }
  ],
  "entries": [
    {
      "sha256": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.