Skip to content

Commit

Permalink
Review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sivakumar subraani committed Nov 18, 2024
1 parent 9795d26 commit 0456275
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 51 deletions.
25 changes: 13 additions & 12 deletions pkg/apis/v1/api.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/apis/v1/api.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/apis/v1/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2982,7 +2982,7 @@ service ResourceCollector {
// ResourceTypes api will return the list of ResourceTypes are support by px-backup for backup.
rpc ResourceTypes(ResourceTypeRequest) returns (ResourceTypeResponse) {
option (google.api.http) = {
get : "/v1/getResourceType/{org_id}"
get : "/v1/resourceType/{org_id}"
};
}
}
Expand Down
74 changes: 37 additions & 37 deletions pkg/apis/v1/api.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1245,43 +1245,6 @@
]
}
},
"/v1/getResourceType/{org_id}": {
"get": {
"summary": "ResourceTypes api will return the list of ResourceTypes are support by px-backup for backup.",
"operationId": "ResourceTypes",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/ResourceTypeResponse"
}
}
},
"parameters": [
{
"name": "org_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "cluster_ref.name",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "cluster_ref.uid",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"ResourceCollector"
]
}
},
"/v1/health": {
"get": {
"summary": "Status checks the health of the server",
Expand Down Expand Up @@ -2025,6 +1988,43 @@
]
}
},
"/v1/resourceType/{org_id}": {
"get": {
"summary": "ResourceTypes api will return the list of ResourceTypes are support by px-backup for backup.",
"operationId": "ResourceTypes",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/ResourceTypeResponse"
}
}
},
"parameters": [
{
"name": "org_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "cluster_ref.name",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "cluster_ref.uid",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"ResourceCollector"
]
}
},
"/v1/restore": {
"post": {
"summary": "Creates new restore object in datastore\nIt will also trigger a restore operation on the target cluster",
Expand Down

0 comments on commit 0456275

Please sign in to comment.