diff --git a/api-specs/importapi/api.raml b/api-specs/importapi/api.raml index 237e6a401..d2ae41f09 100644 --- a/api-specs/importapi/api.raml +++ b/api-specs/importapi/api.raml @@ -249,6 +249,7 @@ traits: 200: body: type: import-summary.ImportSummary + example: !include examples/import-summary.json /import-operations: type: base get: diff --git a/api-specs/importapi/examples/import-summary.json b/api-specs/importapi/examples/import-summary.json new file mode 100644 index 000000000..fa173f2cd --- /dev/null +++ b/api-specs/importapi/examples/import-summary.json @@ -0,0 +1,12 @@ +{ + "states": { + "processing": 3, + "validationFailed": 0, + "unresolved": 0, + "waitForMasterVariant": 0, + "imported": 2, + "rejected": 0, + "canceled": 0 + }, + "total": 5 +}