Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Refresh IShSession.OpenApiISH30 and IShSession.OpenApiAM10Client pre-authenticated REST proxies to latest #223

@ddemeyer

Description

@ddemeyer

After New-IshSession ... -Protocol OpenApiWithOpenIdConnect, you can use $ishSession.OpenApiISH30 proxy to do REST calls over. Similar to doing SOAP calls like $ishSession.Application25.GetVersion(). These are the proxies used inside the ISHRemote cmdlets like Get-IshVersion to continue the example.

Current state of OpenApiISH30 is InfoShare API v3.0.0 (20240404). New functions were added which become accessible after a refresh the api spec json as initially done on #180

  • Refresh $ishSession.OpenApiAM10Client using latest https://ish.example.com/ISHAM/api/api-docs/v1/openapi.json and anonymize openapi.json like pointing to ish.example.com

  • Refresh $ishSession.OpenApiISH30 using latest https://ish.example.com/ISHWS/api/api-docs/v3/openapi.json and anonymize openapi.json like pointing to ish.example.com

  • Run the tests.

Remember that New-IshSession ... -Protocol OpenApiWithOpenIdConnect, so with the protocol is required to access these proxies.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions