Skip to main content

CrowdyStudioGitHubPutFileInput

No description

input CrowdyStudioGitHubPutFileInput {
appId: BigInt!
projectId: String!
path: String!
content: String!
message: String!
sha: String
expectedCommitSha: String!
}

Fields​

CrowdyStudioGitHubPutFileInput.appId ● BigInt! non-null scalar​

CrowdyStudioGitHubPutFileInput.projectId ● String! non-null scalar​

CrowdyStudioGitHubPutFileInput.path ● String! non-null scalar​

CrowdyStudioGitHubPutFileInput.content ● String! non-null scalar​

CrowdyStudioGitHubPutFileInput.message ● String! non-null scalar​

CrowdyStudioGitHubPutFileInput.sha ● String scalar​

Blob SHA of the file being replaced. Optional: the server resolves it from the tree at expectedCommitSha, which is the lock that matters. When sent it must agree with that tree.

CrowdyStudioGitHubPutFileInput.expectedCommitSha ● String! non-null scalar​

The project githubSha the writer read. The write is refused with GITHUB_STALE_SHA when the project has moved on, so two editors cannot silently interleave.

Member Of​

crowdyStudioGitHubPutFile mutation