{
"Action": "CreateBinaryFiles",
"DepotId": 809883,
"UserId": 1,
"SrcRef": "master",
"DestRef": "master",
"Message": "create a binary file2",
"LastCommitSha": "1db4eabbded90a7669094b3e5162d9098840a2cf",
"GitFiles": [
{
"Path": "src/main/binary2.test",
"Content": "SSUyN20lMjBhJTIwYmluYXJ5JTIwZmlsZSUyMHRoYXQlMjBuZWVkcyUyMHRvJTIwYmUlMjBkZWNyeXB0ZWQu",
"NewPath": ""
}
]
}
curl --location -g --request POST 'https://.coding.net/open-api?Action= CreateBinaryFiles' \
--header 'AccessToken;' \
--header 'Action;' \
--header 'Content-Type: application/json' \
--data-raw '{
"Action": "CreateBinaryFiles",
"DepotId": 809883,
"UserId": 1,
"SrcRef": "master",
"DestRef": "master",
"Message": "create a binary file2",
"LastCommitSha": "1db4eabbded90a7669094b3e5162d9098840a2cf",
"GitFiles": [
{
"Path": "src/main/binary2.test",
"Content": "SSUyN20lMjBhJTIwYmluYXJ5JTIwZmlsZSUyMHRoYXQlMjBuZWVkcyUyMHRvJTIwYmUlMjBkZWNyeXB0ZWQu",
"NewPath": ""
}
]
}'{
"Response": null
}