microsoft / microsoft/azure-devops-python-api
Connection module fails to load Resource Areas with the sps_url
オープン
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 684
- フォーク
- 218
- 平均マージ
- 8日 10時間
- マージ済み PR(30日)
- 1
説明
https://developercommunity.visualstudio.com/t/Resource-Areas-REST-API-unavailable/1661030
The Resource Areas REST API used by the Python SDK is currently unavailable. The API returns the following error:
$ curl https://app.vssps.visualstudio.com/_apis/ResourceAreas
{"$id":"1","innerException":null,"message":"Service Unavailable","typeName":"Microsoft.VisualStudio.Services.Common.VssServiceException, Microsoft.VisualStudio.Services.Common","typeKey":"VssServiceException","errorCode":0,"eventId":3000}
The [Azure DevOps documentation](https://docs.microsoft.com/en-us/azure/devops/extend/develop/work-with-urls?view=azure-devops&tabs=http#how-to-get-an-organizations-url) lists a slightly different URL which also returns the same error:
$ curl https://dev.azure.com/_apis/resourceAreas
{"$id":"1","innerException":null,"message":"Service Unavailable","typeName":"Microsoft.VisualStudio.Services.Common.VssServiceException, Microsoft.VisualStudio.Services.Common","typeKey":"VssServiceException","errorCode":0,"eventId":3000}
This means that any connections instantiated with the sps_url fail to load the resource ids for clients like git_client, accounts_client, etc.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず sps_url の接続失敗を再現し、接続モジュールが git_client や accounts_client などのクライアント向けに Resource Areas をどのように読み込むかを確認します。最初の確認として 2 つの curl の例を使用します。Resource Areas エンドポイントが利用できない場合でも、これらのクライアント接続がリソース ID を読み込めれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- azure, python
- 領域
- api
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100