Skip to content

Commit 024c233

Browse files
GitLab CIexoszajzbuk
authored andcommitted
chore(release): 4.0.0
1 parent 64d7d9e commit 024c233

File tree

2 files changed

+179
-13
lines changed

2 files changed

+179
-13
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## [4.0.0](https://github.com/britned/empire-platform-api/compare/v3.0.10...v4.0.0) (2024-08-13)
2+
3+
4+
### ⚠ BREAKING CHANGES
5+
6+
* **auctions:** rename externalId field to bidTag
7+
8+
### Features
9+
10+
* **auctions:** add offeredCapacityManuallyUpdated flag to IntraDayAuction and DayAheadAuction
11+
* **auctions:** rename externalId field to bidTag
12+
* **reporting:** add getFinanceAuctionResultsSettlementPerParticipantReport endpoint
13+
* **reporting:** add getFinanceBoughtOrSoldCapacityReport endpoint
14+
115
### [3.0.10](https://github.com/britned/empire-platform-api/compare/v3.0.9...v3.0.10) (2024-05-23)
216

317

openapi.yaml

Lines changed: 165 additions & 13 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: 3.0.10
10+
version: 4.0.0
1111
contact:
1212
name: BritNed
1313
url: https://www.britned.com
@@ -5929,6 +5929,72 @@ paths:
59295929
description: |-
59305930
__Unprocessable Entity__
59315931
5932+
* `PERIOD_MISALIGNED` - delivery period start and end dates must come after each other
5933+
* `PERIOD_TOO_LONG` - delivery period the maximum period length is 1 year
5934+
x-errors:
5935+
- code: PERIOD_MISALIGNED
5936+
description: delivery period start and end dates must come after each other
5937+
- code: PERIOD_TOO_LONG
5938+
description: delivery period the maximum period length is 1 year
5939+
content:
5940+
application/json:
5941+
schema:
5942+
$ref: '#/components/schemas/ErrorResponse'
5943+
/v1/reporting/finance/bought-or-sold-capacity:
5944+
get:
5945+
operationId: getFinanceBoughtOrSoldCapacityReport
5946+
description: |-
5947+
Fetch Finance Bought Or Sold Capacity Report
5948+
5949+
---
5950+
5951+
__Requires Permission:__ (at least one)
5952+
* `VIEW_OWN_FINANCE_REPORTS`
5953+
* `VIEW_ANY_FINANCE_REPORTS`
5954+
tags:
5955+
- reporting
5956+
security:
5957+
- ApiKey: []
5958+
- AuthToken: []
5959+
x-permissions:
5960+
- VIEW_OWN_FINANCE_REPORTS
5961+
- VIEW_ANY_FINANCE_REPORTS
5962+
parameters:
5963+
- $ref: '#/components/parameters/BorderDirectionWithBoth'
5964+
- name: deliveryPeriodStart
5965+
in: query
5966+
required: true
5967+
schema:
5968+
$ref: '#/components/schemas/Date'
5969+
- name: deliveryPeriodEnd
5970+
in: query
5971+
required: true
5972+
schema:
5973+
$ref: '#/components/schemas/Date'
5974+
- $ref: '#/components/parameters/ParticipantId'
5975+
- $ref: '#/components/parameters/Timescales'
5976+
- name: transactionTypes
5977+
in: query
5978+
required: true
5979+
schema:
5980+
type: array
5981+
items:
5982+
$ref: '#/components/schemas/TransactionType'
5983+
responses:
5984+
'200':
5985+
description: __OK__
5986+
content:
5987+
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:
5988+
schema:
5989+
$ref: '#/components/schemas/ReportFile'
5990+
'401':
5991+
$ref: '#/components/responses/Unauthorized'
5992+
'403':
5993+
$ref: '#/components/responses/Forbidden'
5994+
'422':
5995+
description: |-
5996+
__Unprocessable Entity__
5997+
59325998
* `PERIOD_MISALIGNED` - delivery period start and end dates must come after each other
59335999
* `PERIOD_TOO_LONG` - delivery period the maximum period length is 1 year
59346000
x-errors:
@@ -6170,6 +6236,81 @@ paths:
61706236
application/json:
61716237
schema:
61726238
$ref: '#/components/schemas/ErrorResponse'
6239+
/v1/reporting/finance/auction-results-settlement-per-participant:
6240+
get:
6241+
operationId: getFinanceAuctionResultsSettlementPerParticipantReport
6242+
description: |-
6243+
Fetch Finance Auction Results Settlement Report Per Participant
6244+
6245+
---
6246+
6247+
__Requires Permission:__ (at least one)
6248+
* `VIEW_ANY_FINANCE_REPORTS`
6249+
* `VIEW_OWN_FINANCE_REPORTS`
6250+
tags:
6251+
- reporting
6252+
security:
6253+
- ApiKey: []
6254+
- AuthToken: []
6255+
x-permissions:
6256+
- VIEW_ANY_FINANCE_REPORTS
6257+
- VIEW_OWN_FINANCE_REPORTS
6258+
parameters:
6259+
- $ref: '#/components/parameters/BorderDirectionWithBoth'
6260+
- name: deliveryPeriodStart
6261+
in: query
6262+
required: true
6263+
schema:
6264+
$ref: '#/components/schemas/Date'
6265+
- name: deliveryPeriodEnd
6266+
in: query
6267+
required: true
6268+
schema:
6269+
$ref: '#/components/schemas/Date'
6270+
- name: finalResultsPublishedFrom
6271+
in: query
6272+
schema:
6273+
$ref: '#/components/schemas/Date'
6274+
- name: finalResultsPublishedTo
6275+
in: query
6276+
schema:
6277+
$ref: '#/components/schemas/Date'
6278+
- name: accountingCodes
6279+
in: query
6280+
required: true
6281+
schema:
6282+
items:
6283+
$ref: '#/components/schemas/SageCode'
6284+
- $ref: '#/components/parameters/ParticipantIds'
6285+
responses:
6286+
'200':
6287+
description: __OK__
6288+
content:
6289+
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:
6290+
schema:
6291+
$ref: '#/components/schemas/ReportFile'
6292+
'401':
6293+
$ref: '#/components/responses/Unauthorized'
6294+
'403':
6295+
$ref: '#/components/responses/Forbidden'
6296+
'422':
6297+
description: |-
6298+
__Unprocessable Entity__
6299+
6300+
* `PERIOD_MISALIGNED` - both for final resuls published period and delivery period start and end dates must come after each other
6301+
* `PERIOD_TOO_LONG` - both for final results published period and delivery period the maximum period length is 1 year
6302+
* `INVALID_ACCOUNTING_CODE` - only Auction-relevant accounting codes are acceptable. The Border direction must be the same as the accounting code's border direction
6303+
x-errors:
6304+
- code: PERIOD_MISALIGNED
6305+
description: both for final resuls published period and delivery period start and end dates must come after each other
6306+
- code: PERIOD_TOO_LONG
6307+
description: both for final results published period and delivery period the maximum period length is 1 year
6308+
- code: INVALID_ACCOUNTING_CODE
6309+
description: only Auction-relevant accounting codes are acceptable. The Border direction must be the same as the accounting code's border direction
6310+
content:
6311+
application/json:
6312+
schema:
6313+
$ref: '#/components/schemas/ErrorResponse'
61736314
/v1/reporting/finance/uiosi:
61746315
get:
61756316
operationId: getFinanceUiosiReport
@@ -8578,10 +8719,6 @@ components:
85788719
$ref: '#/components/schemas/Auction'
85798720
totalCount:
85808721
$ref: '#/components/schemas/Count'
8581-
AuctionBidExternalId:
8582-
type: string
8583-
description: |
8584-
Optional external identifier for the bid, for example to differentiate between traders
85858722
AuctionBidParticipant:
85868723
type: object
85878724
required:
@@ -8599,6 +8736,10 @@ components:
85998736
- SUCCESSFUL
86008737
- PARTIALLY_SUCCESSFUL
86018738
- UNSUCCESSFUL
8739+
AuctionBidTag:
8740+
type: string
8741+
description: |
8742+
Optional external identifier for the bid, for example to differentiate between traders
86028743
AuctionBiddingConfiguration:
86038744
type: object
86048745
required:
@@ -9632,6 +9773,7 @@ components:
96329773
- biddingConfiguration
96339774
- processSteps
96349775
- offeredCapacitySetup
9776+
- offeredCapacityManuallyUpdated
96359777
properties:
96369778
id:
96379779
$ref: '#/components/schemas/Identifier'
@@ -9659,6 +9801,8 @@ components:
96599801
$ref: '#/components/schemas/AuctionProcessStepsAbsolute'
96609802
offeredCapacitySetup:
96619803
$ref: '#/components/schemas/OfferedCapacitySetup'
9804+
offeredCapacityManuallyUpdated:
9805+
type: boolean
96629806
mtus:
96639807
type: array
96649808
items:
@@ -9671,8 +9815,8 @@ components:
96719815
properties:
96729816
id:
96739817
$ref: '#/components/schemas/Identifier'
9674-
externalId:
9675-
$ref: '#/components/schemas/AuctionBidExternalId'
9818+
bidTag:
9819+
$ref: '#/components/schemas/AuctionBidTag'
96769820
bids:
96779821
type: array
96789822
items:
@@ -10391,6 +10535,7 @@ components:
1039110535
- biddingConfiguration
1039210536
- processSteps
1039310537
- offeredCapacitySetup
10538+
- offeredCapacityManuallyUpdated
1039410539
properties:
1039510540
id:
1039610541
$ref: '#/components/schemas/Identifier'
@@ -10418,6 +10563,8 @@ components:
1041810563
$ref: '#/components/schemas/AuctionProcessStepsAbsolute'
1041910564
offeredCapacitySetup:
1042010565
$ref: '#/components/schemas/OfferedCapacitySetup'
10566+
offeredCapacityManuallyUpdated:
10567+
type: boolean
1042110568
mtus:
1042210569
type: array
1042310570
items:
@@ -10688,8 +10835,8 @@ components:
1068810835
properties:
1068910836
id:
1069010837
$ref: '#/components/schemas/Identifier'
10691-
externalId:
10692-
$ref: '#/components/schemas/AuctionBidExternalId'
10838+
bidTag:
10839+
$ref: '#/components/schemas/AuctionBidTag'
1069310840
value:
1069410841
$ref: '#/components/schemas/BidValue'
1069510842
updatedAt:
@@ -13031,8 +13178,8 @@ components:
1303113178
properties:
1303213179
id:
1303313180
$ref: '#/components/schemas/NullableIdentifier'
13034-
externalId:
13035-
$ref: '#/components/schemas/AuctionBidExternalId'
13181+
bidTag:
13182+
$ref: '#/components/schemas/AuctionBidTag'
1303613183
bids:
1303713184
type: array
1303813185
items:
@@ -13058,8 +13205,8 @@ components:
1305813205
properties:
1305913206
id:
1306013207
$ref: '#/components/schemas/NullableIdentifier'
13061-
externalId:
13062-
$ref: '#/components/schemas/AuctionBidExternalId'
13208+
bidTag:
13209+
$ref: '#/components/schemas/AuctionBidTag'
1306313210
value:
1306413211
$ref: '#/components/schemas/BidValue'
1306513212
SubmitNominationsMtu:
@@ -13198,6 +13345,11 @@ components:
1319813345
$ref: '#/components/schemas/Capacity'
1319913346
notNominatedTrs:
1320013347
$ref: '#/components/schemas/Capacity'
13348+
TransactionType:
13349+
type: string
13350+
enum:
13351+
- BOUGHT
13352+
- SOLD
1320113353
TransmissionRightsOverview:
1320213354
type: object
1320313355
required:

0 commit comments

Comments
 (0)