legit-api-client 1.1.4595__py3-none-any.whl → 1.1.4596__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- legit_api_client/__init__.py +1 -1
- legit_api_client/api/sdlc_assets_api.py +21 -3
- legit_api_client/api_client.py +1 -1
- legit_api_client/configuration.py +1 -1
- {legit_api_client-1.1.4595.dist-info → legit_api_client-1.1.4596.dist-info}/METADATA +2 -2
- {legit_api_client-1.1.4595.dist-info → legit_api_client-1.1.4596.dist-info}/RECORD +8 -8
- {legit_api_client-1.1.4595.dist-info → legit_api_client-1.1.4596.dist-info}/WHEEL +0 -0
- {legit_api_client-1.1.4595.dist-info → legit_api_client-1.1.4596.dist-info}/top_level.txt +0 -0
legit_api_client/__init__.py
CHANGED
|
@@ -659,6 +659,7 @@ class SDLCAssetsApi:
|
|
|
659
659
|
self,
|
|
660
660
|
show_only_integrated: Optional[StrictBool] = None,
|
|
661
661
|
product_ids: Optional[List[StrictStr]] = None,
|
|
662
|
+
integration_ids: Optional[List[StrictStr]] = None,
|
|
662
663
|
_request_timeout: Union[
|
|
663
664
|
None,
|
|
664
665
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -674,12 +675,14 @@ class SDLCAssetsApi:
|
|
|
674
675
|
) -> SdlcAssetGraphDto:
|
|
675
676
|
"""Get SDLC asset graph
|
|
676
677
|
|
|
677
|
-
Each node in the graph is returned as an object in the `Assets` array. It is uniquely identified by the attributes `Id` and `Type`. The edges are represented by the `Links` array. The source of each link is `SourceId` and `SourceType`. The target of each link is `TargetId` and `TargetType`. The `IntegrationId` is not enough to identify a node, because it may apply to several nodes on the graph is some cases. For example is GitHub is used both as SCM and CI (GitHub Actions). To view the SDLC graph in the context of a Product Unit, use the `ProductIds` filter. The response will include only integrations associated with those Product Units - determined by the products’ assets (e.g., repositories, containers) - and will return the induced subgraphs for those integrations. This reveals the full SDLC graph a Product Unit is exposed to, including nodes not directly owned by its assets but connected through other assets within the same integration. The Graph returned by this endpoint is more detailed than the Discovery Graph on the Legit Platform. When viewing the graph on the Legit Platform some nodes are aggregated into a single node (for example - all Amazon ECRs are displayed as a single node on the Legit Platform).
|
|
678
|
+
Each node in the graph is returned as an object in the `Assets` array. It is uniquely identified by the attributes `Id` and `Type`. The edges are represented by the `Links` array. The source of each link is `SourceId` and `SourceType`. The target of each link is `TargetId` and `TargetType`. The `IntegrationId` is not enough to identify a node, because it may apply to several nodes on the graph is some cases. For example is GitHub is used both as SCM and CI (GitHub Actions). To view the SDLC graph in the context of a Product Unit, use the `ProductIds` filter. The response will include only integrations associated with those Product Units - determined by the products’ assets (e.g., repositories, containers) - and will return the induced subgraphs for those integrations. This reveals the full SDLC graph a Product Unit is exposed to, including nodes not directly owned by its assets but connected through other assets within the same integration. To view the SDLC graph in the context of specific integrations, use the `IntegrationIds` filter. The response will include only those specified integrations and their associated nodes and edges. The Graph returned by this endpoint is more detailed than the Discovery Graph on the Legit Platform. When viewing the graph on the Legit Platform some nodes are aggregated into a single node (for example - all Amazon ECRs are displayed as a single node on the Legit Platform).
|
|
678
679
|
|
|
679
680
|
:param show_only_integrated:
|
|
680
681
|
:type show_only_integrated: bool
|
|
681
682
|
:param product_ids:
|
|
682
683
|
:type product_ids: List[str]
|
|
684
|
+
:param integration_ids:
|
|
685
|
+
:type integration_ids: List[str]
|
|
683
686
|
:param _request_timeout: timeout setting for this request. If one
|
|
684
687
|
number provided, it will be total request
|
|
685
688
|
timeout. It can also be a pair (tuple) of
|
|
@@ -705,6 +708,7 @@ class SDLCAssetsApi:
|
|
|
705
708
|
_param = self._api_v10_sdlc_assets_graph_get_serialize(
|
|
706
709
|
show_only_integrated=show_only_integrated,
|
|
707
710
|
product_ids=product_ids,
|
|
711
|
+
integration_ids=integration_ids,
|
|
708
712
|
_request_auth=_request_auth,
|
|
709
713
|
_content_type=_content_type,
|
|
710
714
|
_headers=_headers,
|
|
@@ -731,6 +735,7 @@ class SDLCAssetsApi:
|
|
|
731
735
|
self,
|
|
732
736
|
show_only_integrated: Optional[StrictBool] = None,
|
|
733
737
|
product_ids: Optional[List[StrictStr]] = None,
|
|
738
|
+
integration_ids: Optional[List[StrictStr]] = None,
|
|
734
739
|
_request_timeout: Union[
|
|
735
740
|
None,
|
|
736
741
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -746,12 +751,14 @@ class SDLCAssetsApi:
|
|
|
746
751
|
) -> ApiResponse[SdlcAssetGraphDto]:
|
|
747
752
|
"""Get SDLC asset graph
|
|
748
753
|
|
|
749
|
-
Each node in the graph is returned as an object in the `Assets` array. It is uniquely identified by the attributes `Id` and `Type`. The edges are represented by the `Links` array. The source of each link is `SourceId` and `SourceType`. The target of each link is `TargetId` and `TargetType`. The `IntegrationId` is not enough to identify a node, because it may apply to several nodes on the graph is some cases. For example is GitHub is used both as SCM and CI (GitHub Actions). To view the SDLC graph in the context of a Product Unit, use the `ProductIds` filter. The response will include only integrations associated with those Product Units - determined by the products’ assets (e.g., repositories, containers) - and will return the induced subgraphs for those integrations. This reveals the full SDLC graph a Product Unit is exposed to, including nodes not directly owned by its assets but connected through other assets within the same integration. The Graph returned by this endpoint is more detailed than the Discovery Graph on the Legit Platform. When viewing the graph on the Legit Platform some nodes are aggregated into a single node (for example - all Amazon ECRs are displayed as a single node on the Legit Platform).
|
|
754
|
+
Each node in the graph is returned as an object in the `Assets` array. It is uniquely identified by the attributes `Id` and `Type`. The edges are represented by the `Links` array. The source of each link is `SourceId` and `SourceType`. The target of each link is `TargetId` and `TargetType`. The `IntegrationId` is not enough to identify a node, because it may apply to several nodes on the graph is some cases. For example is GitHub is used both as SCM and CI (GitHub Actions). To view the SDLC graph in the context of a Product Unit, use the `ProductIds` filter. The response will include only integrations associated with those Product Units - determined by the products’ assets (e.g., repositories, containers) - and will return the induced subgraphs for those integrations. This reveals the full SDLC graph a Product Unit is exposed to, including nodes not directly owned by its assets but connected through other assets within the same integration. To view the SDLC graph in the context of specific integrations, use the `IntegrationIds` filter. The response will include only those specified integrations and their associated nodes and edges. The Graph returned by this endpoint is more detailed than the Discovery Graph on the Legit Platform. When viewing the graph on the Legit Platform some nodes are aggregated into a single node (for example - all Amazon ECRs are displayed as a single node on the Legit Platform).
|
|
750
755
|
|
|
751
756
|
:param show_only_integrated:
|
|
752
757
|
:type show_only_integrated: bool
|
|
753
758
|
:param product_ids:
|
|
754
759
|
:type product_ids: List[str]
|
|
760
|
+
:param integration_ids:
|
|
761
|
+
:type integration_ids: List[str]
|
|
755
762
|
:param _request_timeout: timeout setting for this request. If one
|
|
756
763
|
number provided, it will be total request
|
|
757
764
|
timeout. It can also be a pair (tuple) of
|
|
@@ -777,6 +784,7 @@ class SDLCAssetsApi:
|
|
|
777
784
|
_param = self._api_v10_sdlc_assets_graph_get_serialize(
|
|
778
785
|
show_only_integrated=show_only_integrated,
|
|
779
786
|
product_ids=product_ids,
|
|
787
|
+
integration_ids=integration_ids,
|
|
780
788
|
_request_auth=_request_auth,
|
|
781
789
|
_content_type=_content_type,
|
|
782
790
|
_headers=_headers,
|
|
@@ -803,6 +811,7 @@ class SDLCAssetsApi:
|
|
|
803
811
|
self,
|
|
804
812
|
show_only_integrated: Optional[StrictBool] = None,
|
|
805
813
|
product_ids: Optional[List[StrictStr]] = None,
|
|
814
|
+
integration_ids: Optional[List[StrictStr]] = None,
|
|
806
815
|
_request_timeout: Union[
|
|
807
816
|
None,
|
|
808
817
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -818,12 +827,14 @@ class SDLCAssetsApi:
|
|
|
818
827
|
) -> RESTResponseType:
|
|
819
828
|
"""Get SDLC asset graph
|
|
820
829
|
|
|
821
|
-
Each node in the graph is returned as an object in the `Assets` array. It is uniquely identified by the attributes `Id` and `Type`. The edges are represented by the `Links` array. The source of each link is `SourceId` and `SourceType`. The target of each link is `TargetId` and `TargetType`. The `IntegrationId` is not enough to identify a node, because it may apply to several nodes on the graph is some cases. For example is GitHub is used both as SCM and CI (GitHub Actions). To view the SDLC graph in the context of a Product Unit, use the `ProductIds` filter. The response will include only integrations associated with those Product Units - determined by the products’ assets (e.g., repositories, containers) - and will return the induced subgraphs for those integrations. This reveals the full SDLC graph a Product Unit is exposed to, including nodes not directly owned by its assets but connected through other assets within the same integration. The Graph returned by this endpoint is more detailed than the Discovery Graph on the Legit Platform. When viewing the graph on the Legit Platform some nodes are aggregated into a single node (for example - all Amazon ECRs are displayed as a single node on the Legit Platform).
|
|
830
|
+
Each node in the graph is returned as an object in the `Assets` array. It is uniquely identified by the attributes `Id` and `Type`. The edges are represented by the `Links` array. The source of each link is `SourceId` and `SourceType`. The target of each link is `TargetId` and `TargetType`. The `IntegrationId` is not enough to identify a node, because it may apply to several nodes on the graph is some cases. For example is GitHub is used both as SCM and CI (GitHub Actions). To view the SDLC graph in the context of a Product Unit, use the `ProductIds` filter. The response will include only integrations associated with those Product Units - determined by the products’ assets (e.g., repositories, containers) - and will return the induced subgraphs for those integrations. This reveals the full SDLC graph a Product Unit is exposed to, including nodes not directly owned by its assets but connected through other assets within the same integration. To view the SDLC graph in the context of specific integrations, use the `IntegrationIds` filter. The response will include only those specified integrations and their associated nodes and edges. The Graph returned by this endpoint is more detailed than the Discovery Graph on the Legit Platform. When viewing the graph on the Legit Platform some nodes are aggregated into a single node (for example - all Amazon ECRs are displayed as a single node on the Legit Platform).
|
|
822
831
|
|
|
823
832
|
:param show_only_integrated:
|
|
824
833
|
:type show_only_integrated: bool
|
|
825
834
|
:param product_ids:
|
|
826
835
|
:type product_ids: List[str]
|
|
836
|
+
:param integration_ids:
|
|
837
|
+
:type integration_ids: List[str]
|
|
827
838
|
:param _request_timeout: timeout setting for this request. If one
|
|
828
839
|
number provided, it will be total request
|
|
829
840
|
timeout. It can also be a pair (tuple) of
|
|
@@ -849,6 +860,7 @@ class SDLCAssetsApi:
|
|
|
849
860
|
_param = self._api_v10_sdlc_assets_graph_get_serialize(
|
|
850
861
|
show_only_integrated=show_only_integrated,
|
|
851
862
|
product_ids=product_ids,
|
|
863
|
+
integration_ids=integration_ids,
|
|
852
864
|
_request_auth=_request_auth,
|
|
853
865
|
_content_type=_content_type,
|
|
854
866
|
_headers=_headers,
|
|
@@ -870,6 +882,7 @@ class SDLCAssetsApi:
|
|
|
870
882
|
self,
|
|
871
883
|
show_only_integrated,
|
|
872
884
|
product_ids,
|
|
885
|
+
integration_ids,
|
|
873
886
|
_request_auth,
|
|
874
887
|
_content_type,
|
|
875
888
|
_headers,
|
|
@@ -880,6 +893,7 @@ class SDLCAssetsApi:
|
|
|
880
893
|
|
|
881
894
|
_collection_formats: Dict[str, str] = {
|
|
882
895
|
'productIds': 'multi',
|
|
896
|
+
'integrationIds': 'multi',
|
|
883
897
|
}
|
|
884
898
|
|
|
885
899
|
_path_params: Dict[str, str] = {}
|
|
@@ -901,6 +915,10 @@ class SDLCAssetsApi:
|
|
|
901
915
|
|
|
902
916
|
_query_params.append(('productIds', product_ids))
|
|
903
917
|
|
|
918
|
+
if integration_ids is not None:
|
|
919
|
+
|
|
920
|
+
_query_params.append(('integrationIds', integration_ids))
|
|
921
|
+
|
|
904
922
|
# process the header parameters
|
|
905
923
|
# process the form parameters
|
|
906
924
|
# process the body parameter
|
legit_api_client/api_client.py
CHANGED
|
@@ -91,7 +91,7 @@ class ApiClient:
|
|
|
91
91
|
self.default_headers[header_name] = header_value
|
|
92
92
|
self.cookie = cookie
|
|
93
93
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'OpenAPI-Generator/1.1.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/1.1.4596/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
|
@@ -516,7 +516,7 @@ class Configuration:
|
|
|
516
516
|
"OS: {env}\n"\
|
|
517
517
|
"Python Version: {pyversion}\n"\
|
|
518
518
|
"Version of the API: 1.0\n"\
|
|
519
|
-
"SDK Package Version: 1.1.
|
|
519
|
+
"SDK Package Version: 1.1.4596".\
|
|
520
520
|
format(env=sys.platform, pyversion=sys.version)
|
|
521
521
|
|
|
522
522
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: legit_api_client
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.4596
|
|
4
4
|
Summary: Inventory
|
|
5
5
|
Home-page:
|
|
6
6
|
Author: OpenAPI Generator community
|
|
@@ -22,7 +22,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
|
22
22
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
23
23
|
|
|
24
24
|
- API version: 1.0
|
|
25
|
-
- Package version: 1.1.
|
|
25
|
+
- Package version: 1.1.4596
|
|
26
26
|
- Generator version: 7.18.0
|
|
27
27
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
28
28
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
legit_api_client/__init__.py,sha256
|
|
2
|
-
legit_api_client/api_client.py,sha256=
|
|
1
|
+
legit_api_client/__init__.py,sha256=-wJT7TiM38LcTBysvS3_EHqHT0Yz30AP8OJ6ecXQi2Y,29409
|
|
2
|
+
legit_api_client/api_client.py,sha256=ILWEokzqIsaOgjq66o6ww7JiGzEL4tjPr1CwcsBioUY,27804
|
|
3
3
|
legit_api_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
-
legit_api_client/configuration.py,sha256=
|
|
4
|
+
legit_api_client/configuration.py,sha256=fnzwbIYK3ocJfh99-SRcK4btvY6gZlGcsgieOl-gL2k,18537
|
|
5
5
|
legit_api_client/exceptions.py,sha256=FQhdQym8Gv0T7Q5dppOeb-yBbB_jgov4wNAmRaz1EM0,6538
|
|
6
6
|
legit_api_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
legit_api_client/rest.py,sha256=4g4Zi4xX1187Af75nEgTesIYeIJmdpV0pWws4VM2iD0,9657
|
|
@@ -24,7 +24,7 @@ legit_api_client/api/product_units_api.py,sha256=FYY4ZS_SysiJ_fHqoPNQV9OEyKjcoWe
|
|
|
24
24
|
legit_api_client/api/repositories_api.py,sha256=txLundrKkEVhb54o3E6LfGJswZXHquMHHd6kPMViqB4,109468
|
|
25
25
|
legit_api_client/api/repository_groups_api.py,sha256=3rb8CALc8uHTsC9umG--kC2UazGNMADmFBQ4MAuqA9o,23725
|
|
26
26
|
legit_api_client/api/saved_queries_api.py,sha256=fSrPQjxbno6q8nDInlugohVoBE9BedRGTa3DwjZXXCQ,12718
|
|
27
|
-
legit_api_client/api/sdlc_assets_api.py,sha256=
|
|
27
|
+
legit_api_client/api/sdlc_assets_api.py,sha256=Sewl5OWGuAjFbubg7DYzYtGz-B85ynJqFdzTeAIVilQ,41092
|
|
28
28
|
legit_api_client/api/tags_api.py,sha256=Rs5-RyIDxQKrDgAFl-RazKhbgbv_q0Q-3wBYeXhSUjE,32570
|
|
29
29
|
legit_api_client/api/workspaces_api.py,sha256=Eb_BTJkE-zt5fnGEY6wnHH6OHp_nboh9TEsOGyxI-eg,85370
|
|
30
30
|
legit_api_client/models/__init__.py,sha256=X-2KNPF1HQS22OGfrVZDTLPN8QHK-CDtGdoHo9nkvyU,15958
|
|
@@ -214,7 +214,7 @@ legit_api_client/models/workspace_group_tree_node_dto.py,sha256=zV5vmSc0bjqkH7hS
|
|
|
214
214
|
legit_api_client/models/workspace_hierarchy_dto.py,sha256=qU9eTOHNh3d-XeOM6CbrkTLEwSX0cdjJkbVb03GHS_Y,4522
|
|
215
215
|
legit_api_client/models/workspace_tree_node_dto.py,sha256=TlM1PPVbuGDQKlgl3Ht_EEj8lJLMqTdVE3_k8QFJldE,3527
|
|
216
216
|
legit_api_client/models/workspace_type.py,sha256=d-Dy1JkWLAZgZgTHMTaF01QT2Cv1Eexg6HqcKqPEOjs,756
|
|
217
|
-
legit_api_client-1.1.
|
|
218
|
-
legit_api_client-1.1.
|
|
219
|
-
legit_api_client-1.1.
|
|
220
|
-
legit_api_client-1.1.
|
|
217
|
+
legit_api_client-1.1.4596.dist-info/METADATA,sha256=xZ1OxY18Az291ncz2OBf6SmSADUBhtCTtEnMsrzlnW8,33203
|
|
218
|
+
legit_api_client-1.1.4596.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
219
|
+
legit_api_client-1.1.4596.dist-info/top_level.txt,sha256=3k94tIhdKXTBXkGPCBDQSOnARVo5IwVYlyIfQ18xaDM,17
|
|
220
|
+
legit_api_client-1.1.4596.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|