{"id":18961028,"url":"https://github.com/itwin/project-api-sample-app","last_synced_at":"2025-04-16T04:32:36.651Z","repository":{"id":40851272,"uuid":"384228287","full_name":"iTwin/project-api-sample-app","owner":"iTwin","description":"[DEPRECATED]  Simple c# sample app for creating \u0026 querying iTwin projects as well as team members.","archived":true,"fork":false,"pushed_at":"2024-01-09T18:44:02.000Z","size":32,"stargazers_count":3,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-22T09:48:27.576Z","etag":null,"topics":["project","projects","rest-api","sample"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iTwin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2021-07-08T19:26:57.000Z","updated_at":"2024-05-10T18:28:37.000Z","dependencies_parsed_at":"2023-01-18T07:45:32.487Z","dependency_job_id":null,"html_url":"https://github.com/iTwin/project-api-sample-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iTwin%2Fproject-api-sample-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iTwin%2Fproject-api-sample-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iTwin%2Fproject-api-sample-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iTwin%2Fproject-api-sample-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iTwin","download_url":"https://codeload.github.com/iTwin/project-api-sample-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249195380,"owners_count":21228186,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["project","projects","rest-api","sample"],"created_at":"2024-11-08T14:11:12.632Z","updated_at":"2025-04-16T04:32:36.360Z","avatar_url":"https://github.com/iTwin.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project API Sample App\n\nCopyright © Bentley Systems, Incorporated. All rights reserved.\n\nAn iTwin sample application that demonstrates how to create, query and update an iTwin Project using the Project API. It also demonstrates how to create a project role and add a user to the project with that role.\n\nThis application contains sample code that should not be used in a production environment. It contains no retry logic and minimal logging/error handling.\n\n\n## Prerequisites\n\n* [Git](https://git-scm.com/)\n* Visual Studio 2019 or [Visual Studio Code](https://code.visualstudio.com/)\n* [.NET 5.0](https://dotnet.microsoft.com/download/dotnet/5.0/)\n\n\n## Development Setup (Visual Studio 2019)\n\n1. Clone Repository\n\n2. Open iTwinProjectSampleApp.sln and Build\n\n3. (Optional) Put breakpoint in Program.cs\n\n4. Run to debug\n\n5. It will require a user token. \n\n   * Go to the Project API [developer portal](https://developer.bentley.com/api-groups/administration/apis/projects/operations/create-project/)\n   * Click the TryIt Button\n   * In the popup window, select authorizationCode in the Bentley OAuth2 Service dropdown\n   * This will popup another window that will require you to login.\n   * After you login, the Authorization header will be populated. Copy the entire string and paste into the command window for the iTwin Sample Project App.\n   * Press Enter\n\n6. You can now step through the code that will create and manage an iTwin project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitwin%2Fproject-api-sample-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitwin%2Fproject-api-sample-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitwin%2Fproject-api-sample-app/lists"}