sandbox pull requests

Create or update a draft pull request

Publishes sandbox changes through the sanctioned short-lived GitHub App token pipeline and returns the resulting draft pull request status.

post/api/public/v1/sandboxes/{sandboxId}/pull-request

Request

  • Base URL: https://sparkles.dev
  • URL: https://sparkles.dev/api/public/v1/sandboxes/{sandboxId}/pull-request
  • Auth: HTTP bearer

Path parameters

sandboxIdstring required

Request body

repostring

Response

Current draft pull request and check status

actionState'idle' | 'draft' | 'ready' | 'merged' | 'closed' required
detailsPendingboolean
repositorystring required

Changes

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