Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs to include restore_price returned via the /:domain/prices endpoint #554

Merged
merged 1 commit into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion content/v2/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion fixtures/v2/api/getDomainPrices/success.http
Original file line number Diff line number Diff line change
Expand Up @@ -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}}