Move a life event type
Put a nature somewhere else inside the category it is filed under, so the ones you reach for sit at the top.
Every nature of that one category is numbered from 1 again once the move is made, retired ones counted among them. A position past the end puts the nature last rather than being refused.
Moving a nature to another category is not this: it is an ordinary change, and it puts the nature last where it arrives.
A nature the product supplied may be moved like any other. Where a nature sits changes the order it is read in and changes nothing else.
Parameters
Sent as JSON. Anything not listed here is ignored.
The id of the nature. A path that is not a uuid answers 404 without a query being run.
Where the nature should sit inside its category, counting from 1.
Returns
The life event type object where you put it.
The nature.
Always life_event_type. It names the kind of record, so a caller holding several kinds can tell them apart without looking at where they came from.
The id of this record, as a string even when it reads as a number. It is what every endpoint naming this record takes.
Everything the record holds.
The category the nature is filed under. Moving a nature to another category is an ordinary change, and the life events recorded with it are regrouped along with it.
What the nature is called. One the product supplied reads in the language you ask for, until somebody renames it, after which their words stand in every language. Up to 255 characters, reduced to plain text, so no markup survives here.
A sentence saying what the nature covers, shown where somebody chooses one. Up to 255 characters, or null when nobody wrote one.
The glyph drawn beside the nature, chosen from the catalogue the product ships, or null to read by name alone.
The tint the nature is drawn in, chosen from the palette the product ships, or null to take the ordinary one.
Where the nature sits inside its category, counting from 1. Retired natures are numbered along with the rest, so one switched back on finds the place it had.
Whether the product supplied the nature with the account. It governs one thing and one thing only: a supplied nature cannot be deleted. It may be renamed, redrawn, moved and retired like any other.
Whether the nature is offered when a life event is recorded. False takes it out of that choice and touches nothing already written.
Whether a life event of this nature sets last_interaction_at, the Last in touch date, on the contacts it is recorded with. True for a moment shared with them, such as a call or a meal, and false for news about one of them, such as a move.
When the nature was added, as a count of seconds since 1970 rather than a written date.
When it last changed, as a count of seconds. Equal to created_at until it first changes.
Where to find this record.
The absolute address this record is read from.
Rate limit
Sixty requests per minute, per user, shared by every key and device. Every answer carries the budget left in X-RateLimit-Remaining.
Keys act as you, with exactly the access you have. Make one per integration so you can revoke it alone.