Add verification_level to GraphQL CatalogResourceType
What does this MR do and why?
Add verification_level to GraphQL CatalogResourceType
Closes #434059 (closed)
Query:
query getCiCatalogResourceDetails {
ciCatalogResource(id: "gid://gitlab/Ci::Catalog::Resource/1") {
id
name
verificationLevel
webPath
starCount
latestVersion {
id
}
latestReleasedAt
icon
}
}
Response:
{
"data": {
"ciCatalogResource": {
"id": "gid://gitlab/Ci::Catalog::Resource/1",
"name": "Resource 2",
"verificationLevel": "GITLAB",
"webPath": "/gitlab-org/gitlab-test",
"starCount": 0,
"latestVersion": null,
"latestReleasedAt": "2022-01-12T09:45:00Z",
"icon": null
}
}
}
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Edited by Laura Montemayor