{"meta":{"title":"GitHub Apps","intro":"Справочная документация по типам схем GraphQL в категории приложений GitHub.","product":"API GraphQL","breadcrumbs":[{"href":"/ru/enterprise-server@3.17/graphql","title":"API GraphQL"},{"href":"/ru/enterprise-server@3.17/graphql/reference","title":"Справочные материалы"},{"href":"/ru/enterprise-server@3.17/graphql/reference/apps","title":"GitHub Apps"}],"documentType":"article"},"body":"# GitHub Apps\n\nСправочная документация по типам схем GraphQL в категории приложений GitHub.\n\n## App - object\n\nA GitHub App.\n\n**Implements:** Node\n\n### Fields for `App`\n\n* `clientId` (String): The client ID of the app.\n* `createdAt` (DateTime!): Identifies the date and time when the object was created.\n* `databaseId` (Int): Identifies the primary key from the database.\n* `description` (String): The description of the app.\n* `id` (ID!): The Node ID of the App object.\n* `ipAllowListEntries` (IpAllowListEntryConnection!): The IP addresses of the app.\n  * `after` (String): Returns the elements in the list that come after the specified cursor.\n  * `before` (String): Returns the elements in the list that come before the specified cursor.\n  * `first` (Int): Returns the first n elements from the list.\n  * `last` (Int): Returns the last n elements from the list.\n  * `orderBy` (IpAllowListEntryOrder): Ordering options for IP allow list entries returned.\n\n* `logoBackgroundColor` (String!): The hex color code, without the leading '#', for the logo background.\n* `logoUrl` (URI!): A URL pointing to the app's logo.\n  * `size` (Int): The size of the resulting image.\n\n* `name` (String!): The name of the app.\n* `slug` (String!): A slug based on the name of the app for use in URLs.\n* `updatedAt` (DateTime!): Identifies the date and time when the object was last updated.\n* `url` (URI!): The URL to the app's homepage.\n\n## Bot - object\n\nA special type of user which takes actions on behalf of GitHub Apps.\n\n**Implements:** Actor, Node, UniformResourceLocatable\n\n### Fields for `Bot`\n\n* `avatarUrl` (URI!): A URL pointing to the GitHub App's public avatar.\n  * `size` (Int): The size of the resulting square image.\n\n* `createdAt` (DateTime!): Identifies the date and time when the object was created.\n* `databaseId` (Int): Identifies the primary key from the database.\n* `id` (ID!): The Node ID of the Bot object.\n* `login` (String!): The username of the actor.\n* `resourcePath` (URI!): The HTTP path for this bot.\n* `updatedAt` (DateTime!): Identifies the date and time when the object was last updated.\n* `url` (URI!): The HTTP URL for this bot.\n\n## OauthApplicationAuditEntryData - interface\n\nMetadata for an audit entry with action oauth_application.*.\n\n### Fields for `OauthApplicationAuditEntryData`\n\n* `oauthApplicationName` (String): The name of the OAuth application.\n* `oauthApplicationResourcePath` (URI): The HTTP path for the OAuth application.\n* `oauthApplicationUrl` (URI): The HTTP URL for the OAuth application.\n\n### Implemented by\n\n* OauthApplicationCreateAuditEntry\n* OrgOauthAppAccessApprovedAuditEntry\n* OrgOauthAppAccessBlockedAuditEntry\n* OrgOauthAppAccessDeniedAuditEntry\n* OrgOauthAppAccessRequestedAuditEntry\n* OrgOauthAppAccessUnblockedAuditEntry\n\n## OauthApplicationCreateAuditEntryState - enum\n\nThe state of an OAuth application when it was created.\n\n### Values for `OauthApplicationCreateAuditEntryState`\n\n* `ACTIVE`: The OAuth application was active and allowed to have OAuth Accesses.\n* `PENDING_DELETION`: The OAuth application was in the process of being deleted.\n* `SUSPENDED`: The OAuth application was suspended from generating OAuth Accesses due to abuse or security concerns."}