Public/Get-GW2Mounts.ps1

<#
.SYNOPSIS
Retrieves the list of available mount sub-endpoints from the Guild Wars 2 API.
 
.DESCRIPTION
Calls the Guild Wars 2 API v2 /mounts endpoint.
Returns an array of available sub-endpoints (e.g., "skins", "types").
 
.EXAMPLE
Get-GW2Mounts
Returns "skins", "types".
 
.NOTES
- Requires network access to api.guildwars2.com.
- This is a public endpoint and does not require an API key.
#>

function Get-GW2Mounts {
    $url = "https://api.guildwars2.com/v2/mounts"
    $response = Invoke-RestMethod -Uri $url -Method Get
    return $response
}