Skip to content

[WIP] Documentation for Schedule API based on CRUD. #729

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

karimkodera
Copy link

This documentation is based on code in PR to be assign. The docs suggests a structure for a schedule entity and recur confirm. It also provides create, get, update and delete functions. 2 unrelated functions have been added to get server version to get the ID of schedules, categories, payees or accounts by name.

@actual-github-bot actual-github-bot bot changed the title Documentation for Schedule API based on CRUD. [WIP] Documentation for Schedule API based on CRUD. Jun 22, 2025
Copy link

netlify bot commented Jun 22, 2025

Deploy Preview for actualbudget-website ready!

Name Link
🔨 Latest commit 1151802
🔍 Latest deploy log https://app.netlify.com/projects/actualbudget-website/deploys/68585cf4902974000872addd
😎 Deploy Preview https://deploy-preview-729.www.actualbudget.org
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@@ -82,7 +91,8 @@
"loadBudget",
"downloadBudget",
"batchBudgetUpdates",
"runQuery"
"runQuery",
"getIDByName"

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error documentation

IDBy is not a recognized word. (unrecognized-spelling)
@@ -617,3 +662,15 @@
<Method name="runQuery" args={[{ properties: [{ name: 'query', type: 'ActualQL' }] }]} returns="Promise<unknown>" />

Allows running any arbitrary ActualQL query on the open budget.

#### `getIDByName`

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error documentation

IDBy is not a recognized word. (unrecognized-spelling)

#### `getIDByName`

<Method name="getIDByName" args={[{ properties: [{ name: 'type', type: 'string' }, { name: 'string', type: 'string'}] }]} returns="Promise<string>" />

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error documentation

IDBy is not a recognized word. (unrecognized-spelling)
type: 'string',
description: (
<span>
All schedules have an associated underlying rule. Not to be supplied with a new schedule. It will be autocreated. Rules can not updated to another rule. You can however edit the rule with the API above for Rule.

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error documentation

autocreated is not a recognized word. (unrecognized-spelling)
type: 'number | { num1: number; num2: number }',
description: (
<span>
Provide only one number, except if the amount uses a isbetween in amountOp, in this case num1 and 2 should be provided.

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error documentation

isbetween is not a recognized word. (unrecognized-spelling)
},
{
name: 'amountOp',
type: "'is' | 'isapprox' | 'isbetween'",

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error documentation

isapprox is not a recognized word. (unrecognized-spelling)
},
{
name: 'amountOp',
type: "'is' | 'isapprox' | 'isbetween'",

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error documentation

isbetween is not a recognized word. (unrecognized-spelling)
required: true,
description: (
<span>
Mandatory field when creating a schedule. If the schedule is a single occurence just supply the date. otherwise refer to RecurConfig details below.

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error documentation

occurence is not a recognized word. (unrecognized-spelling)
Copy link

@check-spelling-bot Report

🔴 Please review

See the 📂 files view, the 📜action log, or 📝 job summary for details.

Unrecognized words (5)

autocreated
IDBy
isapprox
isbetween
occurence

To accept these unrecognized words as correct, you could run the following commands

... in a clone of the [email protected]:karimkodera/docs.git repository
on the master branch (ℹ️ how do I use this?):

curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/main/apply.pl' |
perl - 'https://github.com/actualbudget/docs/actions/runs/15810170424/attempts/1' &&
git commit -m 'Update check-spelling metadata'
If the flagged items are 🤯 false positives

If items relate to a ...

  • binary file (or some other file you wouldn't want to check at all).

    Please add a file path to the excludes.txt file matching the containing file.

    File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.

    ^ refers to the file's path from the root of the repository, so ^README\.md$ would exclude README.md (on whichever branch you're using).

  • well-formed pattern.

    If you can write a pattern that would match it,
    try adding it to the patterns.txt file.

    Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.

    Note that patterns can't match multiline strings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant