mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 06:25:54 +03:00
[PR #497] [MERGED] APIv1: Start working on new REST API. Refactor logic in domains. #619
Labels
No labels
component:backend
component:builds
component:builds
component:extension
component:frontend
component:readability
database
database:mysql
database:postgres
database:sqlite
feature:ebooks
github_actions
good first issue
hacktoberfest
note:duplicate?
note:fixed?
note:out-of-scope?
os:windows
priority:high
priority:low
pull-request
resolution:as-intended
resolution:cant-reproduce
resolution:duplicate
resolution:fixed
resolution:wontfix
tag:TBD
tag:big-task
tag:help-wanted
tag:huge-data
tag:meta
tag:more-info
tag:next
tag:no-stale
tag:requires-migrations
tag:research
tag:security 🛡️
tag:stale
tag:waiting-for-assignee
type:bug
type:documentation
type:enhancement
type:meta
type:ux
user:cli
user:web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shiori#619
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/go-shiori/shiori/pull/497
Author: @fmartingr
Created: 10/9/2022
Status: ✅ Merged
Merged: 7/17/2023
Merged by: @fmartingr
Base:
master← Head:feat/api-next📝 Commits (10+)
c002f06added 404 template92c24a2added auth domain5ce8603added embed file for frontend13ecc16added base config and dependencies09d9a48added basic new http serverbf10fa7added separated server commandc97d620updated go modulesf9bf322removed modd file29d0de4Added shortcut to send internal server error response0fab419Added JWT support to Auth Domain📊 Changes
117 files changed (+28180 additions, -75 deletions)
View changed files
📝
.github/workflows/_test.yml(+9 -2)➕
.golangci.yml(+31 -0)📝
.goreleaser.yaml(+1 -0)➕
Makefile(+66 -0)➕
coverage.txt(+827 -0)📝
docs/API.md(+2 -0)➕
docs/APIv1.md(+18 -0)📝
docs/Contribute.md(+47 -2)📝
docs/Usage.md(+2 -0)➕
docs/docs.go(+221 -0)📝
docs/index.md(+5 -1)➕
docs/swagger.json(+191 -0)➕
docs/swagger.yaml(+121 -0)📝
go.mod(+46 -8)📝
go.sum(+168 -14)📝
internal/assets.go(+1 -1)📝
internal/cmd/root.go(+8 -3)➕
internal/cmd/server.go(+85 -0)➕
internal/cmd/version.go(+23 -0)➕
internal/config/config.go(+98 -0)...and 80 more files
📄 Description
Meta: #640
Added a proof of concept (extending the idea from #467) with a new API server built on gin.
servercommand to launch the new HTTP serverMakefilewith a bunch of QoL commands for contributing, along with some contributing documentation.Status
UI Routes
GETGETGETGETGET/*files*API routes
GETPOSTPUT/PATCHDELETEGETPOSTPUT/PATCHDELETEGETPOSTPOSTGETPOSTPUT/PATCHPUTDatabase
CreateTagsDiscussion here: https://github.com/go-shiori/shiori/discussions/462
Fixes: #571 #184 #463
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.