단일 역할에 대한 등록 정보를 검색합니다. 등록 정보 메타데이터를 반환하려면 질의 매개변수를 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" } }