GET /api/job_invocations
List job invocations

Params

Param Name Description
search
Optional

filtrer les résultats


Value: Must be String
order
Optional

trier les resultats


Value: Must be String
page
Optional

paginer les resultats


Value: Must be String
per_page
Optional

nombre d’entier par requête


Value: Must be String

GET /api/job_invocations/:id
Show job invocation

Params

Param Name Description
id
Required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

POST /api/job_invocations
Create a job invocation

Params

Param Name Description
job_invocation
Required

Value: Must be a Hash
job_invocation[job_name]
Required

Job name


Value: Must be String
job_invocation[job_template_id]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

If using a specific template, the id of that template.


Value: Must be String
job_invocation[targeting_type]
Required

Invocation type, one of {"static_query"=>"Static Query", "dynamic_query"=>"Dynamic Query"}


Value: Must be String
job_invocation[inputs]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Inputs to use


Value: Must be Hash
job_invocation[ssh]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Ssh provider specific options


Value: Must be a Hash
job_invocation[ssh][effective_user]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

What user should be used to run the script (using sudo-like mechanisms). Defaults to a template parameter or global setting.


Value: Must be String
job_invocation[bookmark_id]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Value: Must be Integer
job_invocation[search_query]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Value: Must be Integer

GET /api/job_invocations/:id/hosts/:host_id
Get output for a host

Params

Param Name Description
id
Required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.
host_id
Required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.
since
Optional

Value: Must be String