Skip to content

Missing orgs.list_saml_sso_authorizations and other enterprise endpoints #167

Open

Description

@rupaschomaker

On the last api update, a bunch of enterprise endpoints were removed. I noticed that the github documentation is now split between the regular versions of github and the enterprise cloud version of github:

https://docs.github.com/en/enterprise-cloud@latest/rest/orgs/orgs?apiVersion=2022-11-28#list-saml-sso-authorizations-for-an-organization

whereas regular github doesn't have this endpoint documented:
https://docs.github.com/en/rest/orgs/orgs?apiVersion=2022-11-28

This is of course breaking any any calls that depended on the enterprise endpoints.

Activity

  1. rupaschomaker commented on Sep 29, 2023

    @rupaschomaker
    Author
  2. tyleris-irish commented on Mar 21, 2025

    @tyleris-irish

    Any update on this? Its a shame that I have to manually link the API calls and cannot rely on the simple method.

    The following code gives an error,

    Image

    Traceback (most recent call last):
      File "/home/ty669118/gitfiles/enterprise-billing/hello.py", line 23, in <module>
        main()
        ~~~~^^
      File "/home/ty669118/gitfiles/enterprise-billing/hello.py", line 11, in main
        print(api.billing.get_github_actions_billing_ghe(enterprise='ucf'))
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: '_GhVerbGroup' object has no attribute 'get_github_actions_billing_ghe'. Did you mean: 'get_github_actions_billing_org'?

    ucf is the correct slug for the enterprise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions