単一のロールのプロパティーを取得します。プロパティーメタデータを返すには、問合せパラメータを true に設定します。
リクエストの例:
GET /api/role/v1/roles/basic?props=true HTTP/1.1 Authorization: Basic abcefgMWE= Host: zfssa.example.com:215 Accept: application/json
レスポンスの例:
HTTP/1.1 200 OK
X-Zfssa-Appliance-Api: 1.0
Content-Type: application/json
Content-Length: 390
{
"props": [{
"immutable": true,
"label": "Role name",
"name": "name",
"type": "String"
}, {
"label": "A description of this role",
"name": "description",
"type": "String"
}],
"role": {
"authorizations": [],
"description": "Basic administration",
"href": "/api/role/v1/roles/basic",
"name": "basic"
}
}