Graph API Version

Application Codeless Event Mappings

Reading

You can't perform this operation on this endpoint.

Creating

You can make a POST request to codeless_event_mappings edge from the following paths:
When posting to this edge, an Application will be created.

Parameters

ParameterDescription
mappings
array<JSON object>

The event to UI component mappings of the app

Required
method
enum {INFERENCE, MANUAL, CONFIRMED_INFERENCE, BUTTON_INDEXING, UNKNOWN}

method

Required
event_name
string

event_name

Required
event_type
enum {CLICK, SELECTED, TEXT_CHANGED}

event_type

Required
app_version
string

app_version

Required
parameters
array<JSON object>

parameters

name
string

name

Required
path
array<JSON object>

path

Required
class_name
string

class_name

Required
index
int64

index

Required
id
int64

id

text
string

text

tag
string

tag

description
string

description

hint
string

hint

match_bitmask
int64

match_bitmask

path_type
enum {ABSOLUTE, RELATIVE}
Default value: "ABSOLUTE"

path_type

component_id
string

component_id

Required
path
array<JSON object>

path

Required
class_name
string

class_name

Required
index
int64

index

Required
id
int64

id

text
string

text

tag
string

tag

description
string

description

hint
string

hint

match_bitmask
int64

match_bitmask

component_id
string

component_id

Required
path_type
enum {ABSOLUTE, RELATIVE}
Default value: "ABSOLUTE"

path_type

screenshot_handle
string

screenshot_handle

dimensions
array<JSON object>

dimensions

top
int64

top

Required
left
int64

left

Required
width
int64

width

Required
height
int64

height

Required
activity_name
string

activity_name

mutation_method
enum {REPLACE, ADD, DELETE}

Detailed mutation type like replace, add

Required
platform
enum {ANDROID, IOS}

The platform of the app being indexed

Required
post_method
enum {EYMT, CODELESS}
Default value: "CODELESS"

Whether the api is called by codeless or EYMT

Return Type

Struct {
num_updated: int32,
num_invalid: int32,
}

Error Codes

ErrorDescription
100Invalid parameter

Updating

You can't perform this operation on this endpoint.

Deleting

You can't perform this operation on this endpoint.