Create a user-profile contributor relationship​
Create a user-profile contributor relationship
- application/json
Request Body required
user_profile object
user_id uuidThe user id
profile_id uuidthe profile id
ne_attribute_id uuidThe ne_attribute_id
relationship_type stringPossible values: [
owner
,contributor
]the relationship type
Responses
- 200
- 405
Expected response to a valid request
- application/json
- Schema
- Example (from schema)
Schema
user_profile object
id uuidThe id
uid stringPossible values:
>= 32 characters
and<= 32 characters
the uid
user_id uuidThe user id
profile_id uuidThe profile_id
ne_attribute_id uuidThe ne_attribute_id
relationship_type stringPossible values: [
owner
,contributor
]the relationship_type
{
"user_profile": {
"id": "db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e",
"uid": "db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e",
"user_id": "db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e",
"profile_id": "db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e",
"ne_attribute_id": "db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e",
"relationship_type": "owner"
}
}
Invalid input
Loading...