get by interest
Interest
get by interest
Get Interest by Id
The endpoint makes an HTTP GET request to retrieve details of a specific interest identified by the interestId parameter.
The response for this request can be represented as a JSON schema as follows:
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"interest": {
"type": ["object", "null"],
"properties": {
"_id": { "type": "string" },
"user": {
"type": "object",
"properties": {
"_id": { "type": "string" },
"firstName": { "type": "string" },
"lastName": { "type": "string" },
"userName": { "type": "string" },
"email": { "type": "string" },
"role": { "type": "string" },
"createdAt": { "type": "string" },
"updatedAt": { "type": "string" },
"__v": { "type": "integer" }
}
},
"genre": {
"type": "object",
"properties": {
"_id": { "type": "string" },
"name": { "type": "string" }
}
},
"createdAt": { "type": "string" },
"updatedAt": { "type": "string" },
"__v": { "type": "integer" }
}
}
}
},
"error": { "type": ["object", "null"] }
}
}
GET
get by interest