Get user-profile contributor relationships
GET/user_profiles
Get user-profile contributor relationships
Request
Query Parameters
query object
Allows for pagination and sorting.
user_id uuid
The ID of a user for filtering
ne_attribute_id uuid
ID of an attribute for filtering
profile_id uuid
Profile ID to filter by
relationship_type string
Possible values: [owner
, contributor
]
Type of user contributor relationship to filter by
metadata boolean
Returns batching metadata in the response
Responses
- 200
- 400
- 500
Expected response to a valid request
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
user_profiles object[]
id uuid
uid string
Possible values: >= 32 characters
and <= 32 characters
user_id uuid
profile_id uuid
ne_attribute_id uuid
relationship_type string
Possible values: [owner
, contributor
]
_metadata object
limit integer
offset integer
total integer
next string
previous string
{
"user_profiles": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"uid": "string",
"user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"profile_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"ne_attribute_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"relationship_type": "owner"
}
],
"_metadata": {
"limit": 0,
"offset": 0,
"total": 0,
"next": "/endpoint?limit=10&offset=60",
"previous": "/endpoint?limit=10&offset=40"
}
}
Bad Request - unable to complete.
- application/json
- Schema
- Example (from schema)
Schema
- InvalidJson
- ValidationErrors
oneOf
error
error
errors
{}
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...