Returns the persona specified by the name
parameter, if it exists.
GET
{base_url}/personas?name={value}
Parameter name | Type | Description | Required? |
---|---|---|---|
name |
string | The name of the persona | Yes |
None
None
Returns the information retrieved by using GET
to retrieve a persona by name
.
{
"name": "Enchanted Wanderer",
"description": "Likes fairytale-like fantasy that includes whitches, faries, or other creatures, often related to romance",
"subgenres_explored": ["romantasy","magical-realism", "fairy-tale", "animal-companions"],
"typical_pace": ["slow"],
"related_tags":["emotional","whimsical", "hopeful"],
"id": 3
}
Status value | Return status | Description |
---|---|---|
200 | Success | Requested data returned successfully |
404 | Error | Specified user record not found |
ECONNREFUSED | N/A | Service is offline. Start the service and try again. |