Skip to content
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
1,550 changes: 1,182 additions & 368 deletions rust/domains-client/openapi/domains.oas3.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion rust/hosting-client/openapi/hosting.oas3.json
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@
"name": "Proprietary",
"url": "https://www.godaddy.com/legal/agreements/software-license-agreement"
},
"title": "Hosting API",
"title": "Hosted Application Lifecycle Management API",
"version": "1.0.0"
},
"openapi": "3.0.3",
Expand Down
201 changes: 137 additions & 64 deletions rust/schemas/api/bulk-operations.json
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,70 @@
"title": "Bulk Operation Error",
"type": "object"
},
"BulkOperationErrorList": {
"$id": "https://godaddy.com/schemas/commerce/bulk-operations/bulk-operation-error-list.v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A list of bulk operation errors",
"properties": {
"errors": {
"description": "The bulk operation errors",
"items": {
"$ref": "#/$defs/BulkOperationError"
},
"type": "array"
},
"links": {
"description": "The links",
"items": {
"$ref": "#/$defs/link-description"
},
"type": "array"
},
"pageToken": {
"deprecated": true,
"description": "Deprecated. Use links[rel=next].href to advance pages instead. Will be\nremoved in a future release.\n",
"type": "string"
}
},
"required": [
"errors",
"links"
],
"title": "Bulk Operation Errors",
"type": "object"
},
"BulkOperationList": {
"$id": "https://godaddy.com/schemas/commerce/bulk-operations/bulk-operation-list.v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A list of bulk operations",
"properties": {
"bulkOperations": {
"description": "The bulk operations",
"items": {
"$ref": "#/$defs/BulkOperation"
},
"type": "array"
},
"links": {
"description": "The links",
"items": {
"$ref": "#/$defs/link-description"
},
"type": "array"
},
"pageToken": {
"deprecated": true,
"description": "Deprecated. Use links[rel=next].href to advance pages instead. Will be\nremoved in a future release.\n",
"type": "string"
}
},
"required": [
"bulkOperations",
"links"
],
"title": "Bulk Operations",
"type": "object"
},
"BulkOperationOperation": {
"$id": "https://godaddy.com/schemas/commerce/bulk-operations/bulk-operation-operation.v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
Expand Down Expand Up @@ -765,6 +829,21 @@
"title": "Bulk Operation GraphQL Operation",
"type": "object"
},
"BulkOperationResponse": {
"$id": "https://godaddy.com/schemas/commerce/bulk-operations/bulk-operation-response.v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A response containing a single bulk operation",
"properties": {
"bulkOperation": {
"$ref": "#/$defs/BulkOperation"
}
},
"required": [
"bulkOperation"
],
"title": "Bulk Operation Response",
"type": "object"
},
"BulkOperationRoundingMode": {
"$id": "https://godaddy.com/schemas/commerce/bulk-operations/bulk-operation-rounding-mode.v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
Expand Down Expand Up @@ -2482,29 +2561,7 @@
"200": {
"description": "Successfully retrieved bulk operations",
"schema": {
"description": "A list of bulk operations",
"properties": {
"bulkOperations": {
"description": "The bulk operations",
"items": {
"$ref": "#/$defs/BulkOperation"
},
"type": "array"
},
"links": {
"description": "The links",
"items": {
"$ref": "#/$defs/link-description"
},
"type": "array"
},
"pageToken": {
"description": "The page token",
"type": "string"
}
},
"title": "Bulk Operations",
"type": "object"
"$ref": "#/$defs/BulkOperationList"
}
},
"400": {
Expand Down Expand Up @@ -2552,12 +2609,7 @@
"201": {
"description": "Bulk operation created",
"schema": {
"properties": {
"bulkOperation": {
"$ref": "#/$defs/BulkOperation"
}
},
"type": "object"
"$ref": "#/$defs/BulkOperationResponse"
}
},
"400": {
Expand Down Expand Up @@ -2613,12 +2665,7 @@
"200": {
"description": "Successfully retrieved bulk operation",
"schema": {
"properties": {
"bulkOperation": {
"$ref": "#/$defs/BulkOperation"
}
},
"type": "object"
"$ref": "#/$defs/BulkOperationResponse"
}
},
"400": {
Expand All @@ -2640,9 +2687,9 @@
"summary": "Get a bulk operation"
},
{
"description": "Cancel an ongoing bulk operation. This is a state transition; the\noperation remains retrievable via GET with status CANCELED.\nA dedicated POST .../cancellations controller resource is a follow-up\nalignment with bulk-ingestions/bulk-exports.\n",
"description": "Deprecated. Cancel an ongoing bulk operation. This is a state\ntransition; the operation remains retrievable via GET with status\nCANCELED. `DELETE` is semantically incorrect for a state transition\nand is deprecated in favor of\n`POST .../bulk-operations/{bulkOperationId}/cancelations`, aligning\nwith bulk-ingestions/bulk-exports. This operation will be removed in\na future release.\n",
"method": "DELETE",
"operationId": "cancelBulkOperation",
"operationId": "cancelBulkOperationLegacy",
"parameters": [
{
"description": "The Store ID",
Expand All @@ -2668,19 +2715,64 @@
"200": {
"description": "Bulk operation cancelled",
"schema": {
"properties": {
"bulkOperation": {
"$ref": "#/$defs/BulkOperation"
}
},
"type": "object"
"$ref": "#/$defs/BulkOperationResponse"
}
},
"400": {
"description": "Error",
"schema": {
"$ref": "#/$defs/error"
}
}
},
"scopes": [
"commerce.bulk-operation:write"
],
"summary": "Cancel a bulk operation (deprecated)"
},
{
"description": "Cancel an ongoing bulk operation. This is a state transition; the\noperation remains retrievable via GET with status CANCELED. Replaces\nthe deprecated `DELETE .../bulk-operations/{bulkOperationId}` route,\naligning with bulk-ingestions/bulk-exports.\n",
"method": "POST",
"operationId": "cancelBulkOperation",
"parameters": [
{
"description": "The Store ID",
"in": "path",
"name": "storeId",
"required": true,
"schema": {
"$ref": "#/$defs/uuid"
}
},
{
"description": "The Bulk Operation ID",
"in": "path",
"name": "bulkOperationId",
"required": true,
"schema": {
"$ref": "#/$defs/uuid"
}
}
],
"path": "/stores/{storeId}/bulk-operations/{bulkOperationId}/cancelations",
"responses": {
"200": {
"description": "Bulk operation cancelled",
"schema": {
"$ref": "#/$defs/BulkOperationResponse"
}
},
"400": {
"description": "Error",
"schema": {
"$ref": "#/$defs/error"
}
},
"404": {
"description": "Error",
"schema": {
"$ref": "#/$defs/error"
}
}
},
"scopes": [
Expand Down Expand Up @@ -2735,26 +2827,7 @@
"200": {
"description": "Successfully retrieved bulk operation errors",
"schema": {
"properties": {
"errors": {
"items": {
"$ref": "#/$defs/BulkOperationError"
},
"type": "array"
},
"links": {
"description": "The links",
"items": {
"$ref": "#/$defs/link-description"
},
"type": "array"
},
"pageToken": {
"description": "The page token",
"type": "string"
}
},
"type": "object"
"$ref": "#/$defs/BulkOperationErrorList"
}
},
"400": {
Expand All @@ -2772,5 +2845,5 @@
],
"name": "bulk-operations",
"title": "Bulk Operations API",
"version": "1.1.0"
"version": "1.2.0"
}
Loading
Loading