Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RHINENG-2420: support filtering in /view{/systems/advisories,/advisories/systems} #1335

Merged
merged 3 commits into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
200 changes: 200 additions & 0 deletions docs/v3/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -5462,6 +5462,103 @@
"summary": "View advisory-system pairs for selected systems and installable advisories",
"description": "View advisory-system pairs for selected systems and installable advisories",
"operationId": "viewAdvisoriesSystems",
"parameters": [
{
"name": "limit",
"in": "query",
"description": "Limit for paging, set -1 to return all",
"schema": {
"type": "integer"
}
},
{
"name": "offset",
"in": "query",
"description": "Offset for paging",
"schema": {
"type": "integer"
}
},
{
"name": "tags",
"in": "query",
"description": "Tag filter",
"style": "form",
"explode": true,
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
{
"name": "filter[group_name]",
"in": "query",
"description": "Filter systems by inventory groups",
"style": "form",
"explode": true,
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
{
"name": "filter[system_profile][sap_system]",
"in": "query",
"description": "Filter only SAP systems",
"schema": {
"type": "string"
}
},
{
"name": "filter[system_profile][sap_sids]",
"in": "query",
"description": "Filter systems by their SAP SIDs",
"style": "form",
"explode": true,
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
{
"name": "filter[system_profile][ansible]",
"in": "query",
"description": "Filter systems by ansible",
"schema": {
"type": "string"
}
},
{
"name": "filter[system_profile][ansible][controller_version]",
"in": "query",
"description": "Filter systems by ansible version",
"schema": {
"type": "string"
}
},
{
"name": "filter[system_profile][mssql]",
"in": "query",
"description": "Filter systems by mssql version",
"schema": {
"type": "string"
}
},
{
"name": "filter[system_profile][mssql][version]",
"in": "query",
"description": "Filter systems by mssql version",
"schema": {
"type": "string"
}
}
],
"requestBody": {
"description": "Request body",
"content": {
Expand Down Expand Up @@ -5518,6 +5615,103 @@
"summary": "View system-advisory pairs for selected systems and installable advisories",
"description": "View system-advisory pairs for selected systems and installable advisories",
"operationId": "viewSystemsAdvisories",
"parameters": [
{
"name": "limit",
"in": "query",
"description": "Limit for paging, set -1 to return all",
"schema": {
"type": "integer"
}
},
{
"name": "offset",
"in": "query",
"description": "Offset for paging",
"schema": {
"type": "integer"
}
},
{
"name": "tags",
"in": "query",
"description": "Tag filter",
"style": "form",
"explode": true,
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
{
"name": "filter[group_name]",
"in": "query",
"description": "Filter systems by inventory groups",
"style": "form",
"explode": true,
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
{
"name": "filter[system_profile][sap_system]",
"in": "query",
"description": "Filter only SAP systems",
"schema": {
"type": "string"
}
},
{
"name": "filter[system_profile][sap_sids]",
"in": "query",
"description": "Filter systems by their SAP SIDs",
"style": "form",
"explode": true,
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
{
"name": "filter[system_profile][ansible]",
"in": "query",
"description": "Filter systems by ansible",
"schema": {
"type": "string"
}
},
{
"name": "filter[system_profile][ansible][controller_version]",
"in": "query",
"description": "Filter systems by ansible version",
"schema": {
"type": "string"
}
},
{
"name": "filter[system_profile][mssql]",
"in": "query",
"description": "Filter systems by mssql version",
"schema": {
"type": "string"
}
},
{
"name": "filter[system_profile][mssql][version]",
"in": "query",
"description": "Filter systems by mssql version",
"schema": {
"type": "string"
}
}
],
"requestBody": {
"description": "Request body",
"content": {
Expand Down Expand Up @@ -5643,6 +5837,9 @@
}
}
},
"links": {
"$ref": "#/components/schemas/controllers.Links"
},
"meta": {
"$ref": "#/components/schemas/controllers.ListMeta"
}
Expand Down Expand Up @@ -7209,6 +7406,9 @@
}
}
},
"links": {
"$ref": "#/components/schemas/controllers.Links"
},
"meta": {
"$ref": "#/components/schemas/controllers.ListMeta"
}
Expand Down
Loading
Loading