Skip to content

Commit 5d8a081

Browse files
author
GitLab CI
committed
chore(release): 6.0.2
1 parent e726639 commit 5d8a081

File tree

2 files changed

+80
-2
lines changed

2 files changed

+80
-2
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
### [6.0.2](https://github.com/britned/empire-platform-api/compare/v6.0.1...v6.0.2) (2025-03-05)
2+
3+
4+
### Bug Fixes
5+
6+
* allow phone numbers to be at most 20 digits long after plus sign
7+
8+
9+
### Documentation
10+
11+
* publish getBuyNowOfferPurchaseDetails endpoint to the public
12+
113
### [6.0.1](https://github.com/britned/empire-platform-api/compare/v6.0.0...v6.0.1) (2025-02-24)
214

315

openapi.yaml

Lines changed: 68 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ info:
77
---
88
99
Additional documentation available in the API's [GitHub repository](https://github.com/britned/empire-platform-api)
10-
version: 6.0.1
10+
version: 6.0.2
1111
contact:
1212
name: BritNed
1313
url: https://www.britned.com
@@ -1674,6 +1674,55 @@ paths:
16741674
description: No offer present for at least one of the mtu
16751675
- code: MTU_LIST_MISALIGNED
16761676
description: not the list we were looking for
1677+
get:
1678+
operationId: getBuyNowOfferPurchaseDetails
1679+
description: |-
1680+
Fetch Buy Now Offer purchase details
1681+
1682+
---
1683+
1684+
__Requires Permission:__ (at least one)
1685+
* `VIEW_ANY_BUY_NOW_OFFERS`
1686+
* `VIEW_OWN_BUY_NOW_OFFERS`
1687+
tags:
1688+
- buy-now-offers
1689+
security:
1690+
- ApiKey: []
1691+
x-permissions:
1692+
- VIEW_ANY_BUY_NOW_OFFERS
1693+
- VIEW_OWN_BUY_NOW_OFFERS
1694+
parameters:
1695+
- name: mtu
1696+
in: query
1697+
required: true
1698+
schema:
1699+
$ref: '#/components/schemas/MtuStart'
1700+
- $ref: '#/components/parameters/BorderDirection'
1701+
- $ref: '#/components/parameters/Timescale'
1702+
- $ref: '#/components/parameters/ParticipantIdOptional'
1703+
responses:
1704+
'200':
1705+
description: __OK__
1706+
content:
1707+
application/json:
1708+
schema:
1709+
$ref: '#/components/schemas/BuyNowOfferPurchaseDetails'
1710+
'400':
1711+
description: |-
1712+
__Bad Request__
1713+
1714+
* `TIMESCALE_MISMATCH` - DA/ID Timescale need to be used
1715+
x-errors:
1716+
- code: TIMESCALE_MISMATCH
1717+
description: DA/ID Timescale need to be used
1718+
content:
1719+
application/json:
1720+
schema:
1721+
$ref: '#/components/schemas/ErrorResponse'
1722+
'401':
1723+
$ref: '#/components/responses/Unauthorized'
1724+
'403':
1725+
$ref: '#/components/responses/Forbidden'
16771726
/v1/default-bids/options:
16781727
get:
16791728
operationId: getDefaultBidOptions
@@ -9833,6 +9882,23 @@ components:
98339882
$ref: '#/components/schemas/Capacity'
98349883
validityPeriod:
98359884
$ref: '#/components/schemas/DateTimePeriod'
9885+
BuyNowOfferPurchaseDetail:
9886+
type: object
9887+
required:
9888+
- participantName
9889+
- price
9890+
- capacity
9891+
properties:
9892+
participantName:
9893+
type: string
9894+
price:
9895+
$ref: '#/components/schemas/Currency'
9896+
capacity:
9897+
$ref: '#/components/schemas/Capacity'
9898+
BuyNowOfferPurchaseDetails:
9899+
type: array
9900+
items:
9901+
$ref: '#/components/schemas/BuyNowOfferPurchaseDetail'
98369902
BuyNowOfferStatus:
98379903
type: string
98389904
enum:
@@ -13060,7 +13126,7 @@ components:
1306013126
PhoneNumber:
1306113127
type: string
1306213128
format: phone-number
13063-
pattern: ^\+\d{10,13}$
13129+
pattern: ^\+\d{10,20}$
1306413130
PlatformAppearance:
1306513131
type: string
1306613132
description: |

0 commit comments

Comments
 (0)