Packs

Pack source code upload complete

Note the completion of the upload of a Pack source code.

post/packs/{packId}/versions/{packVersion}/sourceCode/uploadComplete

Request

  • Base URL: https://docs.superhuman.com/apis/v1
  • URL: https://docs.superhuman.com/apis/v1/packs/{packId}/versions/{packVersion}/sourceCode/uploadComplete
  • Auth: HTTP bearer

Path parameters

packIdinteger required

ID of a Pack

packVersionstring required

Semantic version of a Pack

Request body

filenamestring required
codeHashstring required

A SHA-256 hash of the source code used to identify duplicate uploads.

Example request

{
  "filename": "main.ts"
}

Response

Confirmation of successful Pack asset creation.

requestIdstring required

An arbitrary unique identifier for this request.

Example response

{
  "requestId": "abc-123-def-456"
}

Changes

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