Create multiple user-profile contributor relationships​
Create multiple user-profile contributor relationships
- application/json
Request Body required
user_profiles 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
- 400
- 500
Expected response to a valid request
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
user_profiles 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
- info string
info about the job
job_status object
the status of the job
job_id stringthe job id
status stringthe status
- status int32
the status
oneOf
{
"user_profiles": [
{
"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"
}
]
}
Bad Request - unable to complete.
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
- error
- error
- errors
oneOf
{
"error": "Invalid JSON syntax. Please check your syntax and try again."
}
Internal Server Error - returned on unhandled exceptions.
- application/json
- Schema
- Example (from schema)
Schema
- error
A message describing the error
{
"error": "Sorry something went wrong"
}
Loading...