Skip to content

Latest commit

 

History

History
82 lines (61 loc) · 1.81 KB

Get-AnsibleApiHelp.md

File metadata and controls

82 lines (61 loc) · 1.81 KB
external help file Module Name online version schema
Jagabata.psm.dll-Help.xml
Jagabata.psm
2.0.0

Get-AnsibleApiHelp

SYNOPSIS

Get and show Ansible's API Help.

SYNTAX

Get-AnsibleApiHelp [-Path] <String> [<CommonParameters>]

DESCRIPTION

Retrieve API Document and show for the specified URL path using AWX/AnsibleTower Rest API by OPTIONS method.

See the following URL for a list of API URL paths:

  • https://ansible.readthedocs.io/projects/awx/en/latest/rest_api/api_ref.html

EXAMPLES

Example 1

PS C:\> Get-AnsibleApiHelp /api/v2/jobs/

Name                : Job List
Description         : List Jobs:

                      Make a GET request to this resource to retrieve the list of jobs.

(snip)

Renders             : application/json
                      text/html
Parses              : application/json
Actions             : GET
Types               : job
SearchFields        : description
                      name
RelatedSearchFields : job_host_summaries
                      modified_by
(snip)
                      schedule
                      instance_group
ObjectRoles         :
MaxPageSize         : 200

PARAMETERS

-Path

URL path of the Rest API.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

Jagabata.Resources.ApiHelp

NOTES

RELATED LINKS