Skip to content

Commit dfce28f

Browse files
Merge pull request #48 from sailpoint-oss/devrel-1991
adding docs
2 parents edf49f7 + c27d4cb commit dfce28f

File tree

5,490 files changed

+273733
-223654
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,490 files changed

+273733
-223654
lines changed
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
name: "Push python SDK Docs to Developer Portal"
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
push_spec_workflow:
11+
name: Push API spec changes
12+
runs-on: ubuntu-latest
13+
steps:
14+
# Checkout the master branch request to run rsync
15+
- name: Checkout PR branch
16+
uses: actions/checkout@v2
17+
with:
18+
ref: ${{ github.ref }}
19+
path: python-sdk
20+
21+
# Checkout the main branch of the developer portal to push changes
22+
- name: Checkout API Specs Repo
23+
uses: actions/checkout@v2
24+
with:
25+
repository: sailpoint-oss/developer.sailpoint.com
26+
path: developer-community
27+
ref: main
28+
29+
- name: Install rsync
30+
run: |
31+
sudo apt install rsync grsync
32+
33+
- name: Sync files between folders
34+
run: |
35+
CURRENT_V3_CODE_EXAMPLES_PATH="python-sdk/sailpoint/v3/docs/Examples/python_code_examples_overlay.yaml"
36+
NEW_V3_CODE_EXAMPLES_PATH="developer-community/static/code-examples/v3/"
37+
CURRENT_V3_SPEC_PATH_METHODS="python-sdk/sailpoint/v3/docs/Methods"
38+
NEW_V3_API_SPEC_PATH_METHODS="developer-community/docs/tools/sdk/python/Reference/V3"
39+
CURRENT_V3_SPEC_PATH_MODELS="python-sdk/sailpoint/v3/docs/Models"
40+
NEW_V3_API_SPEC_PATH_MODELS="developer-community/docs/tools/sdk/python/Reference/V3"
41+
42+
CURRENT_BETA_CODE_EXAMPLES_PATH="python-sdk/sailpoint/beta/docs/Examples/python_code_examples_overlay.yaml"
43+
NEW_BETA_CODE_EXAMPLES_PATH="developer-community/static/code-examples/beta/"
44+
CURRENT_BETA_SPEC_PATH_METHODS="python-sdk/sailpoint/beta/docs/Methods"
45+
NEW_BETA_API_SPEC_PATH_METHODS="developer-community/docs/tools/sdk/python/Reference/Beta"
46+
CURRENT_BETA_SPEC_PATH_MODELS="python-sdk/sailpoint/beta/docs/Models"
47+
NEW_BETA_API_SPEC_PATH_MODELS="developer-community/docs/tools/sdk/python/Reference/Beta"
48+
49+
CURRENT_V2024_CODE_EXAMPLES_PATH="python-sdk/sailpoint/v2024/docs/Examples/python_code_examples_overlay.yaml"
50+
NEW_V2024_CODE_EXAMPLES_PATH="developer-community/static/code-examples/v2024/"
51+
CURRENT_V2024_SPEC_PATH_METHODS="python-sdk/sailpoint/v2024/docs/Methods"
52+
NEW_V2024_API_SPEC_PATH_METHODS="developer-community/docs/tools/sdk/python/Reference/V2024"
53+
CURRENT_V2024_SPEC_PATH_MODELS="python-sdk/sailpoint/v2024/docs/Models"
54+
NEW_V2024_API_SPEC_PATH_MODELS="developer-community/docs/tools/sdk/python/Reference/V2024"
55+
56+
rsync -cav --delete $CURRENT_V3_SPEC_PATH_METHODS $NEW_V3_API_SPEC_PATH_METHODS
57+
rsync -cav --delete $CURRENT_BETA_SPEC_PATH_METHODS $NEW_BETA_API_SPEC_PATH_METHODS
58+
rsync -cav --delete $CURRENT_V2024_SPEC_PATH_METHODS $NEW_V2024_API_SPEC_PATH_METHODS
59+
rsync -cav --delete $CURRENT_V3_SPEC_PATH_MODELS $NEW_V3_API_SPEC_PATH_MODELS
60+
rsync -cav --delete $CURRENT_BETA_SPEC_PATH_MODELS $NEW_BETA_API_SPEC_PATH_MODELS
61+
rsync -cav --delete $CURRENT_V2024_SPEC_PATH_MODELS $NEW_V2024_API_SPEC_PATH_MODELS
62+
63+
rsync -av $CURRENT_V3_CODE_EXAMPLES_PATH $NEW_V3_CODE_EXAMPLES_PATH
64+
rsync -av $CURRENT_BETA_CODE_EXAMPLES_PATH $NEW_BETA_CODE_EXAMPLES_PATH
65+
rsync -av $CURRENT_V2024_CODE_EXAMPLES_PATH $NEW_V2024_CODE_EXAMPLES_PATH
66+
67+
- name: Check for changes and commit if any
68+
run: |
69+
cd developer-community
70+
git status
71+
if git diff --exit-code; then
72+
echo "No changes to commit."
73+
exit 0
74+
else
75+
git config --unset-all http.https://github.com/.extraheader
76+
git config --local user.email "devrel-service@sailpoint.com"
77+
git config --local user.name "developer-relations-sp"
78+
git add .
79+
git commit -m "Update to python SDK docs: ${{ github.run_id }}"
80+
git status
81+
git remote set-url origin https://${{secrets.DEVREL_SERVICE_TOKEN}}@github.com/sailpoint-oss/developer.sailpoint.com.git
82+
git remote -v
83+
git push
84+
fi

