Skip to content

Commit 381dcc3

Browse files
openapi specs
1 parent ad84e9b commit 381dcc3

File tree

2 files changed

+116
-0
lines changed

2 files changed

+116
-0
lines changed

api/specs/web-server/openapi.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"_long_running_tasks",
3939
"_licensed_items",
4040
"_licensed_items_purchases",
41+
"_licensed_items_checkouts",
4142
"_metamodeling",
4243
"_nih_sparc",
4344
"_nih_sparc_redirections",

services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3252,6 +3252,121 @@ paths:
32523252
schema:
32533253
$ref: '#/components/schemas/EnvelopedError'
32543254
description: Bad Request
3255+
/v0/wallets/{wallet_id}/licensed-items-checkouts:
3256+
get:
3257+
tags:
3258+
- licenses
3259+
- wallets
3260+
summary: List Licensed Item Checkouts For Wallet
3261+
operationId: list_licensed_item_checkouts_for_wallet
3262+
parameters:
3263+
- name: wallet_id
3264+
in: path
3265+
required: true
3266+
schema:
3267+
type: integer
3268+
exclusiveMinimum: true
3269+
title: Wallet Id
3270+
minimum: 0
3271+
- name: order_by
3272+
in: query
3273+
required: false
3274+
schema:
3275+
type: string
3276+
contentMediaType: application/json
3277+
contentSchema: {}
3278+
default: '{"field":"started_at","direction":"desc"}'
3279+
title: Order By
3280+
- name: limit
3281+
in: query
3282+
required: false
3283+
schema:
3284+
type: integer
3285+
default: 20
3286+
title: Limit
3287+
- name: offset
3288+
in: query
3289+
required: false
3290+
schema:
3291+
type: integer
3292+
default: 0
3293+
title: Offset
3294+
responses:
3295+
'200':
3296+
description: Successful Response
3297+
content:
3298+
application/json:
3299+
schema:
3300+
$ref: '#/components/schemas/Page_LicensedItemPurchaseGet_'
3301+
'404':
3302+
content:
3303+
application/json:
3304+
schema:
3305+
$ref: '#/components/schemas/EnvelopedError'
3306+
description: Not Found
3307+
'403':
3308+
content:
3309+
application/json:
3310+
schema:
3311+
$ref: '#/components/schemas/EnvelopedError'
3312+
description: Forbidden
3313+
'402':
3314+
content:
3315+
application/json:
3316+
schema:
3317+
$ref: '#/components/schemas/EnvelopedError'
3318+
description: Payment Required
3319+
'400':
3320+
content:
3321+
application/json:
3322+
schema:
3323+
$ref: '#/components/schemas/EnvelopedError'
3324+
description: Bad Request
3325+
/v0/licensed-items-checkouts/{licensed_item_checkout_id}:
3326+
get:
3327+
tags:
3328+
- licenses
3329+
summary: Get Licensed Item Checkout
3330+
operationId: get_licensed_item_checkout
3331+
parameters:
3332+
- name: licensed_item_checkout_id
3333+
in: path
3334+
required: true
3335+
schema:
3336+
type: string
3337+
format: uuid
3338+
title: Licensed Item Checkout Id
3339+
responses:
3340+
'200':
3341+
description: Successful Response
3342+
content:
3343+
application/json:
3344+
schema:
3345+
$ref: '#/components/schemas/Envelope_LicensedItemPurchaseGet_'
3346+
'404':
3347+
content:
3348+
application/json:
3349+
schema:
3350+
$ref: '#/components/schemas/EnvelopedError'
3351+
description: Not Found
3352+
'403':
3353+
content:
3354+
application/json:
3355+
schema:
3356+
$ref: '#/components/schemas/EnvelopedError'
3357+
description: Forbidden
3358+
'402':
3359+
content:
3360+
application/json:
3361+
schema:
3362+
$ref: '#/components/schemas/EnvelopedError'
3363+
description: Payment Required
3364+
'400':
3365+
content:
3366+
application/json:
3367+
schema:
3368+
$ref: '#/components/schemas/EnvelopedError'
3369+
description: Bad Request
32553370
/v0/projects/{project_uuid}/checkpoint/{ref_id}/iterations:
32563371
get:
32573372
tags:

0 commit comments

Comments
 (0)