prefect_github.organization
This is a module containing:
GitHub query_organization* tasks
Functions
query_organization
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_team
login: The organization’s login.slug: The name or slug of the team to find.github_credentials: Credentials to use for authentication with GitHub.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_teams
login: The organization’s login.user_logins: User logins to filter by.github_credentials: Credentials to use for authentication with GitHub.privacy: If non-null, filters teams according to privacy.role: If non-null, filters teams according to whether the viewer is an admin or member on team.query: If non-null, filters teams with query on team name and team slug.order_by: Ordering options for teams returned from the connection.ldap_mapped: If true, filters teams that are mapped to an LDAP Group (Enterprise only).root_teams_only: If true, restrict to only root teams.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_project
login: The organization’s login.number: The project number to find.github_credentials: Credentials to use for authentication with GitHub.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_domains
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.is_verified: Filter by if the domain is verified.is_approved: Filter by if the domain is approved.order_by: Ordering options for verifiable domains returned.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_packages
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.names: Find packages by their names.repository_id: Find packages in a repository by ID.package_type: Filter registry package by type.order_by: Ordering of the returned packages.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_projects
login: The organization’s login.states: A list of states to filter the projects by.github_credentials: Credentials to use for authentication with GitHub.order_by: Ordering options for projects returned from the connection.search: Query to search projects by, currently only searching by name.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_sponsors
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.tier_id: If given, will filter for sponsors at the given tier. Will only return sponsors whose tier the viewer is permitted to see.order_by: Ordering options for sponsors returned from the connection.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_audit_log
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.query: The query string to filter audit entries.order_by: Ordering options for the returned audit log entries.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_project_v2
login: The organization’s login.number: The project number.github_credentials: Credentials to use for authentication with GitHub.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_projects_v2
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.query: A project to search for under the the owner.order_by: How to order the returned projects.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_repository
login: The organization’s login.name: Name of Repository to find.github_credentials: Credentials to use for authentication with GitHub.follow_renames: Follow repository renames. If disabled, a repository referenced by its old name will return an error.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_sponsoring
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.order_by: Ordering options for the users and organizations returned from the connection.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_project_next
login: The organization’s login.number: The project (beta) number.github_credentials: Credentials to use for authentication with GitHub.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_pinned_items
login: The organization’s login.types: Filter the types of pinned items that are returned.github_credentials: Credentials to use for authentication with GitHub.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_projects_next
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.query: A project (beta) to search for under the the owner.sort_by: How to order the returned projects (beta).after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_repositories
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.privacy: If non-null, filters repositories according to privacy.order_by: Ordering options for repositories returned from the connection.affiliations: Array of viewer’s affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the current viewer owns.owner_affiliations: Array of owner’s affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns.is_locked: If non-null, filters repositories according to whether they have been locked.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.is_fork: If non-null, filters repositories according to whether they are forks of another repository.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_item_showcase
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_pinnable_items
login: The organization’s login.types: Filter the types of pinnable items that are returned.github_credentials: Credentials to use for authentication with GitHub.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_recent_projects
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_member_statuses
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.order_by: Ordering options for user statuses returned from the connection.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_pending_members
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_sponsors_listing
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_members_with_role
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_enterprise_owners
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.query: The search string to look for.organization_role: The organization role to filter by.order_by: Ordering options for enterprise owners returned from the connection.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_sponsors_activities
login: The organization’s login.actions: Filter activities to only the specified actions.github_credentials: Credentials to use for authentication with GitHub.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.period: Filter activities returned to only those that occurred in the most recent specified time period. Set to ALL to avoid filtering by when the activity occurred.order_by: Ordering options for activity returned from the connection.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_interaction_ability
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_ip_allow_list_entries
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.order_by: Ordering options for IP allow list entries returned.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_repository_migrations
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.state: Filter repository migrations by state.repository_name: Filter repository migrations by repository name.order_by: Ordering options for repository migrations returned.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_saml_identity_provider
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_repository_discussions
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.order_by: Ordering options for discussions returned from the connection.repository_id: Filter discussions to only those in a specific repository.answered: Filter discussions to only those that have been answered or not. Defaults to including both answered and unanswered discussions.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_sponsorships_as_sponsor
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.order_by: Ordering options for sponsorships returned from this connection. If left blank, the sponsorships will be ordered based on relevancy to the viewer.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_sponsorship_newsletters
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.order_by: Ordering options for sponsorship updates returned from the connection.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_sponsorships_as_maintainer
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.include_private: Whether or not to include private sponsorships in the result set.order_by: Ordering options for sponsorships returned from this connection. If left blank, the sponsorships will be ordered based on relevancy to the viewer.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_repository_discussion_comments
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.after: Returns the elements in the list that come after the specified cursor.before: Returns the elements in the list that come before the specified cursor.first: Returns the first n elements from the list.last: Returns the last n elements from the list.repository_id: Filter discussion comments to only those in a specific repository.only_answers: Filter discussion comments to only those that were marked as the answer.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_sponsorship_for_viewer_as_sponsor
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.
query_organization_sponsorship_for_viewer_as_sponsorable
login: The organization’s login.github_credentials: Credentials to use for authentication with GitHub.return_fields: Subset the return fields (as snake_case); defaults to fields listed in configs/query/*.json.
- A dict of the returned fields.