Skip to content

Commit

Permalink
Merge pull request #438 from RedHatInsights/create-pull-request/patch
Browse files Browse the repository at this point in the history
Syncing API
  • Loading branch information
fhlavac authored Jan 2, 2025
2 parents 18d2378 + 593994a commit 2d4ab74
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8220,7 +8220,7 @@
"Purge": {
"properties": {
"finished_before": {
"default": "2024-11-18",
"default": "2024-12-02",
"description": "Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]'",
"format": "date-time",
"type": "string"
Expand Down
80 changes: 80 additions & 0 deletions packages/common/config/apis/hcc-insights/repositories/content.json
Original file line number Diff line number Diff line change
Expand Up @@ -1485,6 +1485,14 @@
"description": "Environment ID used by subscription-manager and candlepin",
"type": "string"
},
"snapshots": {
"description": "The list of snapshots in use by the template",
"items": {
"$ref": "#/components/schemas/api.SnapshotResponse"
},
"readOnly": true,
"type": "array"
},
"updated_at": {
"description": "Datetime template was last updated",
"type": "string"
Expand Down Expand Up @@ -5507,6 +5515,78 @@
]
}
},
"/templates/{template_uuid}/config.repo": {
"get": {
"operationId": "getTemplateRepoConfigurationFile",
"parameters": [
{
"description": "Identifier of the template",
"in": "path",
"name": "template_uuid",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"text/plain": {
"schema": {
"type": "string"
}
}
},
"description": "OK"
},
"400": {
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/errors.ErrorResponse"
}
}
},
"description": "Bad Request"
},
"401": {
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/errors.ErrorResponse"
}
}
},
"description": "Unauthorized"
},
"404": {
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/errors.ErrorResponse"
}
}
},
"description": "Not Found"
},
"500": {
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/errors.ErrorResponse"
}
}
},
"description": "Internal Server Error"
}
},
"summary": "Get configuration file for all repositories in a template",
"tags": [
"templates"
]
}
},
"/templates/{uuid}": {
"delete": {
"description": "This enables deleting a specific template.",
Expand Down

0 comments on commit 2d4ab74

Please sign in to comment.