Skip to main content

rbac_permissions_list

GET 

/rbac/permissions/

Read-only list of all permissions, filterable by model and app

Request

Query Parameters

    codename string
    content_type__app_label string
    content_type__model string
    ordering string

    Which field to use when ordering the results.

    page integer

    A page number within the paginated result set.

    page_size integer

    Number of results to return per page.

    role string
    search string

    A search term.

    user integer

Responses

Schema

    pagination

    object

    required

    next numberrequired
    previous numberrequired
    count numberrequired
    current numberrequired
    total_pages numberrequired
    start_index numberrequired
    end_index numberrequired

    results

    object[]

    required

  • Array [

  • id integerrequired
    name stringrequired

    Possible values: <= 255 characters

    codename stringrequired

    Possible values: <= 100 characters

    model Python model class name (string)required
    app_label stringrequired
    app_label_verbose stringrequired

    Human-readable app label

    model_verbose stringrequired

    Human-readable model name

  • ]

Loading...