versión API Graph

Application Codeless Event Mappings

Lectura

No puedes realizar esta operación en este extremo.

Creando

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.

Parámetros

ParámetroDescripción
mappings
array<JSON object>

The event to UI component mappings of the app

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

method

Obligatorio
event_name
string

event_name

Obligatorio
event_type
enum {CLICK, SELECTED, TEXT_CHANGED}

event_type

Obligatorio
app_version
string

app_version

Obligatorio
parameters
array<JSON object>

parameters

name
string

name

Obligatorio
path
array<JSON object>

path

Obligatorio
class_name
string

class_name

Obligatorio
index
int64

index

Obligatorio
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}
Valor predeterminado: "ABSOLUTE"

path_type

component_id
string

component_id

Obligatorio
path
array<JSON object>

path

Obligatorio
class_name
string

class_name

Obligatorio
index
int64

index

Obligatorio
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

Obligatorio
path_type
enum {ABSOLUTE, RELATIVE}
Valor predeterminado: "ABSOLUTE"

path_type

screenshot_handle
string

screenshot_handle

dimensions
array<JSON object>

dimensions

top
int64

top

Obligatorio
left
int64

left

Obligatorio
width
int64

width

Obligatorio
height
int64

height

Obligatorio
activity_name
string

activity_name

mutation_method
enum {REPLACE, ADD, DELETE}

Detailed mutation type like replace, add

Obligatorio
platform
enum {ANDROID, IOS}

The platform of the app being indexed

Obligatorio
post_method
enum {EYMT, CODELESS}
Valor predeterminado: "CODELESS"

Whether the api is called by codeless or EYMT

Return Type

Struct {
num_updated: int32,
num_invalid: int32,
}

Error Codes

ErrorDescripción
100Invalid parameter

Actualizando

No puedes realizar esta operación en este extremo.

Eliminando

No puedes realizar esta operación en este extremo.