v1

latestOpenAPI 3.0.1License2026-07-17467229.7 KB
UMA (User Managed Access)

Registers permission.

Registers permission.

post/restv1/host/rsrc_pr

Headers

Authorizationstring required

Client Authorization details that contains the access token along with other details.

Response

OK

resource_idstring required

The identifier for a resource to which this client is seeking access. The identifier MUST correspond to a resource that was previously registered.

resource_scopesstring[] required

An array referencing zero or more strings representing scopes to which access was granted for this resource. Each string MUST correspond to a scope that was registered by this resource server for the referenced resource.

paramsobject

A key/value map that can contain custom parameters.

expinteger

Number of seconds since January 1 1970 UTC, indicating when this token will expire.

Example response

[
  {
    "resource_id": "112210f47de98100",
    "resource_scopes": [
      "http://photoz.example.com/dev/actions/add",
      "http://photoz.example.com/dev/actions/internalClient"
    ],
    "exp": 1256953732
  }
]