Add New Mapping
POST/mappings
Creates a new mapping; available as an Add-On Module
Request
Query Parameters
Site Identifier
- application/json
Body
required
Array [
]
mapping
object
Name of Mapping
Description of Mapping
attributes
object[]
List of attributes
Attribute Key
Attribute Source Type
Possible values: [CONTENT, CONTENT_KEY_VALUE, METADATA, MANUAL, DATA_CLASSIFICATION, MALWARE_SCAN]
Default value
Default values
Attribute Label Matching Type
Possible values: [FUZZY, EXACT, BEGINS_WITH, CONTAINS]
Attribute Metadata Field
Possible values: [USERNAME, PATH, CONTENT_TYPE]
Attribute Value Regex Validation
Responses
- 201
- 400
201 CREATED
Response Headers
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
- application/json
- Schema
- Example (from schema)
Schema
Mapping Identifier
{
"mappingId": "string"
}
400 OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
List of errors
Error Key
Error Message
{
"errors": [
{
"key": "string",
"error": "string"
}
]
}