aboutsummaryrefslogtreecommitdiffstats
path: root/git.sr.ht/api.md
diff options
context:
space:
mode:
authorEvan Hanson <evhan@foldling.org>2020-03-17 15:21:20 +1300
committerDrew DeVault <sir@cmpwn.com>2020-03-16 22:32:56 -0400
commit2dcfc41d6b7ee20a34569f989cc89d70ddd11abe (patch)
tree227c22497326f249c3880326d5e8e213a0e29006 /git.sr.ht/api.md
parentc4443cd375ea95479ba969ec8bdd3def1d91a277 (diff)
downloadsr.ht-docs-2dcfc41d6b7ee20a34569f989cc89d70ddd11abe.tar.gz
git.sr.ht: fix POST endpoint for artifacts with username
Diffstat (limited to 'git.sr.ht/api.md')
-rw-r--r--git.sr.ht/api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.sr.ht/api.md b/git.sr.ht/api.md
index 0c16dc1..6513ebb 100644
--- a/git.sr.ht/api.md
+++ b/git.sr.ht/api.md
@@ -223,7 +223,7 @@ List of the latest [commit resources](#commit-resource) on the default branch.
Equivalent to [/api/:username/repos/:name/artifacts/:ref](#POST-apiusernamereposnameartifactsref),
implies the authenticated user.
-### POST /api/repos/:username/repos/:name/artifacts/:ref
+### POST /api/:username/repos/:name/artifacts/:ref
Attaches a file artifact to the specified ref.