The longitem object representation and fields are described below.
longitem was introduced in API version V1
longitem has not been marked for deprecation
Representation of a long integer item
{
"name" : "population_of_earth",
"sortOrder" : 0,
"value" : 8300000000,
"entity" : {
"urn" : "4fdf15cf-cfa3-4b43-9e92-57dfbbc0366d",
"url" : "/n/v1/entity/4fdf15cf-cfa3-4b43-9e92-57dfbbc0366d"
}
}{
"urn" : "475972cf-00cd-4ec3-beee-ab546d011cca",
"name" : "population_of_earth",
"sortOrder" : 0,
"value" : 8300000000,
"entity" : {
"urn" : "4fdf15cf-cfa3-4b43-9e92-57dfbbc0366d",
"url" : "/n/v1/entity/4fdf15cf-cfa3-4b43-9e92-57dfbbc0366d"
},
"url" : "/n/v1/longitem/475972cf-00cd-4ec3-beee-ab546d011cca"
}| Name | Type | Description | Constraints |
|---|---|---|---|
| urn | String representation of a Unique Resource Name. Typically a UUID with 36 characters. | Minimum length: 36. Maximum length: 36. | |
| name | Field name, typically used in content items. Typically use conventions around html ID expectations. | Name for the field e.g. population. Field names can be arbitrary but suggest using Javascript friendly / html ID friendly names | Required on create. Maximum length: 1024. |
| sortOrder | Signed int32 | Field sorting order for field ordering | Required on create. |
| value | Signed int64 | A long (64bit) integer value | Required on create. Minimum: -9223372036854775808. Maximum: 9223372036854775807. |
| entity | entity | The entity this long integer item is associated with. | Required on create. |
| url | URL represented as a string | Endpoint URL for this text item | |