|
5322 | 5322 | } |
5323 | 5323 | } |
5324 | 5324 | }, |
| 5325 | + "/v0/wallets/{wallet_id}/licensed-items": { |
| 5326 | + "get": { |
| 5327 | + "tags": [ |
| 5328 | + "wallets" |
| 5329 | + ], |
| 5330 | + "summary": "Get Available Licensed Items For Wallet", |
| 5331 | + "description": "Get all available licensed items for a given wallet", |
| 5332 | + "operationId": "get_available_licensed_items_for_wallet", |
| 5333 | + "security": [ |
| 5334 | + { |
| 5335 | + "HTTPBasic": [] |
| 5336 | + } |
| 5337 | + ], |
| 5338 | + "parameters": [ |
| 5339 | + { |
| 5340 | + "name": "wallet_id", |
| 5341 | + "in": "path", |
| 5342 | + "required": true, |
| 5343 | + "schema": { |
| 5344 | + "type": "integer", |
| 5345 | + "title": "Wallet Id" |
| 5346 | + } |
| 5347 | + }, |
| 5348 | + { |
| 5349 | + "name": "limit", |
| 5350 | + "in": "query", |
| 5351 | + "required": false, |
| 5352 | + "schema": { |
| 5353 | + "type": "integer", |
| 5354 | + "maximum": 100, |
| 5355 | + "minimum": 1, |
| 5356 | + "default": 50, |
| 5357 | + "title": "Limit" |
| 5358 | + } |
| 5359 | + }, |
| 5360 | + { |
| 5361 | + "name": "offset", |
| 5362 | + "in": "query", |
| 5363 | + "required": false, |
| 5364 | + "schema": { |
| 5365 | + "type": "integer", |
| 5366 | + "minimum": 0, |
| 5367 | + "default": 0, |
| 5368 | + "title": "Offset" |
| 5369 | + } |
| 5370 | + } |
| 5371 | + ], |
| 5372 | + "responses": { |
| 5373 | + "200": { |
| 5374 | + "description": "Successful Response", |
| 5375 | + "content": { |
| 5376 | + "application/json": { |
| 5377 | + "schema": { |
| 5378 | + "$ref": "#/components/schemas/Page_LicensedItemGet_" |
| 5379 | + } |
| 5380 | + } |
| 5381 | + } |
| 5382 | + }, |
| 5383 | + "404": { |
| 5384 | + "description": "Wallet not found", |
| 5385 | + "content": { |
| 5386 | + "application/json": { |
| 5387 | + "schema": { |
| 5388 | + "$ref": "#/components/schemas/ErrorGet" |
| 5389 | + } |
| 5390 | + } |
| 5391 | + } |
| 5392 | + }, |
| 5393 | + "403": { |
| 5394 | + "description": "Access to wallet is not allowed", |
| 5395 | + "content": { |
| 5396 | + "application/json": { |
| 5397 | + "schema": { |
| 5398 | + "$ref": "#/components/schemas/ErrorGet" |
| 5399 | + } |
| 5400 | + } |
| 5401 | + } |
| 5402 | + }, |
| 5403 | + "429": { |
| 5404 | + "description": "Too many requests", |
| 5405 | + "content": { |
| 5406 | + "application/json": { |
| 5407 | + "schema": { |
| 5408 | + "$ref": "#/components/schemas/ErrorGet" |
| 5409 | + } |
| 5410 | + } |
| 5411 | + } |
| 5412 | + }, |
| 5413 | + "500": { |
| 5414 | + "description": "Internal server error", |
| 5415 | + "content": { |
| 5416 | + "application/json": { |
| 5417 | + "schema": { |
| 5418 | + "$ref": "#/components/schemas/ErrorGet" |
| 5419 | + } |
| 5420 | + } |
| 5421 | + } |
| 5422 | + }, |
| 5423 | + "502": { |
| 5424 | + "description": "Unexpected error when communicating with backend service", |
| 5425 | + "content": { |
| 5426 | + "application/json": { |
| 5427 | + "schema": { |
| 5428 | + "$ref": "#/components/schemas/ErrorGet" |
| 5429 | + } |
| 5430 | + } |
| 5431 | + } |
| 5432 | + }, |
| 5433 | + "503": { |
| 5434 | + "description": "Service unavailable", |
| 5435 | + "content": { |
| 5436 | + "application/json": { |
| 5437 | + "schema": { |
| 5438 | + "$ref": "#/components/schemas/ErrorGet" |
| 5439 | + } |
| 5440 | + } |
| 5441 | + } |
| 5442 | + }, |
| 5443 | + "504": { |
| 5444 | + "description": "Request to a backend service timed out.", |
| 5445 | + "content": { |
| 5446 | + "application/json": { |
| 5447 | + "schema": { |
| 5448 | + "$ref": "#/components/schemas/ErrorGet" |
| 5449 | + } |
| 5450 | + } |
| 5451 | + } |
| 5452 | + }, |
| 5453 | + "422": { |
| 5454 | + "description": "Validation Error", |
| 5455 | + "content": { |
| 5456 | + "application/json": { |
| 5457 | + "schema": { |
| 5458 | + "$ref": "#/components/schemas/HTTPValidationError" |
| 5459 | + } |
| 5460 | + } |
| 5461 | + } |
| 5462 | + } |
| 5463 | + } |
| 5464 | + } |
| 5465 | + }, |
5325 | 5466 | "/v0/wallets/{wallet_id}/licensed-items/{licensed_item_id}/checkout": { |
5326 | 5467 | "post": { |
5327 | 5468 | "tags": [ |
|
0 commit comments