Skip to content

feat(roundabout): add /piece/{pieceCID} redirect endpoint - #634

Merged
BravoNatalie merged 4 commits into
mainfrom
feat/update-roundabout
Apr 15, 2026
Merged

feat(roundabout): add /piece/{pieceCID} redirect endpoint#634
BravoNatalie merged 4 commits into
mainfrom
feat/update-roundabout

Conversation

@BravoNatalie

Copy link
Copy Markdown
Contributor

Adds a dedicated GET/HEAD /piece/{pieceCID} route that resolves a Piece V2 CID to a presigned content URL via the Indexing Service, returning a 302 redirect. Returns 415 for Piece V1 CIDs and 400for non-piece CIDs.

@seed-deploy

seed-deploy Bot commented Apr 13, 2026

Copy link
Copy Markdown
View stack outputs
  • pr634-warm-upload-api-BillingDbStack

    Name Value
    customerTableName pr634-warm-upload-api-customer
    egressTrafficMonthlyTableName pr634-warm-upload-api-egress-traffic-monthly
    egressTrafficTableName pr634-warm-upload-api-egress-traffic-events
    spaceDiffArchiveTableName pr634-warm-upload-api-space-diff-archive
    spaceDiffTableName pr634-warm-upload-api-space-diff
    spaceSnapshotTableName pr634-warm-upload-api-space-snapshot
    usageTable pr634-warm-upload-api-usage
  • pr634-warm-upload-api-BillingStack

    Name Value
    ApiEndpoint https://d2xydnbqh5.execute-api.us-east-2.amazonaws.com
    billingCronHandlerURL https://66d7ajyctnsl6s2nxwghrjva4m0hxshp.lambda-url.us-east-2.on.aws/
    CustomDomain https://pr634.billing.warm.storacha.network
    EgressTrafficQueueURL https://sqs.us-east-2.amazonaws.com/505595374361/pr634-warm-upload-api-egress-traffic-queue
  • pr634-warm-upload-api-CarparkStack

    Name Value
    BucketName pr634-warm-upload-api-carpark-0
    Region us-east-2
  • pr634-warm-upload-api-RoundaboutStack

    Name Value
    ApiEndpoint https://staging.roundabout.web3.storage/
    CustomDomain Using ROUNDABOUT_API_URL - no custom domain
  • pr634-warm-upload-api-UcanInvocationStack

    Name Value
    agentMessageBucketName pr634-warm-upload-api-workflow-store-0
  • pr634-warm-upload-api-UploadApiStack

    Name Value
    ApiEndpoints ["https://l65evw23g7.execute-api.us-east-2.amazonaws.com"]
    CustomDomains ["https://pr634.up.warm.storacha.network"]
  • pr634-warm-upload-api-BusStack

  • pr634-warm-upload-api-FilecoinStack

  • pr634-warm-upload-api-UcanFirehoseStack

  • pr634-warm-upload-api-UploadDbStack

@alanshaw

Copy link
Copy Markdown
Member

@BravoNatalie something to be aware of - there are actually 2 R2 buckets (carpark-prod-0 and carpark-prod-1) and I believe roundabout only considers 1 of them....

indexingService = new Client({ serviceURL: url })
}

const locateContent = contentLocationResolver({

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I think here you might need to check 2 buckets...

@seed-deploy
seed-deploy Bot temporarily deployed to pr634 April 15, 2026 20:09 Inactive
@BravoNatalie
BravoNatalie merged commit 9080fdc into main Apr 15, 2026
3 checks passed
@BravoNatalie
BravoNatalie deleted the feat/update-roundabout branch April 15, 2026 20:15
@seed-deploy
seed-deploy Bot temporarily deployed to pr634 April 15, 2026 20:18 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants