/
/Gogs API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 13h ago · Updated 2mo ago
Administration12
Collaborators and Deploy Keys8
Issues25
Miscellaneous4
Organizations6
Releases1
Repositories23
Users21
  • getSearch for users
  • getGet a single user
  • getGet the authenticated user
  • getList access tokens
  • postCreate an access token
  • getList email addresses
  • postAdd email addresses
  • deleteDelete email addresses
  • getList followers of a user
  • getList your followers
  • getList users followed by a user
  • getList who you are following
  • getCheck if you follow a user
  • putFollow a user
  • deleteUnfollow a user
  • getCheck if a user follows another
  • getList public keys for a user
  • getGet a single public key
  • deleteDelete a public key
  • getList your public keys
  • postCreate a public key
Webhooks4
    Users

    Create a public key

    post/user/keys

    Request body

    titlestring required
    keystring required

    Response

    Created

    idinteger
    keystring
    urlstring
    titlestring
    created_atstring date-time

    Changes