Skip to content

Link two records

POST
/api/v1/associations

Links two live records of associable tables. The pair may be given in either order; the response shows the canonical order.

object
a_type
required
string
<= 64 characters
a_id
required
string format: uuid
b_type
required
string
<= 64 characters
b_id
required
string format: uuid
relation
string
Allowed values: related_to

Success

object
id
required
string format: uuid
a_type
required
string
a_id
required
string format: uuid
b_type
required
string
b_id
required
string format: uuid
relation
required
string
Allowed values: related_to
created_by
required
string format: uuid
created_at
required
string
updated_at
required
string