asset/$asset_id/acl

25Sep2009

Request of ACL rules of an Asset

This rest call generate an xml-output with all of the acl-rules that the asset have.

Request url

/asset/{asset_id}/acl [GET]

Request parameters

Parameter

Type

Description

Method

Obligatory/Optional

asset_id

alphanumeric

asset id, unique identifier of the asset

URL

obligatory

user_id

string

user id, it is to determine whether the applicant has the right to ask for authorization or not. Only the owner of the asset can use this call.

GET

obligatory

 

Example request URL

/asset/IuQahqi9ATcSAw2QMFAXeC2N/acl?user_id=entree004

Example response

<response>
  <header>
    <item_count>1</item_count>
    <request_process_time>0.0291</request_process_time>
    <request_result>success</request_result>
    <request_result_description></request_result_description>
    <request_result_id>601</request_result_id>
    <request_uri>[GET] asset/IuQahqi9ATcSAw2QMFAXeC2N/acl?user_id=admin</request_uri>
    <vpx_version>1.5.7</vpx_version>
  </header>
  <items>
    <item id="1">
      <aut_app>5</aut_app>
    </item>
  </items>
</response>