update activity call
This commit is contained in:
+96
-5
@@ -254,15 +254,38 @@ paths:
|
||||
$ref: "#/components/schemas/RuleBookResponse"
|
||||
"400":
|
||||
description: Invalid request (e.g. blank name)
|
||||
/process-activities:
|
||||
/reprocessing:
|
||||
post:
|
||||
tags:
|
||||
- processing
|
||||
summary: Process new activities for all characters with a usable token
|
||||
operationId: processNewActivities
|
||||
- reprocessing
|
||||
summary: "Reprocess the given item stacks for a character, appraising the input\
|
||||
\ and resulting materials"
|
||||
operationId: reprocessItems
|
||||
parameters:
|
||||
- name: locationId
|
||||
in: query
|
||||
description: Location to derive reprocessing efficiency at; defaults to the
|
||||
character's current location when omitted
|
||||
required: false
|
||||
schema:
|
||||
type: integer
|
||||
format: int64
|
||||
requestBody:
|
||||
description: Character and item stacks to reprocess
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ReprocessItemsRequest"
|
||||
required: true
|
||||
responses:
|
||||
"200":
|
||||
description: New activities processed
|
||||
description: The reprocessing result for each input stack
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/ReprocessingResultResponse"
|
||||
/ledgers/main:
|
||||
post:
|
||||
tags:
|
||||
@@ -350,6 +373,15 @@ paths:
|
||||
description: New activities fetched and stored
|
||||
"400":
|
||||
description: No character with this id
|
||||
/activities/process:
|
||||
post:
|
||||
tags:
|
||||
- activity
|
||||
summary: Process new activities for all characters with a usable token
|
||||
operationId: processNewActivities
|
||||
responses:
|
||||
"200":
|
||||
description: New activities processed
|
||||
/rule-books/script-definitions:
|
||||
get:
|
||||
tags:
|
||||
@@ -901,6 +933,65 @@ components:
|
||||
- name
|
||||
- script
|
||||
- usedForAcquisitions
|
||||
MarketTypeStackRequest:
|
||||
type: object
|
||||
properties:
|
||||
marketTypeId:
|
||||
type: integer
|
||||
format: int64
|
||||
quantity:
|
||||
type: integer
|
||||
format: int64
|
||||
required:
|
||||
- marketTypeId
|
||||
- quantity
|
||||
ReprocessItemsRequest:
|
||||
type: object
|
||||
properties:
|
||||
characterId:
|
||||
type: integer
|
||||
format: int64
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/MarketTypeStackRequest"
|
||||
required:
|
||||
- characterId
|
||||
- items
|
||||
MarketTypeStackAppraisalResponse:
|
||||
type: object
|
||||
properties:
|
||||
marketTypeId:
|
||||
type: integer
|
||||
format: int64
|
||||
quantity:
|
||||
type: integer
|
||||
format: int64
|
||||
buy:
|
||||
type: number
|
||||
sell:
|
||||
type: number
|
||||
orderCount:
|
||||
type: integer
|
||||
format: int64
|
||||
required:
|
||||
- buy
|
||||
- marketTypeId
|
||||
- orderCount
|
||||
- quantity
|
||||
- sell
|
||||
ReprocessingResultResponse:
|
||||
type: object
|
||||
properties:
|
||||
input:
|
||||
$ref: "#/components/schemas/MarketTypeStackAppraisalResponse"
|
||||
output:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/MarketTypeStackAppraisalResponse"
|
||||
required:
|
||||
- input
|
||||
- output
|
||||
CreateMainLedgerRequest:
|
||||
type: object
|
||||
properties:
|
||||
|
||||
Reference in New Issue
Block a user