client.scripts.post_javascript_git_checkout
A method of the Scripts endpoint.
- post_javascript_git_checkout(id: int) Response
Checkout content that the existing git_ref points to and save to the object
API URL:
POST /scripts/javascript/{id}/git/checkoutimport civis client = civis.APIClient() response = client.scripts.post_javascript_git_checkout(...)
- Parameters:
- idint
The ID of the item.
- Returns:
civis.Response- contentstr
The file’s contents.
- typestr
The file’s type.
- sizeint
The file’s size.
- file_hashstr
The SHA of the file.