v1

latestOpenAPI 3.0.12026-07-17221165.2 KB
PMAPI HOST SERVICES

Filters the set of resulting instances returned

Some PMAPI operations can be performed with an active instance domain profile which restricts (filters) the set of resulting instances returned, as described on pmAddProfile(3).

$ curl -s http://localhost:44322/pmapi/profile?expr=add,indom=60.2,iname=1%20minute

Reference: pmAddProfile(3), pmDelProfile(3)

get/pmapi/profile

Query parameters

inamestring

Comma-separated list of instance names

{"stackTrail":"paths:/pmapi/profile:get:parameters:1:schema","oasType":"schema","type":"unknown"}

Numeric or pmInDomStr(3) instance domain

instancenumber

Comma-separated list of instance numbers

exprstring

One of "add" or "del" (mandatory)

matchstring

Pattern matching style (exact, glob or regex)

hostspecstring

Host specification as described in PCPIntro(1)

contextnumber

Web context number (optional like hostspec)

polltimeoutnumber

Seconds of inactivity before closing context

clientstring

Request identifier sent back with response

Response

OK