Create a new branch if it doesn’t exist, or update the branch if it already exists.
The repository name
The URL-encoded branch name
The branch name
An ID representing the branch HEAD. For example, a commit SHA.
A timestamp indicating when the branch was last synced
An optional ID used to prevent older data from overwriting newer data. If no sequence ID is included, the newly submitted data will always be saved.
An array of flag references found on the branch
A timestamp of the current commit