Product Wears Endpoints¶
Product Wears API endpoints.
Overview¶
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/product-wears |
List Product Wears |
| POST | /api/v1/product-wears |
Create Product Wear |
| GET | /api/v1/product-wears/{wear_id} |
Get Product Wear |
| PATCH | /api/v1/product-wears/{wear_id} |
Update Product Wear |
| DELETE | /api/v1/product-wears/{wear_id} |
Delete Product Wear |
API Reference¶
Sartiq Backend Server - Product Wears 0.1.0¶
product-wears¶
GET /api/v1/product-wears¶
List Product Wears
Responses
POST /api/v1/product-wears¶
Create Product Wear
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
OAuth2PasswordBearer |
header | string | N/A | No |
Request body
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.
Responses
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.
GET /api/v1/product-wears/{wear_id}¶
Get Product Wear
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
wear_id |
path | string | No |
Responses
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.
PATCH /api/v1/product-wears/{wear_id}¶
Update Product Wear
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
OAuth2PasswordBearer |
header | string | N/A | No | |
wear_id |
path | string | No |
Request body
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.
Responses
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.
DELETE /api/v1/product-wears/{wear_id}¶
Delete Product Wear
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
OAuth2PasswordBearer |
header | string | N/A | No | |
wear_id |
path | string | No |
Responses
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.
Schemas¶
HTTPValidationError¶
| Name | Type | Description |
|---|---|---|
detail |
Array<ValidationError> |
ProductWearCreate¶
| Name | Type | Description |
|---|---|---|
name |
string | |
slug |
string |
ProductWearPublic¶
| Name | Type | Description |
|---|---|---|
id |
string(uuid) | |
name |
string | |
slug |
string |
ProductWearsPublic¶
| Name | Type | Description |
|---|---|---|
count |
integer | |
data |
Array<ProductWearPublic> |
ProductWearUpdate¶
| Name | Type | Description |
|---|---|---|
name |
||
slug |
ValidationError¶
| Name | Type | Description |
|---|---|---|
ctx |
||
input |
||
loc |
Array<> | |
msg |
string | |
type |
string |
Security schemes¶
| Name | Type | Scheme | Description |
|---|---|---|---|
| OAuth2PasswordBearer | oauth2 |