Skip to content

Commit

Permalink
_settings
Browse files Browse the repository at this point in the history
  • Loading branch information
rucsi committed Mar 7, 2024
1 parent 5a15775 commit 26a27fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ func Routes() chi.Router {
r.Put("/cms/{owner}/{repo}/{ref}/collections/{collection}/{entry}", putEntry)
r.Delete("/cms/{owner}/{repo}/{ref}/collections/{collection}/{entry}", delEntry)

r.Post("/cms/{owner}/{repo}/{ref}/images", postImage)
r.Post("/cms/{owner}/{repo}/{ref}/_images", postImage)

r.Get("/cms/{owner}/{repo}/{ref}/settings", getSettings)
r.Get("/cms/{owner}/{repo}/{ref}/settings/{setting}", getSetting)
r.Get("/cms/{owner}/{repo}/{ref}/_settings", getSettings)
r.Get("/cms/{owner}/{repo}/{ref}/_settings/{setting}", getSetting)

r.Get("/cms/{owner}/{repo}/{ref}/reference/{collection}/{id}/{locale}", getReference)

Expand Down

0 comments on commit 26a27fb

Please sign in to comment.