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": [
{
"language": "<string>",
"path": "<string>",
"sha": "<string>",
"size": 123,
"type": "blob"
}
]
}'
{}
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": [
{
"language": "<string>",
"path": "<string>",
"sha": "<string>",
"size": 123,
"type": "blob"
}
]
}'
{}
OK
The response is of type object
.