Skip to content

docs(api): regenerate the API reference for Leantime 3.17.0 - #120

Open
gloriafolaron wants to merge 2 commits into
masterfrom
docs/api-reference-3-16
Open

gloriafolaron wants to merge 2 commits into
masterfrom
docs/api-reference-3-16

Conversation

@gloriafolaron

Copy link
Copy Markdown
Contributor

Regenerates the API reference for Leantime 3.16.0 the same way as #105:

  1. docker run phpdoc/phpdoc:3 --config=phpdoc-api.xml on the v3.16.0 tree, with the template's long class and method descriptions left out;
  2. gen-api-ref.py post-processing: it drops services without @api methods, removes security-fix wording (and asserts none is left), escapes | in table types, and adds the Limit: notes.

What changed

  • New leantime.rpc.Oauth → ConnectedApps (#4092): getConnectedApps and disconnectApp, the apps a user connected through OAuth.
  • Projects: a new removeUserFromProject.
  • ReportEngine: the code is unchanged since 3.15.3, so the period parameter still can't be sent as JSON. The Limit: note now says "Leantime 3.15 and 3.16".
  • The README lists the new Oauth namespace, and its generated date is updated.

25 services without callable methods are left out, as before.

Checks

On the #63 build, together with the 3.16 docs PR:

  • all links resolve, and check:seo passes;
  • the ConnectedApps page has no axe violations at 390 and 1280 px.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FGYRyhyPHQyrtvsu5aawzi

…dApps, removeUserFromProject)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FGYRyhyPHQyrtvsu5aawzi

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The API examples contain bare type names and trailing commas instead of valid JSON values, causing copied requests to fail parsing and requiring corrections to the request and response examples.

1 open issue
What changed in this PR

Updates the generated JSON-RPC API reference for Leantime 3.16.0, documenting newly exposed methods and existing API limitations.

Changes:

  • Adds the OAuth ConnectedApps service with getConnectedApps and disconnectApp.
  • Documents Projects.removeUserFromProject.
  • Extends ReportEngine limitation notes to cover 3.16 and refreshes the service index and generation date.
File Description
api/​README.md Adds the Oauth namespace and updates the generation date.
api/​classes/​Leantime/​Domain/​Reports/​Services/​ReportEngine.md Extends four period parameter limitation notes to 3.16.
api/​classes/​Leantime/​Domain/​Projects/​Services/​Projects.md Adds the removeUserFromProject method reference.
api/​classes/​Leantime/​Domain/​Oauth/​Services/​ConnectedApps.md Adds references for listing and disconnecting OAuth apps.

Review effort: Balanced

"jsonrpc": "2.0",
"id": 1,
"params": {
"clientId": string,
…s, Tickets OneThing, Planning, Suggestions)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FGYRyhyPHQyrtvsu5aawzi
@gloriafolaron gloriafolaron changed the title docs(api): regenerate the API reference for Leantime 3.16.0 docs(api): regenerate the API reference for Leantime 3.17.0 Nov 23, 2026
@gloriafolaron

Copy link
Copy Markdown
Contributor Author

Regenerated from v3.17.0 (a114fef), with the same template and post-processing as before:

  • New leantime.rpc.Reminders: getSummary, getSettings, saveSettings, getTaskReminders, chooseTaskReminder, setTaskPreset.
  • New Tickets services:
    • OneThing: getOneThing, setOneThing, clearOneThing, getOneThings;
    • Planning: planTaskForDay, clearTaskPlan, getTaskPlan;
    • Suggestions: getTasksToConsider, getQuickWins.
  • Calendar: getShowPlannedDays and saveShowPlannedDays.
  • ReportEngine: app/Domain/Api and ReportEngine are unchanged since 3.16, so the period Limit: note now reads "Leantime 3.15 to 3.17".

The 3.16 additions (ConnectedApps, removeUserFromProject) are still in. 31 services without callable methods are left out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants