eolas-api/README.md

31 lines
1.2 KiB
Markdown
Raw Normal View History

2025-08-03 17:37:34 +01:00
TBC
2025-07-14 17:16:14 +01:00
| HTTP Method | Path | Parameter | Returns |
| ----------- | --------------- | ------------- | -------------------------------- |
| GET | `entry` | `entry_title` | Body text, tags, title |
| GET | `tag` | `tag_name` | List of entries for supplied tag |
| GET | `refs` | `entry_title` | List of linked entries |
| GET | `full_metadata` | `entry_title` | Tags, links, last modified |
| GET | `graph` | `null` | Full network graph |
## Deployment
Deployment is automated via Forgejo action (see `.forgejo/workflows/deploy.yml`).
On pushes to `main`:
- Automatically bump version in accordance with Semver:
- Major: `major: <commit description>`,
- Minor: `feat: <commit description>`,
- Patch: `fix: <commit description>`
- Ignored keywords: `chore`, `test`, `refactor`, and anything else
2025-10-09 18:53:31 +01:00
- This bumps the version in `package.json` and creates Git tag at this version.
- SSH to VPS using `deploy` user and :
2025-10-09 18:53:31 +01:00
- Purge existing source files at `var/www/eolas-api`,
- Copy over new source files
- TODO: restart Node server