Examples

GET /katello/api/content_view_filters/696247676/rules
200
{
  "total": 3,
  "subtotal": 3,
  "selectable": 3,
  "page": 1,
  "per_page": 20,
  "error": null,
  "search": null,
  "sort": {
    "by": "id",
    "order": "asc"
  },
  "results": [
    {
      "content_view_filter_id": 696247676,
      "version": "1.0",
      "id": 36287325,
      "name": "package def",
      "created_at": "2024-02-22 18:22:29 UTC",
      "updated_at": "2024-02-22 18:22:29 UTC"
    },
    {
      "content_view_filter_id": 696247676,
      "id": 345632790,
      "name": "one",
      "created_at": "2024-02-22 18:22:29 UTC",
      "updated_at": "2024-02-22 18:22:29 UTC"
    },
    {
      "content_view_filter_id": 696247676,
      "id": 1022052800,
      "name": "one",
      "created_at": "2024-02-22 18:22:29 UTC",
      "updated_at": "2024-02-22 18:22:29 UTC"
    }
  ]
}

Params

Param name Description
content_view_filter_id
required

filter identifier

Validations:

  • Must be a number.

name
optional

name of the content view filter rule

Validations:

  • String

errata_id
optional

errata_id of the content view filter rule

Validations:

  • String

search
optional

Search string

Validations:

  • String

page
optional

Page number, starting at 1

Validations:

  • Must be a number.

per_page
optional

Number of results per page to return

Validations:

  • Must be a number.

order
optional

Sort field and order, eg. 'id DESC'

Validations:

  • String

full_result
optional

Whether or not to show all results

Validations:

  • Must be one of: true, false, 1, 0.

sort_by
optional

Field to sort the results on

Validations:

  • String

sort_order
optional

How to order the sorted results (e.g. ASC for ascending)

Validations:

  • String