targets

upload Target struct

Hotrod Targets

MethodPath
POST/api/v1/targets/add-direct

Required Payload Fields (as JSON)

Field NameType
bboxString,
contextValueMap
nameString,
pipelines (optional)[String]
tags (optional)[String]
tenant (optional)String

upload site definition which will be merged with site using this id

Hotrod Targets

MethodPath
POST/api/v1/targets/update

Required Payload Fields (as JSON)

Field NameType
bboxString,
contextValueMap
nameString,
pipelines (optional)[String]
tags (optional)[String]
tenant (optional)String

like update_site, except provide Target in YAML

Hotrod Targets

MethodPath
POST/api/v1/targets/update/update-yaml

get all sites, optionally filtering by tags, tenant, names or target ids

Hotrod Targets

MethodPath
GET/api/v1/targets/list

Required Payload Fields (as JSON)

Field NameType
names (optional)[String]
tags (optional)[String]
targets (optional)[String]
tenant (optional)String
with_additional_contextbool

get all site ids, filtering by tags, tenants or names

Hotrod Targets

MethodPath
GET/api/v1/targets/list-ids

Required Payload Fields (as JSON)

Field NameType
names (optional)[String]
tags (optional)[String]
targets (optional)[String]
tenant (optional)String
with_additional_contextbool

upload full 'sites.yml' definition

Hotrod Targets

MethodPath
POST/api/v1/targets/add-all

remove named site

Hotrod Targets

MethodPath
POST/api/v1/targets/remove/name:String

add a pipeline by name to a site by id

Hotrod Targets

MethodPath
POST/api/v1/targets/add-pipe

Required Payload Fields (as JSON)

Field NameType
pipeString
targetString

remove pipe from target

Hotrod Targets

MethodPath
POST/api/v1/targets/remove-pipe

Required Payload Fields (as JSON)

Field NameType
targetString
valueString

remove tag from target

Hotrod Targets

MethodPath
POST/api/v1/targets/remove-tag

Required Payload Fields (as JSON)

Field NameType
targetString
valueString

add a tag to a target

Hotrod Targets

MethodPath
POST/api/v1/targets/add-tag

Required Payload Fields (as JSON)

Field NameType
targetString
valueString

rebuild specified targets by name

Hotrod Targets

MethodPath
POST/api/v1/targets/rebuild

indicate that a set of target updates will happen

Hotrod Targets

MethodPath
POST/api/v1/targets/start-update

target updates are finished and building can happen

Hotrod Targets

MethodPath
POST/api/v1/targets/end-update

get the agent report times in epoch secs

Hotrod Targets

MethodPath
GET/api/v1/targets/report-times

return status map for particular target, or all if target is '*'

Hotrod Targets

MethodPath
GET/api/v1/targets/pipe-status/target:String

set log settings etc for a set of targets

Hotrod Targets

MethodPath
POST/api/v1/targets/settings

get current settings for this target

Hotrod Targets

MethodPath
GET/api/v1/targets/get-settings/target:String