Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
166 changes: 166 additions & 0 deletions api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,52 @@ paths:
text/plain:
schema:
type: string
patch:
summary: Update a Tier
description: Update mutable fields of a Tier
operationId: updateTier
parameters:
- name: id
in: path
description: ID of Tier to update
required: true
schema:
type: string
format: uuid
requestBody:
description: Updated fields
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/TierPatch'
responses:
'204':
description: Tier updated
'400':
description: Bad request
content:
text/plain:
schema:
type: string
'401':
description: Access denied
content:
text/plain:
schema:
type: string
'404':
description: Not found
content:
text/plain:
schema:
type: string
'500':
description: Internal server error
content:
text/plain:
schema:
type: string
delete:
summary: Delete Tier by ID
operationId: deleteTier
Expand Down Expand Up @@ -732,6 +778,52 @@ paths:
text/plain:
schema:
type: string
patch:
summary: Update a Network
description: Update mutable fields of a Network
operationId: updateNetwork
parameters:
- name: id
in: path
description: ID of Network to update
required: true
schema:
type: string
format: uuid
requestBody:
description: Updated fields
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/NetworkPatch'
responses:
'204':
description: Network updated
'400':
description: Bad request
content:
text/plain:
schema:
type: string
'401':
description: Access denied
content:
text/plain:
schema:
type: string
'404':
description: Not found
content:
text/plain:
schema:
type: string
'500':
description: Internal server error
content:
text/plain:
schema:
type: string
delete:
summary: Delete Network by ID
operationId: deleteNetwork
Expand Down Expand Up @@ -1853,6 +1945,25 @@ components:
type: number
format: double
default: 0.0
NetworkPatch:
type: object
properties:
id:
type: string
format: uuid
nullable: true
description: Unique identifier; cannot be changed
consortium:
type: string
format: uuid
nullable: true
name:
type: string
nullable: true
priority:
type: number
format: double
nullable: true

Tier:
type: object
Expand Down Expand Up @@ -1882,17 +1993,72 @@ components:
- secondarymail
- standard
- urgent
x-enum-varnames:
- Express
- Normal
- Rush
- Secondarymail
- Standard
- Urgent
default: standard
type:
type: string
enum:
- loan
- copy
x-enum-varnames:
- Loan
- Copy
default: loan
cost:
type: number
format: double
default: 0.0
TierPatch:
type: object
properties:
id:
type: string
format: uuid
nullable: true
description: Unique identifier; cannot be changed
consortium:
type: string
format: uuid
nullable: true
name:
type: string
nullable: true
level:
type: string
nullable: true
enum:
- express
- normal
- rush
- secondarymail
- standard
- urgent
x-enum-varnames:
- TierPatchLevelExpress
- TierPatchLevelNormal
- TierPatchLevelRush
- TierPatchLevelSecondarymail
- TierPatchLevelStandard
- TierPatchLevelUrgent
type:
type: string
nullable: true
enum:
- loan
- copy
x-enum-varnames:
- TierPatchTypeLoan
- TierPatchTypeCopy
cost:
type: number
format: double
nullable: true

EntryNetwork:
type: object
Expand Down
Loading
Loading