curl --request PATCH \
--url https://api.icepanel.io/v1/organizations/{organizationId}/code-repos/{codeRepoId}/trees/{sha} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"codeRepoTree": [
{
"path": "<string>",
"sha": "<string>",
"type": "blob",
"language": "<string>",
"size": 123
}
]
}
'{}Manually update a file tree for a code repo reference and overwrite any existing synchronized file trees
curl --request PATCH \
--url https://api.icepanel.io/v1/organizations/{organizationId}/code-repos/{codeRepoId}/trees/{sha} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"codeRepoTree": [
{
"path": "<string>",
"sha": "<string>",
"type": "blob",
"language": "<string>",
"size": 123
}
]
}
'{}OK
The response is of type object.