Skip to main content
Glama
conftest.py547 B
"""Fixtures for V2 API tests.""" import pytest from basic_memory.models import Project @pytest.fixture def v2_project_url(test_project: Project) -> str: """Create a URL prefix for v2 project-scoped routes using project ID. This helps tests generate the correct URL for v2 project-scoped routes which use integer project IDs instead of permalinks. """ return f"/v2/projects/{test_project.id}" @pytest.fixture def v2_projects_url() -> str: """Base URL for v2 project management endpoints.""" return "/v2/projects"

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/basicmachines-co/basic-memory'

If you have feedback or need assistance with the MCP directory API, please join our Discord server