https://github.com/itwin/platform-api-samples
iTwin Platform API samples
https://github.com/itwin/platform-api-samples
api api-rest
Last synced: about 2 months ago
JSON representation
iTwin Platform API samples
- Host: GitHub
- URL: https://github.com/itwin/platform-api-samples
- Owner: iTwin
- License: mit
- Created: 2021-02-19T15:10:54.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-07T13:28:47.000Z (12 months ago)
- Last Synced: 2025-01-08T17:43:51.024Z (4 months ago)
- Topics: api, api-rest
- Language: PowerShell
- Homepage: https://developer.bentley.com
- Size: 22.5 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# platform-api-samples
iTwin Platform API samples
In general, folders represent themes. For example, the Administration *theme* contains samples about how to adminster projects, assets, etc.
---
## How to run Power Shell samples
You need to have [Power Shell](https://docs.microsoft.com/en-us/powershell/scripting/overview?view=powershell-7.1) (Recommended 7.0+ version).
1. [Clone this repository](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository-from-github/cloning-a-repository).
1. Go to repository directory. e.g. `cd platform-api-samples`.
1. Go to sample directory. e.g. `cd Administration`.
1. Run sample. e.g. `.\Get-ProjectMembers.ps1`.or if you use [VSCode](https://code.visualstudio.com) you can run scripts using recommended extension in [extensions.json](./.vscode/extensions.json). Just go to power shell script file and just click run button.