Skip to content

Latest commit

 

History

History
184 lines (151 loc) · 6.04 KB

community.missing_collection.checkly_snippets_info_module.rst

File metadata and controls

184 lines (151 loc) · 6.04 KB

community.missing_collection.checkly_snippets_info

Get information about checkly snippets.

Version added: 0.3.0

The below requirements are needed on the host that executes this module.

  • requests
Parameter Choices/Defaults Comments
api_key
string / required
api key for checkly.
id
string
id of snippet.
limit
integer
Default:
100
number of environment snippet retrieved in one call.
page
integer
Default:
1
page number of environment snippets retrieve call.
url
string
Default:
checkly api.

- name: get all alert channels from checkly
  community.missing_collection.checkly_snippets_info:
    api_key: 'a8f08873c494445ba156e572e1324300'

- name: get one alert channel from checkly
  community.missing_collection.checkly_snippets_info:
    api_key: 'a8f08873c494445ba156e572e1324300'
    id: '1706'

Common return values are documented here, the following are the fields unique to this module:

Key Returned Description
result
list/dict
when success.
result of checkly api.

Sample:
[{'id': 0, 'name': 'string', 'script': 'string', 'created_at': '2019-08-24T14:15:22Z', 'updated_at': '2019-08-24T14:15:22Z'}]


Authors