Creating items

This method will add an item to the selected set. Items must be valid JSON objects. Note that system fields are prefixed with an underscore, any fields in your JSON object that begin with an underscore _ will be omitted from your item when saving it to the database.

After creating your item, you'll notice that NotoDB adds the following system fields: _id, _createdAt, _updatedAt. These can not be manipulated by the user.

Create a new item

PUT
/{bucket name}/sets/{set name}/items
REQUEST BODY
{
  "id": 88,
  "first_name": "Lissi",
  "last_name": "Ticehurst",
  "email": "lticehurst2f@oracle.com",
  "ip_address": "43.48.121.210",
  "job_title": "Junior Executive"
}
RESPONSE BODY
{
  "message": "Item successfully created."
}

Next articleListing items