v1

package
v1.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2019 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package v1 Gitea API.

This documentation describes the Gitea API.

Schemes: http, https
BasePath: /api/v1
Version: 1.1.1
License: MIT http://opensource.org/licenses/MIT

Consumes:
- application/json
- text/plain

Produces:
- application/json
- text/html

Security:
- BasicAuth :
- Token :
- AccessToken :
- AuthorizationHeaderToken :
- SudoParam :
- SudoHeader :

SecurityDefinitions:
BasicAuth:
     type: basic
Token:
     type: apiKey
     name: token
     in: query
AccessToken:
     type: apiKey
     name: access_token
     in: query
AuthorizationHeaderToken:
     type: apiKey
     name: Authorization
     in: header
SudoParam:
     type: apiKey
     name: sudo
     in: query
     description: Sudo API request as the user provided as the key. Admin privileges are required.
SudoHeader:
     type: apiKey
     name: Sudo
     in: header
     description: Sudo API request as the user provided as the key. Admin privileges are required.

swagger:meta

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(m *macaron.Macaron)

RegisterRoutes registers all v1 APIs routes to web application. FIXME: custom form error response

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL