raw reprocess endpoint
This commit is contained in:
@@ -286,6 +286,73 @@ paths:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/ReprocessingResultResponse"
|
||||
/reprocessing/raw:
|
||||
post:
|
||||
tags:
|
||||
- reprocessing
|
||||
summary: "Reprocess a pasted EVE inventory listing for a character, resolving\
|
||||
\ item names before appraising the input and resulting materials"
|
||||
operationId: reprocessRawItems
|
||||
parameters:
|
||||
- name: characterId
|
||||
in: query
|
||||
description: Character to reprocess for
|
||||
required: true
|
||||
schema:
|
||||
type: integer
|
||||
format: int64
|
||||
- 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: Raw tab-separated inventory listing copied from the EVE client
|
||||
content:
|
||||
text/plain:
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
responses:
|
||||
"200":
|
||||
description: The reprocessing result for each resolved input stack
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/ReprocessingResultResponse"
|
||||
/market/types/parse:
|
||||
post:
|
||||
tags:
|
||||
- market
|
||||
summary: "Parse a pasted EVE inventory listing into market type stacks, resolving\
|
||||
\ names to type ids"
|
||||
operationId: parseStacks
|
||||
requestBody:
|
||||
description: Raw tab-separated inventory listing copied from the EVE client
|
||||
content:
|
||||
text/plain:
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
responses:
|
||||
"200":
|
||||
description: The resolved stacks; lines whose name does not match any type
|
||||
are omitted and lines resolving to the same type are merged with their
|
||||
quantities summed
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/MarketTypeStackResponse"
|
||||
"400":
|
||||
description: Returned when a line carries a quantity that is not a positive
|
||||
whole number
|
||||
/ledgers/main:
|
||||
post:
|
||||
tags:
|
||||
@@ -992,6 +1059,18 @@ components:
|
||||
required:
|
||||
- input
|
||||
- output
|
||||
MarketTypeStackResponse:
|
||||
type: object
|
||||
properties:
|
||||
marketTypeId:
|
||||
type: integer
|
||||
format: int64
|
||||
quantity:
|
||||
type: integer
|
||||
format: int64
|
||||
required:
|
||||
- marketTypeId
|
||||
- quantity
|
||||
CreateMainLedgerRequest:
|
||||
type: object
|
||||
properties:
|
||||
|
||||
Reference in New Issue
Block a user