acquisition presentation
This commit is contained in:
@@ -267,6 +267,15 @@ paths:
|
||||
"400":
|
||||
description: "Invalid request (e.g. blank name, a member ledger missing\
|
||||
\ or already contained)"
|
||||
/activity/fetch:
|
||||
post:
|
||||
tags:
|
||||
- activity
|
||||
summary: Fetch all new activities for all characters from the EVE API
|
||||
operationId: fetchAllNewActivities
|
||||
responses:
|
||||
"200":
|
||||
description: New activities fetched and stored
|
||||
/activity/fetch/{characterId}:
|
||||
post:
|
||||
tags:
|
||||
@@ -393,6 +402,21 @@ paths:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/CharacterResponse"
|
||||
/acquisitions:
|
||||
get:
|
||||
tags:
|
||||
- acquisition
|
||||
summary: Find all acquisitions that still have remaining stock
|
||||
operationId: findAllAcquisitions
|
||||
responses:
|
||||
"200":
|
||||
description: The acquisitions with remaining stock
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/AcquisitionResponse"
|
||||
components:
|
||||
schemas:
|
||||
RuleClauseResponse:
|
||||
@@ -729,3 +753,40 @@ components:
|
||||
required:
|
||||
- characterId
|
||||
- name
|
||||
AcquisitionResponse:
|
||||
type: object
|
||||
properties:
|
||||
acquisitionId:
|
||||
type: string
|
||||
format: uuid
|
||||
characterId:
|
||||
type: integer
|
||||
format: int64
|
||||
marketTypeId:
|
||||
type: integer
|
||||
format: int64
|
||||
source:
|
||||
type: string
|
||||
enum:
|
||||
- BOUGHT
|
||||
- MANUAL
|
||||
datetime:
|
||||
type: string
|
||||
format: date-time
|
||||
quantity:
|
||||
type: integer
|
||||
format: int64
|
||||
remaining:
|
||||
type: integer
|
||||
format: int64
|
||||
unitCost:
|
||||
type: number
|
||||
required:
|
||||
- acquisitionId
|
||||
- characterId
|
||||
- datetime
|
||||
- marketTypeId
|
||||
- quantity
|
||||
- remaining
|
||||
- source
|
||||
- unitCost
|
||||
|
||||
Reference in New Issue
Block a user