docs: add property tables to save list value
This commit is contained in:
@@ -6,16 +6,64 @@ This endpoint adds or updates a list value. If a list value id is provided, the
|
||||
|
||||
{% table %}
|
||||
|
||||
- Property Name
|
||||
- Data Type
|
||||
- Description
|
||||
|
||||
---
|
||||
|
||||
- `listId`
|
||||
- `number`
|
||||
- The id of the list to which the list value belongs.
|
||||
|
||||
{% /table %}
|
||||
|
||||
## Request Body Properties
|
||||
|
||||
{% table %}
|
||||
|
||||
- Property Name
|
||||
- Data Type
|
||||
- Description
|
||||
|
||||
---
|
||||
|
||||
- id
|
||||
- `number`
|
||||
- The id of the list value to update. If no id is provided, a new list value will be created.
|
||||
|
||||
---
|
||||
|
||||
- name
|
||||
- `string`
|
||||
- The name of the list value.
|
||||
|
||||
---
|
||||
|
||||
- numericValue
|
||||
- `number`
|
||||
- The numeric value of the list value.
|
||||
|
||||
---
|
||||
|
||||
- color
|
||||
- `string`
|
||||
- The color of the list value.
|
||||
|
||||
{% /table %}
|
||||
|
||||
## Response Body Properties
|
||||
|
||||
{% table %}
|
||||
|
||||
- Property Name
|
||||
- Data Type
|
||||
- Description
|
||||
|
||||
---
|
||||
|
||||
- id
|
||||
- `string`
|
||||
- The id of the list value.
|
||||
|
||||
{% /table %}
|
||||
|
||||
@@ -11,7 +11,6 @@ curl --location --request PUT 'https://api.onspring.com/Lists/id/906/items' \
|
||||
"name": "Not Started",
|
||||
"numericValue": 0,
|
||||
"color": "#ffffff",
|
||||
"weight": 0
|
||||
}'
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user