Examples

GET /katello/api/srpms
200
{
  "total": 3,
  "subtotal": 3,
  "selectable": 3,
  "page": 1,
  "per_page": 20,
  "error": null,
  "search": null,
  "sort": {
    "by": null,
    "order": null
  },
  "results": [
    {
      "id": 980190962,
      "pulp_id": "one-uuid",
      "name": "one",
      "filename": "one-1.1.src.rpm",
      "created_at": "2022-11-08 19:09:32 UTC",
      "version": "1.0",
      "arch": "src",
      "release": "1.el7",
      "epoch": "0",
      "checksum": null,
      "summary": null,
      "nvra": "one-1.0-1.el7.src"
    },
    {
      "id": 1046165992,
      "pulp_id": "one-uuid-two",
      "name": "one",
      "filename": "one-1.2.src.rpm",
      "created_at": "2022-11-08 19:09:32 UTC",
      "version": "1.0",
      "arch": "src",
      "release": "2.el7",
      "epoch": "0",
      "checksum": null,
      "summary": null,
      "nvra": "one-1.0-2.el7.src"
    },
    {
      "id": 298486374,
      "pulp_id": "two-uuid",
      "name": "two",
      "filename": "two-2.1.src.rpm",
      "created_at": "2022-11-08 19:09:32 UTC",
      "version": "1.0",
      "arch": "src",
      "release": "1.el7",
      "epoch": "0",
      "checksum": null,
      "summary": null,
      "nvra": "two-1.0-1.el7.src"
    }
  ]
}

Params

Param name Description
organization_id
optional

Organization 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.

content_view_version_id
optional

Content View Version identifier

Validations:

  • Must be a number.

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