Saltar al contenido principal
GET
/
context
/
region
/
{game_id}
/
{world_id}
/
{region_id}
Obtener detalles de la región
curl --request GET \
  --url https://app.npcbuilder.com/api/context/region/{game_id}/{world_id}/{region_id} \
  --header 'Authorization: Bearer <token>'
{
  "region_id": "region789",
  "region": {
    "id": "region789",
    "name": "Bosque Místico",
    "lore": "Un bosque denso con secretos ocultos.",
    "weather": "Lluvioso",
    "culture": "Tradiciones druídicas",
    "politicalStability": "stable",
    "locations": [
      {
        "id": "location789",
        "name": "Rivertown",
        "role": "Centro de comercio",
        "characters": [
          {
            "id": "character789",
            "name": "Aragorn",
            "role": "protagonist"
          }
        ]
      }
    ],
    "characters": [
      {
        "id": "character789",
        "name": "Aragorn",
        "role": "protagonist"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.npcbuilder.com/llms.txt

Use this file to discover all available pages before exploring further.

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parámetros de ruta

game_id
string
requerido

El identificador único del juego.

Ejemplo:

"game123"

world_id
string
requerido

El identificador único del mundo.

Ejemplo:

"world456"

region_id
string
requerido

El identificador único de la región.

Ejemplo:

"region789"

Parámetros de consulta

session_id
string

(Opcional) El ID de sesión del jugador.

Ejemplo:

"60Z5aZjIuFlyYbjbZZKe"

Respuesta

Región recuperada correctamente.

region_id
string

UID de la región.

Ejemplo:

"region789"

region
object