client.scripts.list_javascript_git

A method of the Scripts endpoint.

list_javascript_git(id: int) ListResponse

Get the git metadata attached to an item

API URL: GET /scripts/javascript/{id}/git

import civis
client = civis.APIClient()
response = client.scripts.list_javascript_git(...)

Warning

The method name <client>.scripts.list_javascript_git is deprecated and will be removed at civis-python v3.0.0 (scheduled for February 2027). Please switch to <client>.scripts.get_javascript_git for the same method.

Parameters:
idint

The ID of the item.

Returns:
civis.Response
  • git_refstr

    A git reference specifying an unambiguous version of the file. Can be a branch name, tag or the full or shortened SHA of a commit.

  • git_branchstr

    The git branch that the file is on.

  • git_pathstr

    The path of the file in the repository.

  • git_repocivis.Response
    • idint

      The ID for this git repository.

    • repo_urlstr

      The URL for this git repository.

    • created_at : str (time)

    • updated_at : str (time)

  • git_ref_typestr

    Specifies if the file is versioned by branch or tag.

  • pull_from_gitbool

    Automatically pull latest commit from git. Only works for scripts and workflows (assuming you have the feature enabled)