Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
b17048c
Docs: Initial improvements to API documentation
dodeja Mar 21, 2025
2cdaad0
Add polling vs webhooks guide and update improvement tracker
dodeja Mar 21, 2025
abb7fdd
Fix MDX parsing errors in documentation files
dodeja Mar 21, 2025
7a9bfdb
Fix Mintlify MDX parsing errors with proper code block formatting
dodeja Mar 21, 2025
e32f23a
Fix remaining CodeGroup issues in polling-vs-webhooks.mdx
dodeja Mar 22, 2025
30bdf19
Update tracker with page change descriptions
dodeja Mar 22, 2025
db8597c
Add comprehensive authentication guide with multi-language examples
dodeja Mar 22, 2025
f963117
Update auth guide: add PHP, fix disable key terminology, remove best …
dodeja Mar 22, 2025
aff2121
Change Authentication Guide to Authentication and add key icon to nav…
dodeja Mar 22, 2025
71f5150
Fix navigation issue: change url to path in docs.json
dodeja Mar 22, 2025
3a22445
Revert to simple navigation format to fix broken navigation
dodeja Mar 22, 2025
1af646c
Add key icon to Authentication page header
dodeja Mar 22, 2025
41d190d
Add comprehensive error handling guide
dodeja Mar 22, 2025
2fcb8a0
Update API Documentation Improvement Tracker with to-do items
dodeja Mar 22, 2025
a0dae07
Improve error handling page with accordion groups for cleaner present…
dodeja Mar 22, 2025
531423d
Add 'Why JSON:API?' section to error handling guide
dodeja Mar 22, 2025
f5d4c7d
Expand client library section in JSON:API documentation
dodeja Mar 22, 2025
a93bff7
Streamline error handling guide by removing JSON:API content and usin…
dodeja Mar 22, 2025
5c9dbeb
Remove accordion from Why JSON:API section for better readability
dodeja Mar 22, 2025
371b91b
Combine client library sections and add puzzle-piece icon
dodeja Mar 22, 2025
4991a45
Add comprehensive workflow documentation and improve quick start guide
dodeja Mar 22, 2025
418254e
Rename API Quick Start Guide to Quickstart
dodeja Mar 22, 2025
f983632
Add documentation navigation structure plan
dodeja Mar 22, 2025
7935c65
Update documentation structure: move API-specific concepts to API Ref…
dodeja Mar 22, 2025
d92a950
Implement three-tab documentation structure with Integration Guide, A…
dodeja Mar 22, 2025
014f167
Reorganize documentation: Create overview page and restructure naviga…
dodeja Mar 22, 2025
665f391
Move overview to Getting Started section and rename to 'Overview'
dodeja Mar 22, 2025
c90638d
Add Data Sources and Embedding sections with overview pages
dodeja Mar 22, 2025
b1ab272
Update overview page with improved headers and terminology
dodeja Mar 22, 2025
fc97ba0
Update Core Capabilities with expanded features
dodeja Mar 22, 2025
3042d04
Set overview page to wide mode
dodeja Mar 22, 2025
652910a
Fix documentation navigation structure
dodeja Mar 22, 2025
4e2a37e
Fix redirects in documentation
dodeja Mar 22, 2025
aa50f50
Remove Reference Data card and revert to centered layout
dodeja Mar 22, 2025
8aa8829
Change Core Capabilities to 2-column layout
dodeja Mar 22, 2025
afbd726
Expand What Can I Use Terminal49 Data For section with visual cards
dodeja Mar 22, 2025
2a5320a
Enhance overview page with rich Mintlify components
dodeja Mar 22, 2025
70f4810
Create improved tracking request API documentation example
dodeja Mar 22, 2025
e50c552
Add tracking-request-example to docs navigation
dodeja Mar 22, 2025
69e7959
Replace tabs with accordions and add detailed example scenarios for t…
dodeja Mar 22, 2025
6cc5049
Create comprehensive tracking guide and update navigation structure
dodeja Mar 22, 2025
015c092
API documentation improvements: restructure guides, add new content, …
dodeja Jul 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions .cursor/rules/core.mdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
description:
globs:
alwaysApply: true
---
# General Principles

### Accuracy and Relevance

- Systematically ensure that all generated responses directly align with user requests.
- Thoroughly understand, gather, or validate relevant context using appropriate built-in tools before responding.

### Validation Over Modification

- Prioritize extensive validation and comprehensive understanding of existing code and its operational context before introducing alterations or creating new artifacts.

### Safety-First Execution

- Perform in-depth analyses of dependencies and interconnected components.
- Achieve comprehensive comprehension of workflows and meticulously evaluate potential risks before implementing modifications.
- Maintain clear and proactive communication regarding identified risks, dependencies, or implications.

### User Intent Comprehension

- Employ analytical methods to explicitly and accurately confirm user intentions.
- Evaluate context and tools rigorously to ensure precise fulfillment of user requirements.
- Continuously validate adherence to user-defined or inferred objectives.

### Mandatory Validation Protocol

- Enforce rigorous validation, verification, and double-checking as fundamental operational practices.
- Prioritize validation to ensure accuracy, prevent errors, and maintain a consistently high standard of quality assurance.

### Reusability Mindset

