feat(#10): Add per-ledger acquisitions view + ledger column
This commit is contained in:
+15
-19
@@ -814,10 +814,17 @@ paths:
|
||||
get:
|
||||
tags:
|
||||
- acquisition
|
||||
summary: "Find acquisitions, optionally filtered by market type and consumption\
|
||||
\ state"
|
||||
summary: "Find the caller's acquisitions, optionally filtered by ledger, market\
|
||||
\ type and consumption state"
|
||||
operationId: findAllAcquisitions
|
||||
parameters:
|
||||
- name: ledgerId
|
||||
in: query
|
||||
description: Only return acquisitions held in this ledger
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
format: uuid
|
||||
- name: marketTypeId
|
||||
in: query
|
||||
description: Only return acquisitions of this market type
|
||||
@@ -848,10 +855,6 @@ components:
|
||||
description: Request to update the caller's rule book; replaces its mutable
|
||||
fields.
|
||||
properties:
|
||||
usedForAcquisitions:
|
||||
type: boolean
|
||||
description: Whether this rule book is used to derive acquisitions.
|
||||
example: true
|
||||
bindings:
|
||||
type: object
|
||||
additionalProperties:
|
||||
@@ -866,7 +869,6 @@ components:
|
||||
required:
|
||||
- bindings
|
||||
- script
|
||||
- usedForAcquisitions
|
||||
RuleBookResponse:
|
||||
type: object
|
||||
description: "The caller's rule book: a script that classifies transactions,\
|
||||
@@ -877,10 +879,6 @@ components:
|
||||
format: uuid
|
||||
description: Owning user identifier.
|
||||
example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
|
||||
usedForAcquisitions:
|
||||
type: boolean
|
||||
description: Whether this rule book is used to derive acquisitions.
|
||||
example: true
|
||||
bindings:
|
||||
type: object
|
||||
additionalProperties:
|
||||
@@ -895,7 +893,6 @@ components:
|
||||
required:
|
||||
- bindings
|
||||
- script
|
||||
- usedForAcquisitions
|
||||
- userId
|
||||
UpdateMainLedgerRequest:
|
||||
type: object
|
||||
@@ -1686,6 +1683,11 @@ components:
|
||||
format: uuid
|
||||
description: Unique acquisition identifier.
|
||||
example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
|
||||
ledgerId:
|
||||
type: string
|
||||
format: uuid
|
||||
description: Ledger the acquisition is held in.
|
||||
example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
|
||||
source:
|
||||
$ref: "#/components/schemas/ActivitySourceResponse"
|
||||
description: "Where the acquisition came from: a character, a corporation,\
|
||||
@@ -1695,12 +1697,6 @@ components:
|
||||
format: int64
|
||||
description: EVE market type (item) id that was acquired.
|
||||
example: 34
|
||||
origin:
|
||||
type: string
|
||||
description: How the item entered the inventory.
|
||||
enum:
|
||||
- BOUGHT
|
||||
- MANUAL
|
||||
datetime:
|
||||
type: string
|
||||
format: date-time
|
||||
@@ -1723,8 +1719,8 @@ components:
|
||||
required:
|
||||
- acquisitionId
|
||||
- datetime
|
||||
- ledgerId
|
||||
- marketTypeId
|
||||
- origin
|
||||
- quantity
|
||||
- remaining
|
||||
- source
|
||||
|
||||
Reference in New Issue
Block a user