post/api/v1/two-way-sync/{spaceId}/files/push

Request

  • Base URL: https://falconer.com (the document declares no server; this is the origin it was published from)
  • URL: https://falconer.com/api/v1/two-way-sync/{spaceId}/files/push
  • Auth: none declared

Path parameters

spaceIdinteger required

Space id, from GET /spaces.

Headers

x-organization-idstring

Required when using OAuth bearer tokens.

Request body

pathstring

Path relative to the sync root. Pass this or fileNodeId.

fileNodeIdstring
commitMessagestring required
forceNewPullRequestboolean

Open a new pull request instead of updating an open one.

Response

The file was pushed, or there was nothing to push.

pathstring required
repoPathstring required
outcome'committed' | 'no_changes' | 'pull_request_opened' | 'pull_request_updated' required
commitShastring nullable required
commitUrlstring nullable required

Changes

No recorded changes to this operation across all 2 revisions of this API.