Storage Keys - Get

Resolve a descriptor to a storage key.

GET https://vssps.dev.azure.com/{organization}/_apis/graph/storagekeys/{subjectDescriptor}?api-version=7.1-preview.1

URI Parameters

Name In Required Type Description
subjectDescriptor
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 '7.1-preview.1' to use this version of the api.

Responses

Name Type Description
200 OK

GraphStorageKeyResult

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=7.1-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
GraphStorageKeyResult

Storage key of a Graph entity

ReferenceLinks

The class to represent a collection of REST reference links.

GraphStorageKeyResult

Storage key of a Graph entity

Name Type Description
_links

ReferenceLinks

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

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.