-
Notifications
You must be signed in to change notification settings - Fork 0
api auth entity get
Alban LEROUX edited this page Mar 10, 2012
·
1 revision
Retrieve entity data.
require admin or self grant access
NOTE:
selfgrant is not a real grant, it means that a authenticated user can act on its data.
GET http://example.com/api/get/auth.entity.get/json/?entity=fa10c4d7b02a13e27a2ae5a5bbe8130b
{
"method" : "auth.entity.get",
"request" :
{
"entity" : "fa10c4d7b02a13e27a2ae5a5bbe8130b"
}
}<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
<method>auth.entity.get</method>
<request>
<entity>fa10c4d7b02a13e27a2ae5a5bbe8130b</entity>
</refresh>
</xml>{
"status" : "valid",
"response" :
{
"name" : "Lightroom Plugin",
"user" : "jhon",
"public_key" : "fa10c4d7b02a13e27a2ae5a5bbe8130b"
}
}<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
<status>valid</status>
<response>
<name>Lightroom Plugin</name>
<user>jhon</user>
<public_key>fa10c4d7b02a13e27a2ae5a5bbe8130b</public_key>
</response>
</xml>- entity: the entity identifier
- name: the entity name
- user: the user name
- public_key: the entity public key
- private_key: the entity private key (only if the authentication is made from the admin web interface).
auth.config.get
auth.config.set
auth.request
auth.token
auth.refresh
auth.destroy
auth.user.add
auth.user.set
auth.user.del
auth.user.get
auth.user.list
auth.entity.add
auth.entity.set
auth.entity.del
auth.entity.get
auth.entity.list
auth.grant.add
auth.grant.set
auth.grant.del
auth.grant.get
auth.grant.list