mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 12:27:47 +00:00
Fix broken links
This commit is contained in:
@@ -11,7 +11,7 @@ slug: /tools/sdk/python/search
|
||||
tags: ['SDK']
|
||||
---
|
||||
|
||||
One of the most useful functionalities you can access with the Python SDK is Identity Security Cloud's [search functionality](/idn/api/v3/search-post).
|
||||
One of the most useful functionalities you can access with the Python SDK is Identity Security Cloud's [search functionality](/docs/api/v3/search-post).
|
||||
|
||||
Here is an example of how you can implement Search, along with pagination. Copy this code into your "sdk.py" file to try it out:
|
||||
|
||||
@@ -46,9 +46,9 @@ This example returns 1000 identities, 100 per page, and sorts them in descending
|
||||
|
||||
There are two main ways you can manipulate this example to search for the results you want:
|
||||
|
||||
The first way is to change the `indices`, the document types you want to limit your search to. For example, if you add `"access profiles"` to the indices, the SDK will search access profiles too. To see all the indices you can search, refer to the [Search endpoint specification](/idn/api/v3/search-post).
|
||||
The first way is to change the `indices`, the document types you want to limit your search to. For example, if you add `"access profiles"` to the indices, the SDK will search access profiles too. To see all the indices you can search, refer to the [Search endpoint specification](/docs/api/v3/search-post).
|
||||
|
||||
The second way is to change the `query`, the value you're searching for. For example, if you change the query to "a*", the search will return all records starting with the letter "a". To learn more about how to build search queries, refer to [Building a Search Query](https://documentation.sailpoint.com/saas/help/search/building-query.html).
|
||||
|
||||
You can also change the sorting logic in the brackets next to `sort`. For more information about sorting results, refer to [Sorting Results](/idn/api/standard-collection-parameters/#sorting-results).
|
||||
You can also change the sorting logic in the brackets next to `sort`. For more information about sorting results, refer to [Sorting Results](/docs/api/standard-collection-parameters/#sorting-results).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user