.openapi-generator/FILES

Lines changed: 87 additions & 0 deletions
Large diffs are not rendered by default.

Index.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
id: models
3+
title: Models
4+
pagination_label: Models
5+
sidebar_label: Models
6+
sidebar_position: 3
7+
sidebar_class_name: models
8+
keywords: ['python', 'Python', 'sdk', 'models']
9+
slug: /tools/sdk/python/v2024/models
10+
tags: ['SDK', 'Software Development Kit', 'v2024', 'models']
11+
---
12+
13+
The Python SDK uses data models to structure and manage data within the API. These models provide essential details about the data, including their attributes, data types, and how the models relate to each other. Understanding these models is crucial to effectively interact with the API.
14+
15+
## Key Features
16+
- Attributes: Describe each attribute, including its name, data type, and whether it's required.
17+
- Validation & Constraints: Highlight any rules or limitations for the attributes, such as format or length limits.
18+
- Example: Provides a sample of how the API uses the model.

sailpoint/beta/api/iai_recommendations_api.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def get_recommendations(
5555
_headers: Optional[Dict[StrictStr, Any]] = None,
5656
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5757
) -> RecommendationResponseDto:
58-
"""Returns a Recommendation Based on Object
58+
"""Returns Recommendation Based on Object
5959
6060
The getRecommendations API returns recommendations based on the requested object. The recommendations are invoked by IdentityIQ and IdentityNow plug-ins that retrieve recommendations based on the performed calculations.
6161
@@ -127,7 +127,7 @@ def get_recommendations_with_http_info(
127127
_headers: Optional[Dict[StrictStr, Any]] = None,
128128
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
129129
) -> ApiResponse[RecommendationResponseDto]:
130-
"""Returns a Recommendation Based on Object
130+
"""Returns Recommendation Based on Object
131131
132132
The getRecommendations API returns recommendations based on the requested object. The recommendations are invoked by IdentityIQ and IdentityNow plug-ins that retrieve recommendations based on the performed calculations.
133133
@@ -199,7 +199,7 @@ def get_recommendations_without_preload_content(
199199
_headers: Optional[Dict[StrictStr, Any]] = None,
200200
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
201201
) -> RESTResponseType:
202-
"""Returns a Recommendation Based on Object
202+
"""Returns Recommendation Based on Object
203203
204204
The getRecommendations API returns recommendations based on the requested object. The recommendations are invoked by IdentityIQ and IdentityNow plug-ins that retrieve recommendations based on the performed calculations.
205205
@@ -382,6 +382,7 @@ def get_recommendations_config(
382382
'400': "ErrorResponseDto",
383383
'401': "ListAccessModelMetadataAttribute401Response",
384384
'403': "ErrorResponseDto",
385+
'429': "ListAccessModelMetadataAttribute429Response",
385386
'500': "ErrorResponseDto",
386387
}
387388
response_data = self.api_client.call_api(
@@ -449,6 +450,7 @@ def get_recommendations_config_with_http_info(
449450
'400': "ErrorResponseDto",
450451
'401': "ListAccessModelMetadataAttribute401Response",
451452
'403': "ErrorResponseDto",
453+
'429': "ListAccessModelMetadataAttribute429Response",
452454
'500': "ErrorResponseDto",
453455
}
454456
response_data = self.api_client.call_api(
@@ -516,6 +518,7 @@ def get_recommendations_config_without_preload_content(
516518
'400': "ErrorResponseDto",
517519
'401': "ListAccessModelMetadataAttribute401Response",
518520
'403': "ErrorResponseDto",
521+
'429': "ListAccessModelMetadataAttribute429Response",
519522
'500': "ErrorResponseDto",
520523
}
521524
response_data = self.api_client.call_api(
@@ -645,6 +648,7 @@ def update_recommendations_config(
645648
'400': "ErrorResponseDto",
646649
'401': "ListAccessModelMetadataAttribute401Response",
647650
'403': "ErrorResponseDto",
651+
'429': "ListAccessModelMetadataAttribute429Response",
648652
'500': "ErrorResponseDto",
649653
}
650654
response_data = self.api_client.call_api(
@@ -716,6 +720,7 @@ def update_recommendations_config_with_http_info(
716720
'400': "ErrorResponseDto",
717721
'401': "ListAccessModelMetadataAttribute401Response",
718722
'403': "ErrorResponseDto",
723+
'429': "ListAccessModelMetadataAttribute429Response",
719724
'500': "ErrorResponseDto",
720725
}
721726
response_data = self.api_client.call_api(
@@ -787,6 +792,7 @@ def update_recommendations_config_without_preload_content(
787792
'400': "ErrorResponseDto",
788793
'401': "ListAccessModelMetadataAttribute401Response",
789794
'403': "ErrorResponseDto",
795+
'429': "ListAccessModelMetadataAttribute429Response",
790796
'500': "ErrorResponseDto",
791797
}
792798
response_data = self.api_client.call_api(

sailpoint/beta/docs/AccessConstraint.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

sailpoint/beta/docs/AccessCriteria.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

sailpoint/beta/docs/AccessCriteriaCriteriaListInner.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

sailpoint/beta/docs/AccessItemAccessProfileResponse.md

Lines changed: 0 additions & 40 deletions
This file was deleted.

sailpoint/beta/docs/AccessItemAccountResponse.md

Lines changed: 0 additions & 35 deletions
This file was deleted.

sailpoint/beta/docs/AccessItemAppResponse.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)