Skip to content

Commit

Permalink
chore(release): 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GitLab CI authored and exoszajzbuk committed Feb 16, 2024
1 parent a2d3cf8 commit cb32444
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 29 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## [3.0.0](https://github.com/britned/empire-platform-api/compare/v2.0.0...v3.0.0) (2024-02-16)


### ⚠ BREAKING CHANGES

* **reporting:** auction allocation results can be queried using a displayId
* **auctions:** uniform filtering for enum arrays both internal/public list and results

### Features

* **auctions:** uniform filtering for enum arrays both internal/public list and results
* **reporting:** auction allocation results can be queried using a displayId

## [2.0.0](https://github.com/britned/empire-platform-api/compare/v1.1.0...v2.0.0) (2024-01-16)


Expand Down
74 changes: 45 additions & 29 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ info:
---
Additional documentation available in the API's [GitHub repository](https://github.com/britned/empire-platform-api)
version: 2.0.0
version: 3.0.0
contact:
name: BritNed
url: https://www.britned.com
Expand Down Expand Up @@ -114,7 +114,7 @@ paths:
schema:
$ref: '#/components/schemas/AllocatedAuctionSortBy'
- $ref: '#/components/parameters/BorderDirectionOptional'
- $ref: '#/components/parameters/TimescaleOptional'
- $ref: '#/components/parameters/TimescalesOptional'
- $ref: '#/components/parameters/ProductTypesOptional'
- $ref: '#/components/parameters/ParticipantIdOptional'
- name: participantStatus
Expand Down Expand Up @@ -195,7 +195,7 @@ paths:
- VIEW_ANY_AUCTIONS
parameters:
- $ref: '#/components/parameters/BorderDirectionOptional'
- $ref: '#/components/parameters/TimescaleOptional'
- $ref: '#/components/parameters/TimescalesOptional'
- $ref: '#/components/parameters/ProductTypesOptional'
- $ref: '#/components/parameters/ParticipantIdOptional'
- name: participantStatus
Expand Down Expand Up @@ -416,13 +416,15 @@ paths:
schema:
$ref: '#/components/schemas/AuctionSortBy'
- $ref: '#/components/parameters/BorderDirectionOptional'
- $ref: '#/components/parameters/TimescaleOptional'
- $ref: '#/components/parameters/ProductTypeOptional'
- name: status
- $ref: '#/components/parameters/TimescalesOptional'
- $ref: '#/components/parameters/ProductTypesOptional'
- name: statuses
in: query
description: Filter for given status
description: Filter for given statuses
schema:
$ref: '#/components/schemas/AuctionFilterStatus'
type: array
items:
$ref: '#/components/schemas/AuctionFilterStatus'
- name: biddingPeriodStart
in: query
description: Filter for start of bidding period
Expand Down Expand Up @@ -3704,7 +3706,7 @@ paths:
get:
operationId: getAggregatedNominations
description: |-
Fetch aggregated Nominatinons for a given:
Fetch aggregated Nominations for a given:
- delivery day
- type of aggregated nomination
Expand Down Expand Up @@ -4870,7 +4872,7 @@ paths:
schema:
$ref: '#/components/schemas/AllocatedAuctionSortBy'
- $ref: '#/components/parameters/BorderDirectionOptional'
- $ref: '#/components/parameters/TimescaleOptional'
- $ref: '#/components/parameters/TimescalesOptional'
- $ref: '#/components/parameters/ProductTypesOptional'
- name: deliveryPeriodStart
in: query
Expand Down Expand Up @@ -4915,7 +4917,7 @@ paths:
- public-allocated-auction
parameters:
- $ref: '#/components/parameters/BorderDirectionOptional'
- $ref: '#/components/parameters/TimescaleOptional'
- $ref: '#/components/parameters/TimescalesOptional'
- $ref: '#/components/parameters/ProductTypesOptional'
- name: deliveryPeriodStart
in: query
Expand Down Expand Up @@ -5006,13 +5008,15 @@ paths:
schema:
$ref: '#/components/schemas/AuctionSortBy'
- $ref: '#/components/parameters/BorderDirectionOptional'
- $ref: '#/components/parameters/TimescaleOptional'
- $ref: '#/components/parameters/ProductTypeOptional'
- name: status
- $ref: '#/components/parameters/TimescalesOptional'
- $ref: '#/components/parameters/ProductTypesOptional'
- name: statuses
in: query
description: Filter for given (published) status
description: Filter for given (published) statuses
schema:
$ref: '#/components/schemas/PublicAuctionFilterStatus'
type: array
items:
$ref: '#/components/schemas/PublicAuctionFilterStatus'
- name: biddingPeriodStart
in: query
description: Filter for start of bidding period
Expand Down Expand Up @@ -5387,12 +5391,16 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/v1/reporting/auctions/{id}/allocation-results:
/v1/reporting/auctions/{idOrDisplayId}/allocation-results:
get:
operationId: getAuctionAllocationResultsReport
description: |-
Fetch Auction Allocation Results Report in "ECAN Allocation Results Document v4.0" format
Report can be fetched by submitting in the `idOrDisplayId` parameter either:
- an "Internal ID" / in UUIDv4 format, can be obtained from the browser URLs or the `id` field of an Auction object
- a "Display ID" / shown on the GUI, or can be obtained from the `displayId` field of an Auction object
---
__Requires Permission:__ (at least one)
Expand All @@ -5407,7 +5415,11 @@ paths:
- VIEW_PUBLISHED_AUCTIONS
- VIEW_ANY_AUCTIONS
parameters:
- $ref: '#/components/parameters/Identifier'
- in: path
name: idOrDisplayId
required: true
schema:
type: string
- $ref: '#/components/parameters/ParticipantId'
responses:
'200':
Expand Down Expand Up @@ -8928,6 +8940,7 @@ components:
- REVOKE_USER_INVITE
- SUSPEND_USER
- UNSUSPEND_USER
- RESET_USER_SECOND_AUTH_FACTOR
- IMPERSONATE_USER
- UPDATE_PROFILE_DETAILS
- UPDATE_PREFERENCES
Expand Down Expand Up @@ -10172,6 +10185,7 @@ components:
- NO_EXCHANGE_RATE
- NO_OFFERS_PRESENT
- NOT_FOUND
- NTC_ADDITION_ALREADY_IN_RANGE
- OC_DEFINITION_MISMATCH
- OC_LARGER_THAN_MAX_ATC
- OC_UNDEFINED
Expand Down Expand Up @@ -10535,7 +10549,7 @@ components:
direction:
$ref: '#/components/schemas/BorderDirection'
deliveryMonth:
$ref: '#/components/schemas/Count'
$ref: '#/components/schemas/BeginningOfMonth'
netAmount:
$ref: '#/components/schemas/Currency'
vatRate:
Expand Down Expand Up @@ -13574,12 +13588,14 @@ components:
description: Border Direction (optional)
schema:
$ref: '#/components/schemas/BorderDirection'
TimescaleOptional:
TimescalesOptional:
in: query
name: timescale
description: Auction Timescale (optional)
name: timescales
description: List of Auction Timescales (optional)
schema:
$ref: '#/components/schemas/AuctionTimescale'
type: array
items:
$ref: '#/components/schemas/AuctionTimescale'
ProductTypesOptional:
in: query
name: productTypes
Expand Down Expand Up @@ -13615,12 +13631,6 @@ components:
description: Internal unique ID of an entity
schema:
$ref: '#/components/schemas/Identifier'
ProductTypeOptional:
in: query
name: productType
description: Auction Product Type (optional)
schema:
$ref: '#/components/schemas/AuctionProductType'
PageOffsetOptional:
in: query
name: offset
Expand Down Expand Up @@ -13694,6 +13704,12 @@ components:
type: array
items:
$ref: '#/components/schemas/AuctionTimescale'
TimescaleOptional:
in: query
name: timescale
description: Auction Timescale (optional)
schema:
$ref: '#/components/schemas/AuctionTimescale'
ParticipantIdsOptional:
in: header
name: X-Participant-Ids
Expand Down

0 comments on commit cb32444

Please sign in to comment.