Storage Keys - Get
Resolve a descriptor to a storage key.
GET https://vssps.dev.azure.com/{organization}/_apis/graph/storagekeys/{subjectDescriptor}?api-version=6.0-preview.1
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
subject
|
path | True |
string |
|
organization
|
path |
string |
The name of the Azure DevOps organization. |
|
api-version
|
query | True |
string |
Version of the API to use. This should be set to '6.0-preview.1' to use this version of the api. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
successful operation |
Security
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
Name | Description |
---|---|
vso.graph | Grants the ability to read user, group, scope and group membership information |
Examples
Sample Request
GET https://vssps.dev.azure.com/_apis/graph/storagekeys/{subjectDescriptor}?api-version=6.0-preview.1
Sample Response
{
"value": "62a9f1bd-6a09-6642-93a0-01d15fd46498",
"_links": {
"self": {
"href": "https://vssps.dev.azure.com/Fabrikam/_apis/Graph/StorageKeys/aad.NjJhOWYxYmQtNmEwOS03NjQyLTkzYTAtMDFkMTVmZDQ2NDk4"
},
"descriptor": {
"href": "https://vssps.dev.azure.com/Fabrikam/_apis/Graph/Descriptors/62a9f1bd-6a09-6642-93a0-01d15fd46498"
}
}
}
Definitions
Name | Description |
---|---|
Graph |
Storage key of a Graph entity |
Reference |
The class to represent a collection of REST reference links. |
GraphStorageKeyResult
Storage key of a Graph entity
Name | Type | Description |
---|---|---|
_links |
This field contains zero or more interesting links about the graph storage key. These links may be invoked to obtain additional relationships or more detailed information about this graph storage key. |
|
value |
string |
ReferenceLinks
The class to represent a collection of REST reference links.
Name | Type | Description |
---|---|---|
links |
object |
The readonly view of the links. Because Reference links are readonly, we only want to expose them as read only. |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for