Reputation: 59
Is there a way to connect directly to the azure devops storage? there is an API for retrieving all the documents or it can be done by a name, but there is no possibility to filter..so it means, each time api is called, all the documents are returned.
here is the documentation:
i was wondering where all thes "documents" are stored? maybe in sql server that could be accessed from outside?
Upvotes: 0
Views: 678
Reputation: 2026
We use this url to store data from the outside and read it from a custom extension:
PUT https://extmgmt.dev.azure.com/{organization}/_apis/ExtensionManagement/InstalledExtensions/{publisher}/{extension}/Data/Scopes/Default/Current/Collections/{document}/Documents?api-version=3.1-preview.1
Authorization: Basic :<PAT>
Content-Type: application/json
{
...data
"id": "glencore",
"__etag": 0
}
the __etag
is used for optimistic concurrency.
Upvotes: 0