Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add endpoint to request upload token to S3 bucket

Closed
#92 0 comments 0 reactions 1 assignee View on GitHub

@chrisvire is already working on this.

Since Sep 25, 2026.

  • #98 by @chrisvire — merged

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
aws, typescript

Research direction

Start with src/lib/server/aws/vars.ts and the repository's documentation, then review the linked appbuilder-terraform issue 14 to understand the bucket configuration owned by the AppBuilders team. Done here means the TypeScript variables and documentation reflect the Support Data upload bucket without duplicating the Terraform work.

Written by the indexing model from the issue text.

Description

Technical Details

Update the documentation and src/lib/server/aws/vars.ts. Add an endpoint in /(api)/support/[id=uuid]/token? (need to add uuid route params filter as well)

Summary

We are adding a new role to Scriptoria: Support Agent. In Scriptoria, the Support Agent will be creating SupportData requests. These requests will use a uuid as the id of the request. The reason for this is that we want to be able to pass along a URL to and end-user that is not guessable. They will be entering the URL into Scripture App Builder, which will send a request to Scriptoria to retrieve a federated token with write access to a S3 Bucket + path (based on the SupportData request id). This will be an unauthenticated request since the end-user is not a Scriptoria user. Scriptoria will make an API call to BuildEngine (this project) to do the work of generating the federated token (since all interaction with AWS is done by BuildEngine). This will be similar to how BuildEngine creates a federated token for project upload/download.

We will also need to support creating a read token for the Support Agent. In Scriptoria, this will be an authenticated request, only allowed by Support Agents (and Super Users). Scriptoria will make an API call to BuildEngine to do the work of generating the federated token for reading.

Dominant language
TypeScript
Stars
1
Forks
2
Avg merge
2h 13m
Merged PRs (30d)
1

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sillsdev/appbuilder-buildengine-api

All issues in sillsdev/appbuilder-buildengine-api

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.