PEPPERI NOTIFICATION SERVICE
Actions Queue
CPI Node

Create Schema

Fields are needed only for "indexed" fields - if you plan to search on them you need to mention them. It is better to use minimum number of fields

Available types: data/meta_data in case of metaData only the created owner can edit the object

StringIndex (optional) - ADAL supports using an index which can be define in the schema as the field name in the document

The index can be used in the "where" clause in the GET endpoint

index cannot be changed only added and can only be string

post

https://api.pepperi.com/addons/data/schemes
This endpoint allows you to create table schema in DynamoDB
Request
Response
Request
Headers
X-Pepperi-ActionID
optional
string
action uuid for logging
X-Pepperi-SecretKey
required
string
addon secret key
X-Pepperi-OwnerID
required
string
addon owner uuid
Body Parameters
optional
object
same as response parameter
Response
200: OK
Cake successfully retrieved.
{
"Hidden":false, //readonly
"CreationDateTime":"1-1-2012", //readonly, index
"ModificationDateTime":"", // readonly
"Name": "{Table}", // mandatory field
"StringIndexName": "my_index" // optional, the name of the field in the document to be used as index
"Type": data/meta_data // default type: "meta_data"
"Fields": {a1: {Type: String}, a2: {Type: String}}, // Columns enabled for search, Type can be String/Bool/Integer/MultipleStringValues
"Validator": /addon/api...,
}