Loyi API Reference
  1. Schemas
Loyi API Reference
  • Getting Started
  • Architecture
  • User
    • Users Overview
    • Create user
    • Get users
    • Get user
    • Update user
    • Delete user
  • Reward
    • Rewards Overview
    • Create reward
    • Get rewards
    • Delete reward
    • Create entry pass code
    • Get entry pass code
    • Airdrop reward
    • Award reward
    • Redeem rewards
    • Get owners
  • Collection
    • Collection Overview
    • Create collection
    • Get collections
    • Get collection
    • Update collection
    • Delete collection
    • Get rewards
    • Get owners
  • Collectible
    • Claim collectible
    • Get collectibles
  • Quest
    • Quest Overview
    • Create quest
    • Get quests
    • Get quest
    • Update quest
    • Delete quest
    • Get participants
    • Accept quest
    • Submit answers
    • Get answers
    • Progress quest
  • Leaderboard
    • Leaderboard Overview
    • Award leaders
    • Get leaderboard
  • Leveling
    • Leveling Overview
    • Create leveling configuration
    • Get leveling configuration
    • Configure leveling
    • Get milestone levels
    • Create milestone level
    • Get milestone level
    • Update milestone level
    • Delete milestone level
    • Get users
  • Schemas
    • Response
      • Unauthorized
    • Schemas
      • GenericQuestStep
      • GenericQuestBody
      • GenericQuestTemplate
      • GenericQuestStepStatus
      • Collection
      • CreateCollectionBody
      • UpdateCollectionBody
      • ClaimCollectibleBody
      • CollectibleData
      • CollectionGroup
      • CreateCollectionGroupBody
      • CollectionOwner
      • UpdateCollectionGroupBody
      • GetCollectionOwnersResponse
      • NftData
      • CouponLinkUnique
      • CouponLinkGeneric
      • EntryPass
      • Reward
      • CreateCouponLinkUniqueBody
      • CreateCouponLinkGenericBody
      • CreateEntryPassBody
      • EntryPassCode
      • CreateEntryCodeBody
      • UserWithLevelingProgress
      • GetEntryPassCodeResponse
      • RedeemRewardsResponse
      • RewardOwner
      • User
      • MilestoneLevel
      • LevelingConfiguration
      • GetRewardOwnersResponse
      • ConfigureLevelingBody
      • CreateMilestoneLevelBody
      • CreateUserBody
      • UpdateUserBody
      • GetUsersResponse
      • CollectionQuestTemplate
      • QuizQuestion
      • QuestionnaireQuestion
      • QuizAnswer
      • QuizQuestTemplate
      • QuestionnaireQuestTemplate
      • MilestoneLevelUser
      • Quest
      • CollectionQuestBody
      • GetMilestoneLevelUsersResponse
      • QuizQuestBody
      • QuestionnaireQuestBody
      • CreateQuestBody
      • UpdateQuestBody
      • AcceptQuestBody
      • QuestUserMetadata
      • SubmitQuestAnswersBody
      • SubmitQuestAnswersResponse
      • QuestParticipant
      • Leaderboard
      • CollectionType
      • QuestUserStatus
      • QuestType
      • QuestAttachmentType
      • QuizQuestionType
      • LevelingType
      • GetQuestParticipantsResponse
      • GetLeaderboardResponse
      • Pagination
      • Sorting
      • Filters
      • LeaderboardTimerange
  1. Schemas

Filters

Key-value pair with the key being the field name and the value
being the filter value. The value of each property can be an exact string,
number, boolean, or an object specifying a date range using gte (greater
than or equal to) and lte (less than or equal to) timestamps.

{
    "title": "My Title",
    "currentLevel": {
        "lte": 10
    },
    "createdAt": {
        "gte": 1752624000000,
        "lte": 1753350640371
    }
}
Built with