Jena Project
  • Welcome
  • Changelogs
    • Discord (Jena)
    • Discord (JenTunes)
    • Roblox
  • 2️⃣[V2] Discord
    • Commands
      • Animals
      • Information
    • Welcome to Jena API
      • Authorization
      • Fetch Guide
      • Post Guide
        • Level System
        • Connect4
        • Tic-Tac-Toe
  • 💬[V1] Discord
    • Animals
    • Configuration
    • Economy
    • Fun
    • Info
    • Minigames
    • Moderation
    • Music
    • Utilities
    • Verification
    • Message Apps
      • Translate
  • 🕹️Roblox Games
    • Avatar Paradise
    • Game Hub
Powered by GitBook
On this page
  • GET /ping
  • GET /uptime
  • GET /info/commands
  1. [V2] Discord
  2. Welcome to Jena API

Fetch Guide

Guide to fetching information from Jena!

GET /ping

This will return your connection latency to our API. This result is measured in milliseconds and is almost always in the double digits.

CODE 200 (INT / MILLISECONDS)

{"status":"success","result":1}

CODE 203 (STRING)

{"status":"success","result":"Coming soon!"}

GET /uptime

Jena's uptime has been returned! This value is recorded in milliseconds and is mainly used for our dashboard, but there is no harm in making it public :)

CODE 200 (INT / MILLISECONDS)

{"status":"success","result":1}

GET /info/commands

This is a treasure map for developers tinkering with Jena's features through our API, especially on Discord. It's like a behind-the-scenes peek that spills the beans on all the categories and specific commands Jena replies to. So, if you're the type looking to make Jena do your bidding, this is where you find all the secret handshakes to make the magic happen!

CODE 200 (OBJECT)

{"status":"success","result": {
    categories: ["Category1", ...],
    commands: [
        {
            name: "command1",
            description: "It does stuff",
            category: "category1",
            options: [ "option1", ...]
        },
        // ...etc
    ]
})

Code 400 (STRING)

{"status":"fatal","error": "Jena has not been properly initialized, I have anonymously logged an error to our team."}
PreviousAuthorizationNextPost Guide

Last updated 1 year ago

2️⃣