Examples

GET /katello/api/package_groups
200
{
  "total": 2,
  "subtotal": 2,
  "selectable": 2,
  "page": 1,
  "per_page": 20,
  "error": null,
  "search": null,
  "sort": {
    "by": "name",
    "order": "asc"
  },
  "results": [
    {
      "id": 441261589,
      "name": "Katello Server Development",
      "pulp_id": "4f9eea2a-a124-497e-8492-828b6d938aaa",
      "uuid": "4f9eea2a-a124-497e-8492-828b6d938aaa",
      "description": "fun packages for servers",
      "repository": {
        "id": 367202338,
        "name": "Fedora 17 x86_64",
        "product": {
          "id": 785257261,
          "name": "Fedora"
        }
      }
    },
    {
      "id": 283985760,
      "name": "mammals",
      "pulp_id": "4f9eea2a-a124-497e-8492-828b64444abc",
      "uuid": "4f9eea2a-a124-497e-8492-828b64444abc",
      "description": "all kinds of mammals",
      "repository": {
        "id": 367202338,
        "name": "Fedora 17 x86_64",
        "product": {
          "id": 785257261,
          "name": "Fedora"
        }
      }
    }
  ]
}

Params

Param name Description
organization_id
optional

organization identifier

Validations:

  • Must be a number.

content_view_version_id
optional

content view version identifier

Validations:

  • Must be a number.

content_view_filter_id
optional

content view filter identifier

Validations:

  • Must be a number.

content_view_filter_rule_id
optional

content view filter rule identifier

Validations:

  • Must be a number.

repository_id
optional

repository identifier

Validations:

  • Must be a number.

environment_id
optional

environment identifier

Validations:

  • Must be a number.

ids
optional

ids to filter content by

Validations:

  • Must be an array of any type

include_filter_ids
optional

Includes associated content view filter ids in response

Validations:

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

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