GetGitRepositoryLog
Retrieves the code synchronization logs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:GetGitRepositoryLog |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
The workspace ID, used for execution context and permission validation. |
12345 |
| GitRepositoryId |
string |
Yes |
The Git repository configuration ID. |
example |
| Offset |
integer |
No |
The starting byte offset. |
1 |
| Length |
integer |
No |
The number of bytes to read, up to 256 KB. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
request-id |
| LogContent |
string |
The log text segment. |
example |
| TotalLength |
integer |
The total number of bytes of the current log. |
1 |
| NextOffset |
integer |
The byte offset for the next read. |
1 |
Examples
Success response
JSON format
{
"RequestId": "request-id",
"LogContent": "example",
"TotalLength": 1,
"NextOffset": 1
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.