GraphQLRepositoriesapplication
entities.application
Read application records with the application repository.
- 4 queries
- 0 mutations
Queries
Fields of entities { application { … } }.
| Kind | Field | Returns |
|---|---|---|
| QUERY | getById(entityId: ID!)Returns the record with the given id, or null when there is none. Deleted records are returned as well. | ApplicationEntity |
| QUERY | getByIds(entityIds: [ID!]!)Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well. | [ApplicationEntity!]! |
| QUERY | getAll(limit: Int, offset: Int, filter: ApplicationFilterInput, orderBy: [ApplicationOrderByInput!], includeDeleted: Boolean)Returns the records that match the filter, paged with limit and offset. | [ApplicationEntity!]! |
| QUERY | getByCriteria(filter: ApplicationFilterInput, orderBy: [ApplicationOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)Returns the records that match the filter as a cursor-paginated connection. | ApplicationEntityConnection |
Types
The types this repository uses, each with its fields and their descriptions. Types several repositories share, such as PageInfo and the filter fields, are in the types index.
ApplicationEntity object 14 fields: isDeleteProtected, id, isDeleted, …
Application that works with the space, such as the web or mobile app, an Automation Hub integration or an API access; changes and events are attributed to it.
| Field | Type | Description |
|---|---|---|
isDeleteProtected | Boolean! | True when the record is protected against deletion because it must always exist in the space. Deleting a record that is not protected can still fail on other checks. Read-only. |
id | ID! | Unique identifier of entity. |
isDeleted | Boolean | Specifies if the entity is considered deleted. |
modified | DateTime | Last modification time. |
created | DateTime | Creation time. |
automationHubId | Int | Identifier of the matching Automation Hub item, or empty for user-defined applications. Set automatically by Coevera when the application is registered through the Automation Hub. |
isTrigger | Boolean! | True when this application can register webhooks. Set when the application is created and cannot be changed afterwards. |
isVisible | Boolean! | True when this application is shown in the Automation Hub UI. Hidden applications are still functional but excluded from end-user discovery. |
name | String! | Name of the entity and its default text representation. |
usesImpersonation | Boolean | True when this application can act on behalf of individual users (personal triggers). Set when the application is created and cannot be changed afterwards. |
revision | Int | Revision when entity was lastly changed. |
useOptions | ApplicationUseOption! | Per-context flags describing when this application is offered to users (triggers, personal triggers, display, filter). Computed by Coevera. |
isActive | Boolean! | Is application active. |
instancePermissions | [EntityPermsEnum!]! (1 args) | Permissions the current user has on this record, out of the requested ones. |
ApplicationEntityConnection object pageInfo: PageInfo!, edges: [ApplicationEntityEdge]!, totalCount: Int
Paginated list of Application records.
| Field | Type | Description |
|---|---|---|
pageInfo | PageInfo! | Pagination data for this connection. |
edges | [ApplicationEntityEdge]! | Contains the nodes in this connection. |
totalCount | Int | Total number of items in the connection. |
ApplicationEntityEdge object node: ApplicationEntity, cursor: String!
A Relay edge containing a ApplicationEntity and its cursor.
| Field | Type | Description |
|---|---|---|
node | ApplicationEntity | The item at the end of the edge |
cursor | String! | A cursor for use in pagination |
ApplicationFilterInput input AND, OR, NOT, globalSearchQuery, one condition per field
Filter conditions for Application records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.
| Input field | Type | Description |
|---|---|---|
OR | [ApplicationFilterInput!] | Matches records that meet at least one of the listed filters. |
AND | [ApplicationFilterInput!] | Matches records that meet all of the listed filters. |
NOT | ApplicationFilterInput | Matches records that do not meet this filter. |
globalSearchQuery | String | Search term matched against the fields that the global search covers for this entity. |
id | EntityFilterStringField | Unique identifier of entity. |
isDeleted | Boolean | Specifies if the entity is considered deleted. |
modified | EntityFilterDateTimeField | Last modification time. |
created | EntityFilterDateTimeField | Creation time. |
automationHubId | EntityFilterNumberField | Identifier of the matching Automation Hub item, or empty for user-defined applications. Set automatically by Coevera when the application is registered through the Automation Hub. |
isTrigger | Boolean | True when this application can register webhooks. Set when the application is created and cannot be changed afterwards. |
isVisible | Boolean | True when this application is shown in the Automation Hub UI. Hidden applications are still functional but excluded from end-user discovery. |
name | EntityFilterStringField | Name of the entity and its default text representation. |
usesImpersonation | Boolean | True when this application can act on behalf of individual users (personal triggers). Set when the application is created and cannot be changed afterwards. |
revision | EntityFilterNumberField | Revision when entity was lastly changed. |
ApplicationOrderByInput input Asc or Desc per field
Sorting of Application records. Set exactly one field in each item; list several items to sort by more fields, in order of priority.
| Input field | Type | Description |
|---|---|---|
id | OrderByEnum | Unique identifier of entity. |
isDeleted | OrderByEnum | Specifies if the entity is considered deleted. |
modified | OrderByEnum | Last modification time. |
created | OrderByEnum | Creation time. |
automationHubId | OrderByEnum | Identifier of the matching Automation Hub item, or empty for user-defined applications. Set automatically by Coevera when the application is registered through the Automation Hub. |
isTrigger | OrderByEnum | True when this application can register webhooks. Set when the application is created and cannot be changed afterwards. |
isVisible | OrderByEnum | True when this application is shown in the Automation Hub UI. Hidden applications are still functional but excluded from end-user discovery. |
name | OrderByEnum | Name of the entity and its default text representation. |
usesImpersonation | OrderByEnum | True when this application can act on behalf of individual users (personal triggers). Set when the application is created and cannot be changed afterwards. |
revision | OrderByEnum | Revision when entity was lastly changed. |
ApplicationUseOption object isAvailableForTrigger: Boolean!, isAvailableForPersonalTrigger: Boolean!, isDisplayable: Boolean!, isFilterable: Boolean!
Where an application can be offered in the space: for webhooks, personal triggers, display and filters.
| Field | Type | Description |
|---|---|---|
isAvailableForTrigger | Boolean! | True when the application can be offered for webhooks (triggers) of the space. |
isAvailableForPersonalTrigger | Boolean! | True when the application can be offered for personal triggers, which act on behalf of an individual user. |
isDisplayable | Boolean! | False for applications that are not shown by name, such as the web and mobile apps. |
isFilterable | Boolean! | True when the application can be used as a filter value; false for applications that are deleted, inactive or whose integration is disabled. |