次の方法で共有


Yamlschema - Get

Yaml ファイルの検証に使用される Yaml スキーマを取得します。

GET https://dev.azure.com/{organization}/_apis/distributedtask/yamlschema?api-version=7.1-preview.1
GET https://dev.azure.com/{organization}/_apis/distributedtask/yamlschema?validateTaskNames={validateTaskNames}&api-version=7.1-preview.1

URI パラメーター

名前 / 必須 説明
organization
path

string

Azure DevOps 組織の名前です。

api-version
query True

string

使う API のバージョン。 このバージョンの API を使用するには、これを '7.1-preview.1' に設定する必要があります。

validateTaskNames
query

boolean

タスクが実際にインストールされていることをスキーマで検証する必要があるかどうか (検証が不要なオフライン ツールに役立ちます)。

応答

名前 説明
200 OK

object

正常な操作

セキュリティ

oauth2

Type: oauth2
Flow: accessCode
Authorization URL: https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token URL: https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer

Scopes

名前 説明
vso.agentpools エージェントのタスク、プール、キュー、エージェント、および現在実行中または最近完了したジョブを表示する機能を付与します