From 712d2e6dae30de54786ccf725eb1d84f1359201d Mon Sep 17 00:00:00 2001 From: Juan Ku Quintana Date: Tue, 9 Jan 2024 12:40:03 -0600 Subject: [PATCH] Add restore price to /domain_prices enpoint (#554) --- content/v2/openapi.yml | 6 +++++- fixtures/v2/api/getDomainPrices/success.http | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/content/v2/openapi.yml b/content/v2/openapi.yml index ed8eb7c8..34515eac 100644 --- a/content/v2/openapi.yml +++ b/content/v2/openapi.yml @@ -3695,12 +3695,16 @@ components: type: number format: float description: The domain transfer price represented as a USD amount with dollars and cents. + restore_price: + type: number + format: float + description: The domain restore price represented as a USD amount with dollars and cents. example: domain: ruby.codes premium: false registration_price: 12.0 renewal_price: 15.0 - transfer_price: 15.0 + restore_price: 25.0 DomainRegistration: type: object properties: diff --git a/fixtures/v2/api/getDomainPrices/success.http b/fixtures/v2/api/getDomainPrices/success.http index 4668cf06..a3b5c8d4 100644 --- a/fixtures/v2/api/getDomainPrices/success.http +++ b/fixtures/v2/api/getDomainPrices/success.http @@ -18,4 +18,4 @@ X-Permitted-Cross-Domain-Policies: none Content-Security-Policy: frame-ancestors 'none' Strict-Transport-Security: max-age=31536000 -{"data":{"domain":"bingo.pizza","premium":true,"registration_price":20.0,"renewal_price":20.0,"transfer_price":20.0}} +{"data":{"domain":"bingo.pizza","premium":true,"registration_price":20.0,"renewal_price":20.0,"transfer_price":20.0,"restore_price":20.0}}