The doubleitem object representation and fields are described below.
doubleitem was introduced in API version V1
doubleitem has not been marked for deprecation
A double precision content item associated with a content entity
{
"name" : "Pi",
"sortOrder" : 0,
"value" : 3.141592653589793,
"entity" : {
"urn" : "4fdf15cf-cfa3-4b43-9e92-57dfbbc0366d",
"url" : "/n/v1/entity/4fdf15cf-cfa3-4b43-9e92-57dfbbc0366d"
}
}{
"urn" : "cdb57a49-7253-4f97-a1d7-38e93f45d1bc",
"url" : "/n/v1/doubleitem/cdb57a49-7253-4f97-a1d7-38e93f45d1bc",
"name" : "Pi",
"sortOrder" : 0,
"value" : 3.141592653589793,
"entity" : {
"urn" : "4fdf15cf-cfa3-4b43-9e92-57dfbbc0366d",
"url" : "/n/v1/entity/4fdf15cf-cfa3-4b43-9e92-57dfbbc0366d"
}
}| Name | Type | Description | Constraints |
|---|---|---|---|
| urn | String representation of a Unique Resource Name. Typically a UUID with 36 characters. | Minimum length: 36. Maximum length: 36. | |
| url | URL represented as a string | ||
| name | Field name, typically used in content items. Typically use conventions around html ID expectations. | Name for the field e.g. meta_title. Fields can be arbitrary. Suggest using JS like field names | Required on create. Maximum length: 1024. |
| sortOrder | Signed int32 | Field sorting order for field ordering | Required on create. |
| value | Double precision floating point real number | A double precision floating point number value | Required on create. |
| entity | entity | The associated entity URN this double item will be added to. | Required on create. |