- Foster a strategic orientation towards reusability in decision-making and operational processes.
- Proactively utilize built-in tools (`codebase_search`, `grep_search`, and the command `tree -L {depth} | cat`) to identify and leverage pre-existing solutions.
- Advocate for reusability to enhance consistency, minimize redundancy, and improve maintainability.

### Contextual Integrity and Documentation

- Do not rely solely on user-generated documentation (e.g., README files, inline documentation) as authoritative sources.
- Use documentation primarily as supplementary context or as a validation and verification resource.

# Tool and Behavioral Guidelines

### Rigorous Path Validation for File Operations

- Conduct repetitive and thorough validation of file paths using commands such as `pwd` and `tree -L {depth} | cat` to ensure correctness.
- Explicitly confirm the working directory and clearly specify the `target_file` attribute as the file path relative to the workspace root for all file edits and creations.
- Evaluate potential reusable resources before initiating file operations.

### Systematic Use of the `tree -L {depth} | cat` Command

- Regularly use the `tree -L {depth} | cat` command for a comprehensive visualization of directory structures.
- Critically analyze the visualized structure to identify existing reusable resources, ensuring accurate and deliberate placement of file operations.

### Mandatory Replacement of `read_file` Tool with Terminal Command

- Never utilize the built-in `read_file` tool under any circumstances.
- Always use the terminal command `cat <file_path>` to read file contents.
- Conduct detailed analyses of file content via the terminal command to determine reusability, dependencies, and logical structures, ensuring thorough context acquisition before making modifications.
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 22.2.0
68 changes: 68 additions & 0 deletions API-Documentation-Improvement-Tracker.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Terminal49 API Documentation Improvement Tracker

## Progress Overview

| Category | Status | Completion % |
|----------|--------|--------------|
| Getting Started | In Progress | 75% |
| In-Depth Guides | In Progress | 60% |
| API Reference Examples | In Progress | 25% |
| Tutorials | Not Started | 0% |
| General Documentation | In Progress | 40% |

## Pages Changed/Added

| Page | Type | Description of Changes |
|------|------|------------------------|
| `docs/api-docs/getting-started/start-here.mdx` | Updated | Improved introduction, clarified setup process, added more context about the API architecture |
| `docs/api-docs/getting-started/capabilities-overview.mdx` | Updated | Enhanced capabilities listing, added examples of what can be accomplished with the API |
| `docs/api-docs/in-depth-guides/json-api-guide.mdx` | New | Created comprehensive guide explaining JSON:API concepts, structure, and how Terminal49 implements the specification |
| `docs/api-docs/in-depth-guides/polling-vs-webhooks.mdx` | New | Added comparison guide detailing the differences, advantages, and use cases for polling vs webhooks |
| `docs/api-docs/in-depth-guides/webhooks.mdx` | New | Created detailed guide for webhook implementation including endpoint setup, registration, testing, and management |
| `docs/api-docs/in-depth-guides/authentication.mdx` | New | Created comprehensive authentication guide with API key management, examples in multiple languages, security best practices |
| `docs/api-docs/api-reference/tracking-requests/create-a-tracking-request.mdx` | Updated | Enhanced documentation with clearer examples, added business use cases, improved response explanations |
| `docs/docs.json` | Updated | Updated navigation structure to include new guides and improve organization |

## Completed Updates

- [x] Improved introduction and setup guidance in `docs/api-docs/getting-started/start-here.mdx`
- [x] Enhanced capabilities overview in `docs/api-docs/getting-started/capabilities-overview.mdx`
- [x] Created JSON:API guide in `docs/api-docs/in-depth-guides/json-api-guide.mdx`
- [x] Updated tracking request documentation in `docs/api-docs/api-reference/tracking-requests/create-a-tracking-request.mdx`
- [x] Created "Polling vs. Webhooks" comparison guide in `docs/api-docs/in-depth-guides/polling-vs-webhooks.mdx`
- [x] Created Webhook implementation guide in `docs/api-docs/in-depth-guides/webhooks.mdx`
- [x] Created Authentication guide in `docs/api-docs/in-depth-guides/authentication.mdx`
- [x] Fixed MDX parsing errors to ensure compatibility with Mintlify

## In Progress

- [ ] Updating webhook API reference documentation
- [ ] Creating Terminal49 data model guide
- [ ] Improving error handling documentation

## Next Steps

1. **Immediate Focus (Next 48 hours):**
- Develop error handling and troubleshooting documentation
- Add examples in multiple programming languages for remaining endpoints

2. **Medium Priority (Next Week):**
- Enhance all endpoint documentation with consistent format and examples
- Create step-by-step tutorials for common use cases
- Add more detailed error code documentation

3. **Future Improvements:**
- Add interactive API explorer
- Create video tutorials for complex integration scenarios
- Develop SDK documentation

## Notes on Implementation

Our approach focuses on:
1. Ensuring consistent format and style across all documentation
2. Adding practical examples that demonstrate real-world usage
3. Improving navigability to help users find relevant information quickly
4. Following JSON:API specification accurately in our examples
5. Providing clear guidance on webhooks vs. polling approaches

All documentation is being developed to align with OpenAPI specifications and Mintlify standards to ensure compatibility with the documentation portal.
Loading
Loading