Skip to content

Commit

Permalink
Merge pull request #4 from internetee/added-expire-at-column-to-reser…
Browse files Browse the repository at this point in the history
…ved-domain-info

feat: add expire_at field to domain reservation responses
  • Loading branch information
OlegPhenomenon authored Nov 29, 2024
2 parents 72f5a23 + 515a0c2 commit 5000301
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ info:
## TODO:
- [ ] Add endpoint for retrieving passwords for free-tier reserved domains
- [ ] Implement functionality and logic for handling expired_at field for reserved domains
- [ ] Add additional security layer
## Important Notes:
Expand Down Expand Up @@ -213,9 +212,16 @@ paths:
reserved_domains:
type: array
items:
type: string
description: List of successfully reserved domains
example: ["example.ee", "example2.ee"]
type: object
properties:
name:
type: string
example: "example.ee"
expire_at:
type: string
format: date-time
example: "2024-12-31T23:59:59Z"
description: "Expiration date and time of the domain reservation"
- type: object
properties:
status:
Expand Down Expand Up @@ -290,6 +296,11 @@ paths:
password:
type: string
example: "abc123xyz"
expire_at:
type: string
format: date-time
example: "2024-12-31T23:59:59Z"
description: "Expiration date and time of the domain reservation"
'400':
description: Bad request - Invalid parameters
content:
Expand Down

0 comments on commit 5000301

Please # to comment.