You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: src/marketplace/eqp/v1/packages.md
+12-5Lines changed: 12 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,7 @@ Both `POST` and `PUT` requests support a batch model where multiple packages can
108
108
|shared_packages[N].artifact.sku|string|GET, POST, PUT|both|no|The shared package file|Unique file upload ID obtained from the Files API.|
109
109
|shared_packages[N].artifact.version|string|GET, POST, PUT|both|no|The shared package file|Unique file upload ID obtained from the Files API.|
110
110
|short_description|substring|GET, POST, PUT|marketing|yes|The short description for the package.|Short free text|
111
-
|sku|substring|GET|-|yes|The SKU generated from metadata in the code artifact.|A SKU|
111
+
|sku|substring|GET, POST|-|yes|The SKU generated from metadata in the code artifact. Only specified in a `POST` when creating another version of an existing extension.|A SKU|
112
112
|stability|string|GET, POST, PUT|marketing|yes|The version's build stability|`stable`, `beta`|
113
113
|sort|string|GET|-|no|A comma-separated list of fields to sort the list, each field prefixed by `-` for descending order, or `+` for ascending order.|See [Get package details](#get-package-details).|
114
114
|submission_id|substring|GET, PUT|-|yes|A globally unique ID assigned to a package when it is submitted in a POST request. All further references to this package using GET or PUT requests can be made supplying this identifier.|A generated string|
@@ -124,7 +124,7 @@ Both `POST` and `PUT` requests support a batch model where multiple packages can
124
124
|version_compatibility|array|GET, POST, PUT|technical|no|List of Magento versions that this package supports. Must match the editions in `prices`|Array of objects|
125
125
|version_compatibility[N].edition|string|GET, POST, PUT|technical|no|Magento edition for the accompanying versions list|`M2`|
126
126
|version_compatibility[N].versions|array|GET, POST, PUT|technical|no|List of Magento versions that this package supports in the given edition.|Array of version strings, eg ["2.3","2.4"]
127
-
|version|substring|GET|-|yes|The version of this package.|`major.minor.patch`, eg `2.5.3`.|
127
+
|version|substring|GET, POST|both|yes|The version of this package.|`major.minor.patch`, eg `2.5.3`.|
128
128
129
129
### Additional notes
130
130
@@ -515,7 +515,8 @@ Send the "submit" action for the marketing content to re-publish the product.
515
515
}
516
516
```
517
517
518
-
* The *overall* value indicates where the package is in the EQP pipeline.
518
+
* This is a read-only field.
519
+
* The **overall** value indicates where the package is in the EQP pipeline.
519
520
* Additional details are provided in the two main EQP areas:
520
521
***technical** - Provides the current technical status.
521
522
***marketing** - Provides the current marketing status.
@@ -570,6 +571,7 @@ PUT /rest/v1/products/packages/:item_id
570
571
You can submit a package in either of the following ways:
571
572
572
573
* A single POST request with all required fields set. You must explicitly indicate that you are submitting for technical and marketing review using the `action` parameter.
574
+
* If this package represents a newer version to an already existing extension, then also supply the `sku` parameter.
573
575
* A series of requests, typically in the following order:
574
576
1. A single POST request with the minimum required fields set and `action` set to `draft` in either `technical`, `marketing`, or both. This request accepts the new package and saves it on the Developer Portal for further updates. It returns a unique `submission_id` for subsequent PUT operations.
575
577
1. One or more PUT requests in which you configure the package parameters. In these requests, set `action` to `draft` in `technical`, `marketing`, or both.
@@ -614,6 +616,7 @@ The following example shows a POST request with all required parameters set for
614
616
"short_description" : "<Short description here>",
615
617
"long_description" : "<Long description here>",
616
618
"release_notes" : "<Release notes here>",
619
+
"version" : "1.1.5",
617
620
"artifact" : {
618
621
"file_upload_id" : "5c11e656057b42.97931218.5"
619
622
},
@@ -765,7 +768,7 @@ The HTTP response code will indicate success or failure.
765
768
766
769
#### Required parameters
767
770
768
-
If the **action** parameter gives a `submit` value for technical, marketing or both,
771
+
If the **action** parameter gives a `submit` value for **technical**, **marketing** or both,
769
772
the required parameters are listed below by their respective parallel EQP pipelines:
770
773
771
774
##### Technical
@@ -776,6 +779,8 @@ the required parameters are listed below by their respective parallel EQP pipeli
776
779
|platform||
777
780
|version_compatibility||
778
781
|release_notes||
782
+
|version||
783
+
|sku|Only valid when a previous version exists|
779
784
|artifact||
780
785
|documentation_artifacts|At least the `user` guide must be supplied.|
781
786
@@ -796,14 +801,16 @@ the required parameters are listed below by their respective parallel EQP pipeli
796
801
797
802
##### Submission in several steps
798
803
799
-
As described earlier, a submission can also be done in several steps in draft mode, followed by the action to `submit` for technical and/or `marketing` review. In such cases, the first
804
+
As described earlier, a submission can also be done in several steps in draft mode, followed by the action to `submit` for **technical** and/or **marketing** review. In such cases, the first
800
805
POST request in draft mode can be done with a minimal set of parameters:
0 commit comments