Skip to main content
POST
Batch upload raw files synchronously — single commit via Git Blob/Tree API

Authorizations

Authorization
string
header
required

IDM-issued JWT. Obtain via the IDM authentication flow and pass as: Bearer

Headers

X-ActionId
string
default:""

A logging ID of the request. It is propagated through Phrase systems, making it easier to connect logs from various services. If no ActionId is sent with a request, one will be generated by Bifrost and returned with the response.

Body

application/json
path
object
required

Target branch path — owner, repo, branch to write files to

files
object[]
required

List of files to upload

Minimum array length: 1
credentials
any
default:""

Credentials for Github2 connector

connectorUuid
string
default:""

Connector UUID if using stored credentials

configuration
object

Github2 configuration

Response

200 - application/json

Successful operation. If X-ResponseType is set to 'ID' or no value is sent in the header, the file is saved and can be retrieved by sending a GET request to this endpoint. If X-ResponseType is set to 'OBJECT', the file is returned as a stream.

success
boolean
errors
object[]
{key}
any