Skip to content

Views get

api-version: 1.0

Retrieves the list of views.

GET  /{collectionId}/{storageId}/_api/rest/facets/{facetId}/views

Parameters

Name In Required Type Description
collectionId path true string The ID of the storage collection.
storageId path true string The ID of the tenant.
facetId path true string The name of the facet.

Responses

Success 200

Name Type Description
count integer The number of returned values.
values FacetView[] The list of views.

Error 4xx

Name Type Description
message string The error message
output OperationResultOutput The result output.
type OperationResultType The result type.
data OperationError The list of errors.

Examples

Get the list of views of the processes facet

Request

GET https://demo.symbioworld.com/pz/showcase/_api/rest/facets/processes/views

Response (200 OK)

{
    "count": 10,
    "values": [
        {
            "name": "detail",
            "displayName": "All information on processes",
            "isHierarchical": false,
            "elements": "https://demo.symbioworld.com/pz/showcase/_api/rest/facets/processes/views/detail/elements"
        },
        {
            "name": "detail",
            "displayName": "All information on processes",
            "isHierarchical": false,
            "elements": "https://demo.symbioworld.com/pz/showcase/_api/rest/facets/processes/views/detail/elements"
        },
        {
            "name": "diagram",
            "displayName": "Graphic",
            "isHierarchical": false,
            "elements": "https://demo.symbioworld.com/pz/showcase/_api/rest/facets/processes/views/diagram/elements"
        },
        {
            "name": "diagram",
            "displayName": "Graphic",
            "isHierarchical": false,
            "elements": "https://demo.symbioworld.com/pz/showcase/_api/rest/facets/processes/views/diagram/elements"
        },
        {
            "name": "diagram",
            "displayName": "Graphic",
            "isHierarchical": false,
            "elements": "https://demo.symbioworld.com/pz/showcase/_api/rest/facets/processes/views/diagram/elements"
        },
        {
            "name": "documentContent",
            "displayName": "Document content",
            "isHierarchical": true,
            "elements": "https://demo.symbioworld.com/pz/showcase/_api/rest/facets/processes/views/documentContent/elements"
        },
        {
            "name": "documentContent",
            "displayName": "Document content",
            "isHierarchical": false,
            "elements": "https://demo.symbioworld.com/pz/showcase/_api/rest/facets/processes/views/documentContent/elements"
        },
        {
            "name": "list",
            "displayName": "List",
            "isHierarchical": false,
            "elements": "https://demo.symbioworld.com/pz/showcase/_api/rest/facets/processes/views/list/elements"
        },
        {
            "name": "reporting",
            "displayName": "Report data",
            "isHierarchical": true,
            "elements": "https://demo.symbioworld.com/pz/showcase/_api/rest/facets/processes/views/reporting/elements"
        },
        {
            "name": "tree",
            "displayName": "Architecture",
            "isHierarchical": true,
            "elements": "https://demo.symbioworld.com/pz/showcase/_api/rest/facets/processes/views/tree/elements"
        }
    ]
}

Definitions

FacetView

Name Type Description
name string The name of the view.
displayNames Dictionary The display name of the view on multiple languages.
elements string The URI to retrieve the available elements.
isHierarchical bool Value indicating wheather this instance is hierarchical

OperationResultOutput

Name Type
volatile string
permanent string
dialog string
inline string

OperationResultType

Name Type
critical string
error string
warning string
success string
unauthorized string

OperationError

Name Type Description
error string The error message.