Skip to content

Schema Types

Query

Field Argument Type Description
searchKnowledgebase SearchKnowledgebaseResult!
input SearchKnowledgebaseInput!
getContent ContentResult!
input GetContentInput!
listWebhookHistory ListWebhookHistoryResult!
input ListWebhookHistoryInput!

Objects

Content

Field Argument Type Description
id ID! The unique ID generated within XOi Cloud.
mediaType String! This is the media type (see https://en.wikipedia.org/wiki/Media_type) for this content item.
orgID ID!
jobIds [ID!]
sha256hex String!
lengthBytes Long!
uploader String
createdAt AWSDateTime
uploadedAt AWSDateTime
updatedAt AWSDateTime

ContentAdditionalActionResults

Field Argument Type Description
createUrls [CreateUrlAdditionalActionResults!]

ContentConnection

Field Argument Type Description
items [Content!]!
nextToken String If this is present and a non-empty string, then there are more results to return. Use that value in a subsequent request to get those additional results. If the nextToken you receive from a query is an empty string then you know you have reached the end of the available items.

ContentResult

Field Argument Type Description
content [Content!]!
additionalActionResults ContentAdditionalActionResults

CreateUrlAdditionalActionResults

Field Argument Type Description
contentId ID!
url String!
expiresAt AWSDateTime!

ListWebhookHistoryResult

Field Argument Type Description
webhookHistoryConnection WebhookHistoryConnection

SearchKnowledgebaseResult

Field Argument Type Description
knowledgebaseConnection ContentConnection!

WebhookHistoryConnection

Field Argument Type Description
items [WebhookHistoryRecord!]!
nextToken String If this is present and a non-empty string, then there are more results to return. Use that value in a subsequent request to get those additional results. If the nextToken you receive from a query is an empty string then you know you have reached the end of the available items.

WebhookHistoryRecord

Field Argument Type Description
contentId String!
orgId String!
firedAt AWSDateTime!
event String!
mediaType String

Inputs

CreateUrlAdditionalActionsInput

Field Type Description
enabled Boolean!

ExactMatchFilters

Field Type Description
makes [String!] Use this filter to only get a select list of makes.
mediaTypes [String!] Use this filter to only get a set list of media types.

GetContentAdditionalActionsInput

Field Type Description
createUrls CreateUrlAdditionalActionsInput

GetContentInput

Field Type Description
contentIDs [ID!]! Retrieves a Max of 50 content ids so that we don't overload appsync payload limit
additionalActions GetContentAdditionalActionsInput

ListWebhookHistoryInput

Field Type Description
dateQuery WebhookHistoryDateQueryInput
limit Int
nextToken String

SearchKnowledgebaseInput

Field Type Description
searchText String A text query to match on. Any content items that appear relevant can be returned.
exactMatchFilters ExactMatchFilters Can be used to exclude results that do not match one of the filters on this parameter.
limit Int Set to the maximum number of items that you would like to be returned.
nextToken String Set to an empty string to get the first subset of items. If you are trying to get the next set of items then you should give the nextToken you received from the last request for this input to get the next set of results.

WebhookHistoryDateQueryInput

Field Type Description
gte AWSDateTime
lte AWSDateTime
ascending Boolean Defaults to False

Scalars

AWSDateTime

The AWSDateTime scalar type provided by AWS AppSync, represents a valid extended ISO 8601 DateTime string. In other words, this scalar type accepts datetime strings of the form YYYY-MM-DDThh:mm:ss.SSSZ. The scalar can also accept "negative years" of the form -YYYY which correspond to years before 0000. For example, "-2017-01-01T00:00Z" and "-9999-01-01T00:00Z" are both valid datetime strings. The field after the two digit seconds field is a nanoseconds field. It can accept between 1 and 9 digits. So, for example, "1970-01-01T12:00:00.2Z", "1970-01-01T12:00:00.277Z" and "1970-01-01T12:00:00.123456789Z" are all valid datetime strings. The seconds and nanoseconds fields are optional (the seconds field must be specified if the nanoseconds field is to be used). The time zone offset is compulsory for this scalar. The time zone offset must either be Z (representing the UTC time zone) or be in the format ±hh:mm:ss. The seconds field in the timezone offset will be considered valid even though it is not part of the ISO 8601 standard.

Boolean

Built-in Boolean

ID

Built-in ID

Int

Built-in Int

Long

Long type

String

Built-in String