Skip to content

Commit

Permalink
openapi specs
Browse files Browse the repository at this point in the history
  • Loading branch information
matusdrobuliak66 committed Dec 20, 2024
1 parent ad84e9b commit 381dcc3
Show file tree
Hide file tree
Showing 2 changed files with 116 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/specs/web-server/openapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"_long_running_tasks",
"_licensed_items",
"_licensed_items_purchases",
"_licensed_items_checkouts",
"_metamodeling",
"_nih_sparc",
"_nih_sparc_redirections",
Expand Down
115 changes: 115 additions & 0 deletions services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3252,6 +3252,121 @@ paths:
schema:
$ref: '#/components/schemas/EnvelopedError'
description: Bad Request
/v0/wallets/{wallet_id}/licensed-items-checkouts:
get:
tags:
- licenses
- wallets
summary: List Licensed Item Checkouts For Wallet
operationId: list_licensed_item_checkouts_for_wallet
parameters:
- name: wallet_id
in: path
required: true
schema:
type: integer
exclusiveMinimum: true
title: Wallet Id
minimum: 0
- name: order_by
in: query
required: false
schema:
type: string
contentMediaType: application/json
contentSchema: {}
default: '{"field":"started_at","direction":"desc"}'
title: Order By
- name: limit
in: query
required: false
schema:
type: integer
default: 20
title: Limit
- name: offset
in: query
required: false
schema:
type: integer
default: 0
title: Offset
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/Page_LicensedItemPurchaseGet_'
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/EnvelopedError'
description: Not Found
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/EnvelopedError'
description: Forbidden
'402':
content:
application/json:
schema:
$ref: '#/components/schemas/EnvelopedError'
description: Payment Required
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/EnvelopedError'
description: Bad Request
/v0/licensed-items-checkouts/{licensed_item_checkout_id}:
get:
tags:
- licenses
summary: Get Licensed Item Checkout
operationId: get_licensed_item_checkout
parameters:
- name: licensed_item_checkout_id
in: path
required: true
schema:
type: string
format: uuid
title: Licensed Item Checkout Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/Envelope_LicensedItemPurchaseGet_'
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/EnvelopedError'
description: Not Found
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/EnvelopedError'
description: Forbidden
'402':
content:
application/json:
schema:
$ref: '#/components/schemas/EnvelopedError'
description: Payment Required
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/EnvelopedError'
description: Bad Request
/v0/projects/{project_uuid}/checkpoint/{ref_id}/iterations:
get:
tags:
Expand Down

0 comments on commit 381dcc3

Please sign in to comment.