client.projects.put
A method of the Projects endpoint.
- put(project_id: int, *, name: str = None, description: str = None, note: str = None) Response
Update a project
API URL:
PUT /projects/{project_id}import civis client = civis.APIClient() response = client.projects.put(...)
- Parameters:
- project_idint
- namestr, optional
The name of this project.
- descriptionstr, optional
A description of the project.
- notestr, optional
Notes for the project.
- Returns:
civis.Response- idint
The ID for this project.
- author
civis.Response - idint
The ID of this user.
- namestr
This user’s name.
- usernamestr
This user’s username.
- initialsstr
This user’s initials.
- onlinebool
Whether this user is online.
- author
- namestr
The name of this project.
- descriptionstr
A description of the project.
- usersList[
civis.Response] Users who can see the project.
- idint
The ID of this user.
- namestr
This user’s name.
- usernamestr
This user’s username.
- initialsstr
This user’s initials.
- onlinebool
Whether this user is online.
- usersList[
auto_share : bool
created_at : str (time)
updated_at : str (time)
- tablesList[
civis.Response] schema : str
name : str
row_count : int
column_count : int
created_at : str (time)
updated_at : str (time)
- tablesList[
- surveysList[
civis.Response] - idint
The item’s ID.
created_at : str (time)
updated_at : str (time)
- surveysList[
- scriptsList[
civis.Response] - idint
The item’s ID.
created_at : str (time)
updated_at : str (time)
name : str
type : str
finished_at : str (time)
state : str
- last_run
civis.Response state : str
updated_at : str (time)
- last_run
- scriptsList[
- importsList[
civis.Response] - idint
The item’s ID.
created_at : str (time)
updated_at : str (time)
name : str
type : str
finished_at : str (time)
state : str
- last_run
civis.Response state : str
updated_at : str (time)
- last_run
- importsList[
- exportsList[
civis.Response] - idint
The item’s ID.
created_at : str (time)
updated_at : str (time)
name : str
type : str
finished_at : str (time)
state : str
- last_run
civis.Response state : str
updated_at : str (time)
- last_run
- exportsList[
- modelsList[
civis.Response] - idint
The item’s ID.
created_at : str (time)
updated_at : str (time)
name : str
state : str
- modelsList[
- notebooksList[
civis.Response] - idint
The item’s ID.
created_at : str (time)
updated_at : str (time)
name : str
current_deployment_id : int
- last_deploy
civis.Response state : str
updated_at : str (time)
- last_deploy
- notebooksList[
- servicesList[
civis.Response] - idint
The item’s ID.
created_at : str (time)
updated_at : str (time)
name : str
current_deployment_id : int
- last_deploy
civis.Response state : str
updated_at : str (time)
- last_deploy
- servicesList[
- workflowsList[
civis.Response] - idint
The item’s ID.
created_at : str (time)
updated_at : str (time)
name : str
state : str
- last_execution
civis.Response state : str
updated_at : str (time)
- last_execution
- workflowsList[
- reportsList[
civis.Response] - idint
The item’s ID.
created_at : str (time)
updated_at : str (time)
name : str
state : str
- reportsList[
- script_templatesList[
civis.Response] - idint
The item’s ID.
created_at : str (time)
updated_at : str (time)
name : str
- script_templatesList[
- filesList[
civis.Response] - idint
The item’s ID.
created_at : str (time)
updated_at : str (time)
file_name : str
file_size : int
expired : bool
- filesList[
- enhancementsList[
civis.Response] - idint
The item’s ID.
created_at : str (time)
updated_at : str (time)
name : str
- last_run
civis.Response state : str
updated_at : str (time)
- last_run
- enhancementsList[
- projectsList[
civis.Response] - idint
The item’s ID.
created_at : str (time)
updated_at : str (time)
name : str
description : str
- projectsList[
- all_objectsList[
civis.Response] project_id : int
object_id : int
object_type : str
fco_type : str
sub_type : str
name : str
icon : str
author : str
updated_at : str (time)
auto_share : bool
- archivedstr
The archival status of the requested item(s).
- hiddenbool
The hidden status of the item.
- my_permission_levelstr
Your permission level on the object. One of “read”, “write”, or “manage”.
- all_objectsList[
note : str
- can_current_user_enable_auto_sharebool
A flag for if the current user can enable auto-sharing mode for this project.
- hiddenbool
The hidden status of the item.
- archivedstr
The archival status of the requested item(s).
- parent_project
civis.Response - idint
The parent project’s ID.
- nameint
The parent project’s name.
- parent_project
- my_permission_levelstr
Your permission level on the object. One of “read”, “write”, or “manage”.