- list - Get all Api endpoints for a particular apiID.
Get all Api endpoints for a particular apiID.
require 'speakeasy_client_sdk_ruby'
s = ::OpenApiSDK::SpeakeasyClientSDK.new
s.config_security(
::OpenApiSDK::Shared::Security.new(
api_key: "<YOUR_API_KEY_HERE>",
)
)
res = s.apiendpoints.list(api_id="<id>")
if ! res.api_endpoints.nil?
# handle response
end
Parameter | Type | Required | Description |
---|---|---|---|
api_id |
::String | ✔️ | The ID of the Api to retrieve ApiEndpoints for. |
T.nilable(::OpenApiSDK::Operations::GetAllApiEndpointsResponse)