Skip to content

Create Relationship

POST
/admin/content/{collectionId}/relationships
curl --request POST \
--url http://localhost:9000/admin/content/example/relationships \
--header 'Content-Type: application/json' \
--data '{ "target_collection_id": "example", "relationship_type": "example" }'
collectionId
required
string
Media type application/json
object
target_collection_id
required
string
relationship_type
required
string
Example generated
{
"target_collection_id": "example",
"relationship_type": "example"
}

OK

Media type application/json
object
Example generated
{}