Get Permissions By Filter

Get Permissions By Filter

Query Rbac authorization permissions

Request
URI
POST
https://{api_host}/admin/hybridity/api/authz/rbac/permissions/query
COPY
Request Body

Filter object.

permissionFilter of type(s) application/json
Required
{
    "filter": {
        "roleId": [
            "string"
        ],
        "id": [
            "string"
        ]
    }
}
filter
Optional

filter

Authentication
This operation uses the following authentication methods.
Responses
200

Successfully retrived requested permissions.

Returns permissionList of type(s) application/json
{
    "items": [
        {
            "roleId": "roleId",
            "name": "name",
            "roleName": "roleName",
            "description": "description",
            "objectFilters": [
                {
                    "pipeLine": [
                        {
                            "predicate": "AND",
                            "filters": [
                                {
                                    "path": "path",
                                    "attributeOperator": "ANYOF",
                                    "attributeType": "",
                                    "attributeValues": [
                                        "attributeValues",
                                        "attributeValues"
                                    ],
                                    "attribute": "attribute"
                                },
                                {
                                    "path": "path",
                                    "attributeOperator": "ANYOF",
                                    "attributeType": "",
                                    "attributeValues": [
                                        "attributeValues",
                                        "attributeValues"
                                    ],
                                    "attribute": "attribute"
                                }
                            ]
                        },
                        {
                            "predicate": "AND",
                            "filters": [
                                {
                                    "path": "path",
                                    "attributeOperator": "ANYOF",
                                    "attributeType": "",
                                    "attributeValues": [
                                        "attributeValues",
                                        "attributeValues"
                                    ],
                                    "attribute": "attribute"
                                },
                                {
                                    "path": "path",
                                    "attributeOperator": "ANYOF",
                                    "attributeType": "",
                                    "attributeValues": [
                                        "attributeValues",
                                        "attributeValues"
                                    ],
                                    "attribute": "attribute"
                                }
                            ]
                        }
                    ],
                    "name": "name",
                    "description": "description",
                    "objectType": "Network Function Catalog"
                },
                {
                    "pipeLine": [
                        {
                            "predicate": "AND",
                            "filters": [
                                {
                                    "path": "path",
                                    "attributeOperator": "ANYOF",
                                    "attributeType": "",
                                    "attributeValues": [
                                        "attributeValues",
                                        "attributeValues"
                                    ],
                                    "attribute": "attribute"
                                },
                                {
                                    "path": "path",
                                    "attributeOperator": "ANYOF",
                                    "attributeType": "",
                                    "attributeValues": [
                                        "attributeValues",
                                        "attributeValues"
                                    ],
                                    "attribute": "attribute"
                                }
                            ]
                        },
                        {
                            "predicate": "AND",
                            "filters": [
                                {
                                    "path": "path",
                                    "attributeOperator": "ANYOF",
                                    "attributeType": "",
                                    "attributeValues": [
                                        "attributeValues",
                                        "attributeValues"
                                    ],
                                    "attribute": "attribute"
                                },
                                {
                                    "path": "path",
                                    "attributeOperator": "ANYOF",
                                    "attributeType": "",
                                    "attributeValues": [
                                        "attributeValues",
                                        "attributeValues"
                                    ],
                                    "attribute": "attribute"
                                }
                            ]
                        }
                    ],
                    "name": "name",
                    "description": "description",
                    "objectType": "Network Function Catalog"
                }
            ],
            "id": "id",
            "usersAndGroups": [
                "usersAndGroups",
                "usersAndGroups"
            ],
            "creationDate": "creationDate"
        },
        {
            "roleId": "roleId",
            "name": "name",
            "roleName": "roleName",
            "description": "description",
            "objectFilters": [
                {
                    "pipeLine": [
                        {
                            "predicate": "AND",
                            "filters": [
                                {
                                    "path": "path",
                                    "attributeOperator": "ANYOF",
                                    "attributeType": "",
                                    "attributeValues": [
                                        "attributeValues",
                                        "attributeValues"
                                    ],
                                    "attribute": "attribute"
                                },
                                {
                                    "path": "path",
                                    "attributeOperator": "ANYOF",
                                    "attributeType": "",
                                    "attributeValues": [
                                        "attributeValues",
                                        "attributeValues"
                                    ],
                                    "attribute": "attribute"
                                }
                            ]
                        },
                        {
                            "predicate": "AND",
                            "filters": [
                                {
                                    "path": "path",
                                    "attributeOperator": "ANYOF",
                                    "attributeType": "",
                                    "attributeValues": [
                                        "attributeValues",
                                        "attributeValues"
                                    ],
                                    "attribute": "attribute"
                                },
                                {
                                    "path": "path",
                                    "attributeOperator": "ANYOF",
                                    "attributeType": "",
                                    "attributeValues": [
                                        "attributeValues",
                                        "attributeValues"
                                    ],
                                    "attribute": "attribute"
                                }
                            ]
                        }
                    ],
                    "name": "name",
                    "description": "description",
                    "objectType": "Network Function Catalog"
                },
                {
                    "pipeLine": [
                        {
                            "predicate": "AND",
                            "filters": [
                                {
                                    "path": "path",
                                    "attributeOperator": "ANYOF",
                                    "attributeType": "",
                                    "attributeValues": [
                                        "attributeValues",
                                        "attributeValues"
                                    ],
                                    "attribute": "attribute"
                                },
                                {
                                    "path": "path",
                                    "attributeOperator": "ANYOF",
                                    "attributeType": "",
                                    "attributeValues": [
                                        "attributeValues",
                                        "attributeValues"
                                    ],
                                    "attribute": "attribute"
                                }
                            ]
                        },
                        {
                            "predicate": "AND",
                            "filters": [
                                {
                                    "path": "path",
                                    "attributeOperator": "ANYOF",
                                    "attributeType": "",
                                    "attributeValues": [
                                        "attributeValues",
                                        "attributeValues"
                                    ],
                                    "attribute": "attribute"
                                },
                                {
                                    "path": "path",
                                    "attributeOperator": "ANYOF",
                                    "attributeType": "",
                                    "attributeValues": [
                                        "attributeValues",
                                        "attributeValues"
                                    ],
                                    "attribute": "attribute"
                                }
                            ]
                        }
                    ],
                    "name": "name",
                    "description": "description",
                    "objectType": "Network Function Catalog"
                }
            ],
            "id": "id",
            "usersAndGroups": [
                "usersAndGroups",
                "usersAndGroups"
            ],
            "creationDate": "creationDate"
        }
    ]
}
array of permission
items
Optional

items


400

Bad Request

Returns errorResponse of type(s) application/json
{
    "errors": [
        {
            "code": "code",
            "message": "message"
        }
    ]
}
array of error
errors
Optional

errors


401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Permission not found

Operation doesn't return any data structure

500

Internal Server Error

Returns errorResponse of type(s) application/json
{
    "errors": [
        {
            "code": "code",
            "message": "message"
        }
    ]
}
array of error
errors
Optional

errors