Skip to content

Commit

Permalink
Updated API from documentation release
Browse files Browse the repository at this point in the history
  • Loading branch information
Auto Mation committed Oct 11, 2023
1 parent 0db46bc commit 2e8dccc
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 40 deletions.
32 changes: 16 additions & 16 deletions api-specs/ml/resources/missing-data.raml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#%RAML 1.0 Library
(annotations.deprecated): true
(beta): true
(annotations.beta): true
/attributes:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
post:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
body:
application/json:
type: missing-data.MissingAttributesSearchRequest
Expand All @@ -18,17 +18,17 @@
example: !include ../examples/missing-data-token.json
/status:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
/{taskId}:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
(annotations.methodName): withTaskId
uriParameters:
taskId:
type: string
get:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
responses:
200:
body:
Expand All @@ -37,10 +37,10 @@
example: !include ../examples/missing-data-response.json
/images:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
post:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
body:
application/json:
type: missing-data.MissingImagesSearchRequest
Expand All @@ -52,17 +52,17 @@
example: !include ../examples/missing-data-token.json
/status:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
/{taskId}:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
(annotations.methodName): withTaskId
uriParameters:
taskId:
type: string
get:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
responses:
200:
body:
Expand All @@ -71,10 +71,10 @@
example: !include ../examples/missing-images-response.json
/prices:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
post:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
body:
application/json:
type: missing-data.MissingPricesSearchRequest
Expand All @@ -86,17 +86,17 @@
example: !include ../examples/missing-data-token.json
/status:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
/{taskId}:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
(annotations.methodName): withTaskId
uriParameters:
taskId:
type: string
get:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
responses:
200:
body:
Expand Down
2 changes: 2 additions & 0 deletions api-specs/ml/types/annotations.raml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,5 @@ annotationTypes:
type: array
items:
type: string
beta:
type: boolean
48 changes: 24 additions & 24 deletions api-specs/ml/types/missing-data.raml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ uses:
types:
AttributeCount:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
properties:
productTypeAttributes:
description: Number of attributes defined in the product type.
Expand All @@ -26,7 +26,7 @@ types:

AttributeCoverage:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
properties:
names:
description:
Expand All @@ -44,7 +44,7 @@ types:

MissingAttributesDetails:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
properties:
total:
description: Number of products scanned.
Expand All @@ -61,7 +61,7 @@ types:

MissingAttributes:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
properties:
product:
type: common.ProductReference
Expand All @@ -88,7 +88,7 @@ types:

MissingAttributesMeta:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
properties:
productLevel:
type: MissingAttributesDetails
Expand All @@ -100,7 +100,7 @@ types:

MissingAttributesSearchRequest:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
properties:
limit?:
type: number
Expand Down Expand Up @@ -165,7 +165,7 @@ types:
type: string
MissingAttributesPagedQueryResult:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
properties:
count:
type: number
Expand All @@ -185,7 +185,7 @@ types:

MissingDataTaskStatus:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
description:
Represents a URL path to poll to get the results of an Asynchronous
Request.
Expand All @@ -203,7 +203,7 @@ types:
## Missing image section
MissingImages:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
properties:
product: common.ProductReference
variantId:
Expand All @@ -217,7 +217,7 @@ types:

MissingImagesCount:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
properties:
missingImages:
type: number
Expand All @@ -229,7 +229,7 @@ types:

MissingImagesProductLevel:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
type: MissingImagesCount
properties:
missingImages:
Expand All @@ -243,7 +243,7 @@ types:

MissingImagesVariantLevel:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
type: MissingImagesCount
properties:
missingImages:
Expand All @@ -257,7 +257,7 @@ types:

MissingImagesMeta:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
properties:
productLevel: MissingImagesProductLevel
variantLevel: MissingImagesVariantLevel
Expand All @@ -270,7 +270,7 @@ types:

MissingImagesSearchRequest:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
properties:
limit?:
type: number
Expand Down Expand Up @@ -322,7 +322,7 @@ types:
type: string[]
MissingImagesPagedQueryResult:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
properties:
count:
type: number
Expand All @@ -341,7 +341,7 @@ types:
type: MissingImagesMeta
MissingImagesTaskStatus:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
description:
Represents a URL path to poll to get the results of an Asynchronous
Request.
Expand All @@ -360,7 +360,7 @@ types:
# Missing prices section
MissingPrices:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
properties:
product: common.ProductReference
variantId:
Expand All @@ -369,7 +369,7 @@ types:
format: int64
MissingPricesProductCount:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
properties:
total:
type: number
Expand All @@ -379,7 +379,7 @@ types:
format: int64
MissingPricesProductLevel:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
type: MissingPricesProductCount
properties:
total:
Expand All @@ -393,7 +393,7 @@ types:

MissingPricesVariantLevel:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
type: MissingPricesProductCount
properties:
total:
Expand All @@ -406,14 +406,14 @@ types:
format: int64
MissingPricesMeta:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
properties:
productLevel: MissingPricesProductLevel
variantLevel: MissingPricesVariantLevel

MissingPricesSearchRequest:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
properties:
limit?:
type: number
Expand Down Expand Up @@ -476,7 +476,7 @@ types:

MissingPricesPagedQueryResult:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
properties:
count:
type: number
Expand All @@ -495,7 +495,7 @@ types:
type: MissingPricesMeta
MissingPricesTaskStatus:
(annotations.deprecated): true
(beta): true
(annotations.beta): true
description:
Represents a URL path to poll to get the results of an Asynchronous
Request.
Expand Down

0 comments on commit 2e8dccc

Please sign in to comment.