mirror of https://github.com/gogs/gogs.git
Arguments: SHA1 of token. This allows useful workflows like applications which can build and then delete a token for its exclusive use during a session. Requires that a PR to go-gogs-client merges first. Currently you can test that it works by cloning my branch of go-gogs-client, or picking the following commit: https://github.com/teodesian/go-gogs-client/ commit/4488fbb10902b695e7df8c76fa5d6edf5394e0eb and running: go mod init && go mod tidy and finally going back in to this repo to do: go mod edit -replace=github.com/gogs/go-gogs-client=$CLONEDIR go mod tidy go build -o gogs I have tested this endpoint on a local install and verified it works. Beyond that, no automated tests have been added. |
||
---|---|---|
.. | ||
admin | ||
convert | ||
misc | ||
org | ||
repo | ||
user | ||
api.go |