Files
api-specs/nerm/paths/ne_attribute_options.yaml
2023-05-12 15:35:08 -04:00

48 lines
1.5 KiB
YAML

get:
summary: Get option based attribute values
operationId: getAttributeOptions
description: Get option based attribute values
tags:
- attribute options
parameters:
- $ref: "../parameters/query/query.yaml"
- $ref: "../parameters/query/ne_attribute_id.yaml"
# - $ref: "../parameters/query/option.yaml" - Not implemented as of 4.16.2
- $ref: "../parameters/query/metadata.yaml"
responses:
'200':
$ref: "../responses/AttributeOptions_Meta.yaml"
'400':
$ref: "../responses/400.yaml"
'500':
$ref: "../responses/500.yaml"
post:
summary: Create multiple new option based attribute values
operationId: postAttributeOptions
description: Create multiple new option based attribute values
tags:
- attribute options
requestBody:
$ref: "../requestBodies/POST/AttributeOptions.yaml"
responses:
'200':
$ref: "../responses/AttributeOptionsJob.yaml"
'400':
$ref: "../responses/400.yaml"
'500':
$ref: "../responses/500.yaml"
patch:
summary: Update multiple option based attribute values
operationId: patchAttributeOptions
description: Update multiple option based attribute values
tags:
- attribute options
requestBody:
$ref: "../requestBodies/PATCH/AttributeOptions.yaml"
responses:
'200':
$ref: "../responses/AttributeOptionsJob.yaml"
'400':
$ref: "../responses/400.yaml"
'500':
$ref: "../responses/500.yaml"