diff --git a/documentation/openapi.yml b/documentation/openapi.yml index 39638944..447fe661 100644 --- a/documentation/openapi.yml +++ b/documentation/openapi.yml @@ -13,7 +13,7 @@ info: license: name: MPL-2.0 url: https://www.mozilla.org/en-US/MPL/2.0/ - version: "0.1" + version: "0.4" externalDocs: description: The Divvi Up API repository url: https://github.com/divviup/divviup-api @@ -805,6 +805,25 @@ components: type: string chunk_length: type: number + dp_strategy: + type: object + properties: + dp_strategy: + type: string + enum: [NoDifferentialPrivacy, PureDpDiscreteLaplace] + budget: + type: object + properties: + epsilon: + type: array + minItems: 2 + maxItems: 2 + items: + type: array + items: + type: number + minimum: 0 + maximum: 4294967295 required: [type] ApiToken: type: object