Character

{
    "_id": "6157772e658244b1478cae3c",
    "firstName": "Richard",
    "lastName": "Hendricks",
    "background": "Richard Hendricks is a Stanford dropout and coder at tech company Hooli. Richard quits his job to pursue his compression application Pied Piper. The company initially starts out as a simple data compression platform, but when this, and a videochat that Dinesh created with the algorithm fails, Richard pivots toward creating a new, decentralized internet, called PiperNet. For the most part, Richard is shy and weak-willed, and does not have much of a temper, but when he finally reaches his limit, is prone to intimidating explosions of anger. Richard is constantly struggling with the demands of the business world, preferring instead to disappear into the coding of his application, but realizes that as CEO he must do more.",
    "owner": "615e1eb73b98f9cf4c3c42a8",
    "created": 1634147254447
}

Get Character

GET https://getember.ai/api/character?id=:id

This endpoint retrieves a character object using the provided ObjectID.

Query Parameters

{
    "_id":"6157772e658244b1478cae3c",
    "firstName":"Richard",
    "lastName":"Hendricks",
    "background":"Richard Hendricks is a Stanford dropout and coder at tech company Hooli. Richard quits his job to pursue his compression application Pied Piper. The company initially starts out as a simple data compression platform, but when this, and a videochat that Dinesh created with the algorithm fails, Richard pivots toward creating a new, decentralized internet, called PiperNet. For the most part, Richard is shy and weak-willed, and does not have much of a temper, but when he finally reaches his limit, is prone to intimidating explosions of anger. Richard is constantly struggling with the demands of the business world, preferring instead to disappear into the coding of his application, but realizes that as CEO he must do more."
}

Post Character

POST https://getember.ai/api/character

This endpoint creates a new character object with the provided properties.

Headers

Request Body

{
    "acknowledged": true,
    "insertedId": "61577fc9765bf80c0f1d9024"
}

Patch Character

PATCH https://getember.ai/api/character

Update a specified character object's values.

Headers

Request Body

{
    "acknowledged": true,
    "modifiedCount": 1,
    "upsertedId": null,
    "upsertedCount": 0,
    "matchedCount": 1
}

Delete Character

DELETE https://getember.ai/api/character

Delete the specified character object.

Headers

Request Body

{
    "acknowledged": true,
    "deletedCount": 1
}

Last updated