Consumer/App API Reference
Introduction
Authentication
M2M Implementation Details
x-user-id: USER_ID_TO_IMPERSONATE
API Endpoints
GraphQL API
https://v1.gql.app.aworld.cloud/graphql
Note: These endpoints are currently exposing internal APIs directly to customers. In the future, all APIs will be accessible through a single reverse proxy, and these endpoints will change.
API Versioning
REST APIs
GraphQL Schema
1.
2.
User Context
GraphQL Schema Details
Scalar Types
AWSDateTime
, AWSDate
, AWSTime
, AWSTimestamp
AWSEmail
, AWSJSON
, AWSURL
, AWSPhone
, AWSIPAddress
Long
Interfaces
Node
: Base interface with creation and update timestampsConnection
: Interface for paginated collections of itemsEnums
QuizDifficulty
: EASY
, MEDIUM
, HARD
QuizAnswer
: opt1
, opt2
, opt3
, opt4
QuizOrigin
: CATALOG
, CUSTOM
QuizPlacement
: STANDALONE
, STORY
, NEWS
QuizOutcome
: SUCCESS
, FAIL
Types
Quiz
: Represents a quiz with its propertiesQuizConnection
: Paginated collection of quizzesQuizTranslation
: Translations for a quiz (questions, options, explanations)QuizLog
: Record of a quiz attempt by a userAvailable Mutations
Submit Quiz
{
"input": {
"quizId": "quiz-123",
"answer": "opt2",
"context": "default"
}
}
API Features
Pagination
Rate Limiting
Example Integration
Additional Resources
Modified at 2025-06-26 10:37:46