Services
- class Services(session_kwargs, client, return_type='raw')
Civis API
/servicesendpoint.Methods
delete_deployments(service_id, deployment_id)Delete a Service deployment
delete_projects(id, project_id)Remove a Service from a project
delete_shares_groups(id, group_id)Revoke the permissions a group has on this object
delete_shares_users(id, user_id)Revoke the permissions a user has on this object
delete_tokens(id, token_id)Revoke a token by id
get(id)Get a Service
get_deployments(service_id, deployment_id)Get details about a Service deployment
list(*[, hidden, archived, author, status, ...])List Services
list_dependencies(id, *[, user_id])List dependent objects for this object
list_deployments(service_id, *[, ...])List deployments for a Service
list_deployments_logs(id, deployment_id, *)Get the logs for a Service deployment
list_projects(id, *[, hidden])List the projects a Service belongs to
list_shares(id)List users and groups permissioned on this object
list_tokens(id)List tokens
patch(id, *[, name, description, ...])Update some attributes of this Service
post(*[, name, description, type, ...])Create a Service
post_clone(id)Clone this Service
post_deployments(service_id, *[, deployment_id])Deploy a Service
post_redeploy(service_id, *[, deployment_id])Redeploy a Service
post_tokens(id, name, *[, machine_token, ...])Create a new long-lived service token
put(id, *[, name, description, ...])Replace all attributes of this Service
put_archive(id, status)Update the archive status of this object
put_projects(id, project_id)Add a Service to a project
put_shares_groups(id, group_ids, ...[, ...])Set the permissions groups has on this object
put_shares_users(id, user_ids, ...[, ...])Set the permissions users have on this object
put_transfer(id, user_id, ...[, email_body, ...])Transfer ownership of this object to another user