Skip to main content

component Query

Returns the specified Component object.

Access is permitted when any of the following condition(s) are met: 1. The signed-in User has any of the following permissions for the associated Organization: [org_admin_component_permissions, org_manage_components, org_view_components]. 2. The signed-in User has any of the following permissions for the object: [component_admin_permissions, component_view, component_edit, component_remove].

Input fields#

idID!The ID of the Component object.

Return fields (Component)#

id (ID!)#

The ID of the object.

labels ([String!])#

The labels that are associated with the object.

versionSequenceId (UUID)#

Identifier for this version sequence.

versionIsLatest (Boolean!)#

Marked if this record is the latest version of this sequence.

versionNumber (Int!)#

Sequential number identifying this version.

versionCreatedBy (User)#

User that created this version.

versionCreatedAt (DateTime)#

Timestamp of the creation of this version.

versionComment (String)#

Additional comments about this version.

versionIsAvailable (Boolean!)#

Indicates if the version is available for use.

label (String!)#

The name of the Component.

description (String!)#

Additional notes about the Component.

key (String!)#

A string that uniquely identifies the Component.

authorizationRequired (Boolean!)#

Specifies whether the Component requires authorization to function.

authorizationMethods (AuthorizationMethodConnection!)#

The AuthorizationMethods that are supported by the Component.

signature (String!)#

The hex-encoded SHA1 hash of the uploaded Component package.

documentationUrl (String)#

The URL associated with the documentation of a Component.

category (String)#

A string that specifies the category of the Component.

searchTerms (String)#

A combination of the Component label, Component description, and every Action label and Action description for the Component to be used for searching.

attachments ([Attachment])#

A JSON list of objects where each object has a key for name and URL that together describe the Attachment.

versions (VersionConnection)#

The Versions of the Component that are available.

versionSequence (ComponentConnection!)#

Sequence of versions of this Component

actions (ActionConnection!)#

Returns a Relay Connection to a collection of Action objects.

public (Boolean!)#

Specifies whether the Component is publicly available or whether it's private to the Organization.

iconUrl (String)#

The URL that specifies where the Component icon exists.

allowUpdate (Boolean!)#

Specifies whether the signed-in User can update the Component.

allowRemove (Boolean!)#

Specifies whether the signed-in User can remove the Component.

starred (Boolean)#

Indicates whether the record is starred by the signed-in User.