mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-08 12:27:47 +00:00
Update python SDK docs: 15116515953
This commit is contained in:
@@ -15,11 +15,11 @@ All URIs are relative to *https://sailpoint.api.identitynow.com/v2025*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**get-pending-task-headers**](#get-pending-task-headers) | **HEAD** `/task-status/pending-tasks` | Retrieve Pending Task List Headers
|
||||
[**get-pending-tasks**](#get-pending-tasks) | **GET** `/task-status/pending-tasks` | Retrieve Pending Task Status List
|
||||
[**get-task-status**](#get-task-status) | **GET** `/task-status/{id}` | Get Task Status by ID
|
||||
[**get-task-status-list**](#get-task-status-list) | **GET** `/task-status` | Retrieve Task Status List
|
||||
[**update-task-status**](#update-task-status) | **PATCH** `/task-status/{id}` | Update Task Status by ID
|
||||
[**get-pending-task-headers**](#get-pending-task-headers) | **HEAD** `/task-status/pending-tasks` | Retrieve pending task list headers
|
||||
[**get-pending-tasks**](#get-pending-tasks) | **GET** `/task-status/pending-tasks` | Retrieve pending task status list
|
||||
[**get-task-status**](#get-task-status) | **GET** `/task-status/{id}` | Get task status by id
|
||||
[**get-task-status-list**](#get-task-status-list) | **GET** `/task-status` | Retrieve task status list
|
||||
[**update-task-status**](#update-task-status) | **PATCH** `/task-status/{id}` | Update task status by id
|
||||
|
||||
|
||||
## get-pending-task-headers
|
||||
@@ -34,7 +34,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
configuration.experimental = True
|
||||
```
|
||||
:::
|
||||
Retrieve Pending Task List Headers
|
||||
Retrieve pending task list headers
|
||||
Responds with headers only for list of task statuses for pending tasks.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-pending-task-headers)
|
||||
@@ -83,7 +83,7 @@ with ApiClient(configuration) as api_client:
|
||||
count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False)
|
||||
|
||||
try:
|
||||
# Retrieve Pending Task List Headers
|
||||
# Retrieve pending task list headers
|
||||
|
||||
TaskManagementApi(api_client).get_pending_task_headers(x_sail_point_experimental=x_sail_point_experimental)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -108,7 +108,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
configuration.experimental = True
|
||||
```
|
||||
:::
|
||||
Retrieve Pending Task Status List
|
||||
Retrieve pending task status list
|
||||
Retrieve a list of statuses for pending tasks. Types of tasks include account and entitlement aggregation and other general background processing tasks. Data for tasks older than 90 days will not be returned.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-pending-tasks)
|
||||
@@ -158,7 +158,7 @@ with ApiClient(configuration) as api_client:
|
||||
count = False # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False)
|
||||
|
||||
try:
|
||||
# Retrieve Pending Task Status List
|
||||
# Retrieve pending task status list
|
||||
|
||||
results = TaskManagementApi(api_client).get_pending_tasks(x_sail_point_experimental=x_sail_point_experimental)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -186,7 +186,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
configuration.experimental = True
|
||||
```
|
||||
:::
|
||||
Get Task Status by ID
|
||||
Get task status by id
|
||||
Get task status by task ID. Types of tasks include account and entitlement aggregation and other general background processing tasks. Data for tasks older than 90 days will not be returned.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-task-status)
|
||||
@@ -232,7 +232,7 @@ with ApiClient(configuration) as api_client:
|
||||
x_sail_point_experimental = 'true' # str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')
|
||||
|
||||
try:
|
||||
# Get Task Status by ID
|
||||
# Get task status by id
|
||||
|
||||
results = TaskManagementApi(api_client).get_task_status(id=id, x_sail_point_experimental=x_sail_point_experimental)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -259,7 +259,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
configuration.experimental = True
|
||||
```
|
||||
:::
|
||||
Retrieve Task Status List
|
||||
Retrieve task status list
|
||||
Use this endpoint to get a list of statuses for **completed** tasks. Types of tasks include account and entitlement aggregation and other general background processing tasks. Data for tasks older than 90 days will not be returned. To get a list of statuses for **in-progress** tasks, please use the [retrieve pending task status list](https://developer.sailpoint.com/docs/api/v2024/get-pending-tasks) endpoint.
|
||||
|
||||
|
||||
@@ -314,7 +314,7 @@ with ApiClient(configuration) as api_client:
|
||||
sorters = '-created' # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created** (optional)
|
||||
|
||||
try:
|
||||
# Retrieve Task Status List
|
||||
# Retrieve task status list
|
||||
|
||||
results = TaskManagementApi(api_client).get_task_status_list(x_sail_point_experimental=x_sail_point_experimental)
|
||||
# Below is a request that includes all optional parameters
|
||||
@@ -342,7 +342,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
configuration.experimental = True
|
||||
```
|
||||
:::
|
||||
Update Task Status by ID
|
||||
Update task status by id
|
||||
Update a current task status by task ID. Use this API to clear a pending task by updating the completionStatus and completed attributes.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-task-status)
|
||||
@@ -391,7 +391,7 @@ with ApiClient(configuration) as api_client:
|
||||
json_patch_operation = '''[sailpoint.v2025.JsonPatchOperation()]''' # List[JsonPatchOperation] | The JSONPatch payload used to update the object.
|
||||
|
||||
try:
|
||||
# Update Task Status by ID
|
||||
# Update task status by id
|
||||
new_json_patch_operation = JsonPatchOperation.from_json(json_patch_operation)
|
||||
results = TaskManagementApi(api_client).update_task_status(id=id, x_sail_point_experimental=x_sail_point_experimental, json_patch_operation=new_json_patch_operation)
|
||||
# Below is a request that includes all optional parameters
|
||||
|
||||
Reference in New Issue
Block a user