Ich muss TFS-Vor-Ort-REST-APIs ausführen, um einige Daten zu erhalten. Jetzt möchte ich die minimale Erlaubnisanforderung auflisten, um sie auszuführen.TFS-REST-APIs und erforderliche Mindestberechtigungen, um sie auszuführen
Die unten sind die REST-APIs ich suche:
GET https://{instance}/_apis/projectcollections/{collection}?api-version={version}
GET https://{instance}/DefaultCollection/_apis/projects?api-version={version}[&stateFilter{string}&$top={integer}&skip={integer}]
GET https://{instance}/DefaultCollection/_apis/projects/{project}?api-version={version}[&includeCapabilities={boolean}]
GET https://{instance}/DefaultCollection/_apis/projects/{project}/teams?api-version={version}[&$top={integer}&$skip={integer}]
GET https://{instance}/DefaultCollection/_apis/projects/{project}/teams/{team} ?api-version={version}
GET https://{instance}/DefaultCollection/_apis/projects/{project}/teams/{team}/members ?api-version={version}[&$top={integer}&$skip={integer}]
GET https://{instance}/DefaultCollection/_apis/tfvc/branches?api-version={version}[&includeChildren={bool}&includeDeleted={bool}]
GET https://{instance}/DefaultCollection/_apis/tfvc/branches/{path}?api-version={version}[&includeChildren={bool}&includeParent={bool}&includeDeleted={bool}]
GET https://{instance}/DefaultCollection/_apis/tfvc/changesets?api-version={version}
GET https://{instance}/DefaultCollection/_apis/tfvc/changesets/{id}?api-version={version}[&includeDetails={Boolean}&includeWorkItems={Boolean}&includeSourceRenames={Boolean}&maxChangeCount={int}&maxCommentLength={int}]
GET https://{instance}/DefaultCollection/_apis/tfvc/changesets/{id}/changes?api-version={version}[&$skip={int}&$top={int}]
GET https://{instance}/DefaultCollection/_apis/tfvc/shelvesets?api-version={version}[&owner={string}&maxContentLength={int}&$top={int}&$skip={int}]
GET https://{instance}/DefaultCollection/_apis/tfvc/shelvesets/{shelveset};{owner} ?api-version={version}
GET https://{instance}/DefaultCollection/_apis/tfvc/shelvesets/{shelveset};{owner}/changes ?api-version={version}
GET https://{instance}/DefaultCollection/_apis/tfvc/shelvesets/{shelveset};{owner}/workitems?api-version={version}
GET https://{instance}/DefaultCollection/_apis/tfvc/labels ?api-version={version}[&name={srtring}&owner={string}&itemLabelFilter={string}&$top={int}&$skip={int}]
GET https://{instance}/DefaultCollection/_apis/tfvc/labels/{labelId} ?api-version={version}[&maxItemCount={int}]
GET https://{instance}/DefaultCollection/_apis/tfvc/labels/{labelId}/items ?api-version={version}[&$top={int}&$skip={int}]
GET https://{instance}/DefaultCollection/_apis/tfvc/items/{path} ?api-version={version}&[scopePath={scopePath}]
Danke für die Hilfe – Angshuman